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

6 years ago by Ash_Blue

Does anybody know of a simple equations with ImpactJS's physics system to pre-calculate the line of a jump? Needs to be able to plot out a player (possibly in motion) from the beginning to end point.

6 years ago by lazer

One way to do it might be to have an invisible entity that behaves exactly as the player does. It can "jump" before the player does and then you can get the distance and angle from one to the other.

6 years ago by Ash_Blue

Seems a bit expensive, there must be an equation that you can use to derive the jump line from the player's current acceleration, start point, and end point. Just having a bit of trouble getting the equation to work properly.
Page 1 of 1
« first « previous next › last »