- Home /
Spawn a platform that I know a player can jump to
Background: I have a 2D game that is very simple. A box jumps on a vertically moving platform. As the player lands on the first platform another will spawn ahead a little higher, and with a slight X variation. The goal is to the get the highest score by continuining jumping and spawning new platforms without falling off.
Question: How do I quality check to ensure that the distance in X and Y is achievable given the players mass, gravity, and the momentum (e.g. when the player jumps off of the moving platform that may be going up or down may have + or - velocity)? Thank you.
Your answer
![](https://koobas.hobune.stream/wayback/20220613013534im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Velocity in Unity2D 2 Answers
Rigidbody Velocity Cap 0 Answers
Make something arrive at position in exactly X seconds? 2 Answers
Getting UI into the right position after releasing drag 1 Answer
Input.GetAxisRaw isnt being called? 1 Answer