Jumping in 3D
-
I have set up a 3D split screen environment where two players can walk around with their first person cameras. I am having trouble getting them to jump. I tried applying some of the stuff from the 2d game tutorial, but it doesn't seem to work.
-
Did you manage to get it working?
-
Yeah. A couple days ago in fact. This stuff just doesn't come naturally to me and I have to come back to it later. This is how I did it:
-
This is how I did it:
if c.a and jumptimer<12 then jumptimer+=1 camPos1.y+=10/jumptimer endif if camPos.y>=5 then camPos1.y-=0.75 else jumptimer=0 endif
-
Well done :)