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

1 decade ago by Bradley

I'm learning impactjs for client demands. One of the first things I'll be learning is how to make an entity climb walls. Any thoughts on how this could be accomplished? Am I up against something particularly tricky there?

1 decade ago by dominic

This really depends on how you want to implement it. Is it for the Player or some Enemy AI?

The Entity's handleMovemenTrace() method should be a good starting point. Also, you may want to disable gravity for that entity while it sticks to a wall; have a look at gravityFactor. Hope that helps a bit.
Page 1 of 1
« first « previous next › last »