Hi,
I have a physics "PH_SPHERE" entity "player_ball" of which x, y, z speeds are set via key pressed within while loop. What is the best option to make it "jump".
I tried changing player_ball.z and c_move, no results. BTW the "ph_setgravity" is set to -386 on z axis.
However, using the following gets the job done, but with time_step it jumps different heights on different max fps.
phent_addvelcentral (player_ball, vector(0, 0, 100));
Ans for my doubt, is there a "best practice on jumping"? Any suggestions?