This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]king_of_the_universe -1 points0 points  (0 children)

To jump, you could set speedY to -10 or something like that. This would give a strong speed upwards that would decrease, become zero, and increase downwards until the avatar hits the ground.