Skip to content

Hitboxes for buildings are spheres, allowing the building to take damage without being hit #2036

@DrGoldFish1

Description

@DrGoldFish1

In airgames people forcefire the ground very far away from the airfield with KingRaptors to take down an enemy airfield without actually hitting the airfield to avoid PDL.
With some research and some help from caball we found out that the original game devs were very lazy in making the hitbox calculations. All hitboxes in the game are spheres even the hitboxes for buildings.

The hitboxes for buildings need to be rectangles so projectiles that don't actually hit the building don't do any damage.
This will require code changes.

You can find the calculations being done in Geometry.h

Here is me firing on the ground next to the building so you can see the hitbox of the building.
Image

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    ControversialIs controversialDesignIs a matter of game designGenRelates to GeneralsMinorSeverity: Minor < Major < Critical < BlockerZHRelates to Zero Hour

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions