Opened 3 years ago

Last modified 2 years ago

#5964 new defect

Projectile collision detection does not take height into account

Reported by: wraitii Owned by:
Priority: Should Have Milestone: Backlog
Component: Core engine Keywords:
Cc: Patch:

Description

The projectile code does not actually care about height. PositionHelper.prototype.TestCollision does not compute the Y difference and doesn't care about the vertical footprint of the target.

Likewise, the aiming code in Attack.js just fires at the feet of the target.

Finally, ProjectileManager doesn't actually stick projectiles in the ground until _after_ they're supposed to have it, so projectiles are free to travel underground and hit anyways, and will "teleport" above if they fail to hit in those cases.

Change History (2)

comment:1 by wraitii, 3 years ago

Milestone: Alpha 25Alpha 26

comment:2 by Freagarach, 2 years ago

Milestone: Alpha 26Backlog
Note: See TracTickets for help on using tickets.