C
C
civilactive2018-03-10 16:22:59
2D
civilactive, 2018-03-10 16:22:59

How to calculate jump path in Unity2D?

It is necessary to calculate the trajectory of the character's movement after the jump, in order to spawn the platform at the end of his movement, I can't even imagine how to do it.
The strength of the jump, for example, will always be constant, but the speed of the object is constantly increasing, and the height from which the object will jump is random (say, these will be randomly generated springboards), and now we need to calculate the trajectory of the jump.
Using the poke method to make a fixed distance is not an option, since the height of the springboard is random and the speed is constantly increasing.
And how to calculate the jump force if we use RigiBody2D? Or maybe it's better to calculate this matter, and move the object through transform, and to calculate the trajectory, use the classic formulas for the trajectory of a body thrown at an angle to the horizon?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Gaydak, 2018-03-10
@civilactive

https://blog.forrestthewoods.com/solving-ballistic...
already threw it off to someone ..
and yes .. calculate the trajectory for you using formulas .. and display it separately

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question