Amethyst Core

Amethyst Core

2M Downloads

Missile Entity doesn't collide with blocks

fzzyhmstrs opened this issue ยท 1 comments

commented

Need to override onBlockHit or onCollision to discard the entity when it collides with a block. Also gives an opportunity to give a hook for "exploding" etc. on hit.

Also may want to explore taking the collision check out of the MissileEntity tick. The super.tick already checks this, and I don't see any added functionality provided by my version.

can use getDrag instead of the typed 0.99999f

remove useless h val

commented

changes made and pushed for testing