- Home /
Jump off the edge of the object
Working on runner. Character stands in place and just jumping.
Character jumping:
if (jump) {
dir.y = jumpSpeed;
}
dir.y -= gravity;
rigidbody.AddForce (dir * speed);
Main problem is jump height on the edge of the object. It's lower than normal jump.
How can I solve this?
Comment
Your answer
Follow this Question
Related Questions
Rigidbody AddForce Up - different value. 1 Answer
AddForce Jump Problem 3 Answers
jump on collision weird behaviour 2 Answers
Making a player jump, getting random results 2 Answers
What's wrong with this script? 4 Answers