Jumping

Blitz3D Forums/Blitz3D Beginners Area/Jumping

How would you make a function that would make the camera "jump"?

I did it some crappy way with:

If KeyHit(29) And EntityY(camera_pivot) = 10
jump = 5
EndIf

If jump > -6
MoveEntity camera_pivot,0,jump,0
jump = jump - 1
EndIf

thanks :)

Did it work?