Jumping

Blitz3D Forums/Blitz3D Beginners Area/Jumping

wizzlefish(Posted 2004) [#1]
How would you make a function that would make the camera "jump"?


clownhunter(Posted 2004) [#2]
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


wizzlefish(Posted 2004) [#3]
thanks :)


clownhunter(Posted 2004) [#4]
Did it work?