Make player jump?


#1

Does anyone know how to make the entity(player) jump Im just trying to make the entity jump when an key is pressed


#2

You can use this example. When you press the up key, the entity jumps using the applyImpulse() property. If you are not using RigidBody component, then you can use the property translate() or translateLocal() for the entity. In both cases, the vector should be directed along the Y axis.


#3

ooo thn xI will hopefully try to implement that today