Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

10 years ago by Oliver

Im trying to use inclined entities with .currentAnim.angle and the .touches() function, but it seems that the "inclined" entity is not really inclined, only its animation (basically becouse .currentAnim.angle only inclines the animation, not the entity). My question is: is there a way to incline a entity?
The plan is that when a entity touches any part of another entity (inclined) it does something.

10 years ago by Joncom

You guessed it, currentAnim.angle only rotates the animation.
You can rotate entity hit boxes too, but not with the default physics engine.
Try upgrading to Box2D for that.

10 years ago by Oliver

Yea i was trying to avoid it, its hard to understand and there is not mutch documentation here to start learning. Is it really no other way? :(

10 years ago by Joncom

Here, try this: https://github.com/Joncom/impact-box2d-sugar
In my opinion, it's not much more difficult than vanilla Impact.
Page 1 of 1
« first « previous next › last »