Posted By: Doc_Savage
simple jump code needs some tweaking... - 04/11/11 07:25
ok ive learned enough to make my own jump code. but it has a bit of a problem. i can hold the button down and you will bounce up and down until you release the button, at which time youl fall very fast to the ground. and if you jump onto say, a box, it will kinda "reset" your height as if you jumped ON the box before falling back to the ground. (i hope that makes sense :p) id love to get help on these problems.
anyways heres the code i made
i know its not much but it kinda does the job
i hope you guys can help
anyways heres the code i made
Code:
if(key_space) { dist.z = 5; wait(-0.66); dist.z = 0; }
i know its not much but it kinda does the job
i hope you guys can help