collinhover / impactplusplus

Impact++ is a collection of additions to ImpactJS with full featured physics, dynamic lighting, UI, abilities, and more.
http://collinhover.github.com/impactplusplus
MIT License
276 stars 59 forks source link

handleMovementTrace on slopes? #93

Closed arakash92 closed 10 years ago

arakash92 commented 10 years ago

It seems that when my projectile hits slopes, the handleMovementTrace isn't called?

collinhover commented 10 years ago

handleMovementTrace is always called on dynamic entities, whether they are hitting the map or not. I'm not sure I understand your question, do you mean something else is not being called?

arakash92 commented 10 years ago

Projectiles don't seem to collide/die when hitting slopes. They slide along slopes.

collinhover commented 10 years ago

Can't reproduce this with any slope on my end. You're setting the collisionSticky and/or collisionKills right? Can you post your projectile code?

arakash92 commented 10 years ago

I don't remember how, but I sorted it. I believe it was an issue on my end.