I need a jump script that i can understand, this is like the outline of my movement scripts, and i want a jump one to look similar.
if(this.app.keyboard.isPressed(pc.KEY_W)){
this.entity.rigidbody.applyForce(
10,
0,
0
);
}