- Home /
desperate and tormented problem with jumping and collision
The problem I encountered is likely to destroy the game that I'm happily building for days: my game is a 2d runner, it happens that the character rises above the curved pieces, these pieces can be lined up to form a single large curved piece, my biggest problem is that if you try to jump while you are in a cavity between the two pieces (where the curved piece is repeated) the jump is canceled: The asset in question is this: https://www.dropbox.com/s/txz5xmumif5f4tk/Screenshot%202014-07-11%2023.46.22.png?m=
To jump use the rigidbody: rigidbody.AddRelativeForce (Vector3 (0, 400, 0));
It sounds stupid but I'm desperate and I have no idea how to fix it, maybe i can think a different way to jump? anyway i need rigidbody in order to check collision with others object
I'm getting the image that when the 2 pieces are aligned to create a bigger curved piece, the player is in between them ("where the curved piece is repeated"). Am I right in understanding? I don't understand where the player is in the situation (sorry for my awful visualization).
You got it, where the player is in the middle of two curved pieces and try to jump it doesn't jump for dont-know-why reason
Could it have something to do with how your checking the option to jump rather than the physics? Have you made sure the force is being applied?
The force is applied, i can say this because the character jump in the other cases
Your answer
Follow this Question
Related Questions
Keep Horizontal Momentum after Jump 2 Answers
how the ball bounces of equal in angles? 1 Answer
Sphere get stuck in floor and fails to jump? 1 Answer
Ball jump on collision problem 1 Answer
Ball bounce problem 1 Answer