Need help with jump cooldown
Posted: Wed Jan 02, 2013 4:41 pm
Hi everyone,
I'm trying to make my first game, it's now just a block moving right, left and up using physics and :applyForce(), but I want my lil' cube to jump only when he is on something. So is there a way for me to get the vertical velocity and the vertical velocity only?
Thanks in advance,
-Echamiq
I'm trying to make my first game, it's now just a block moving right, left and up using physics and :applyForce(), but I want my lil' cube to jump only when he is on something. So is there a way for me to get the vertical velocity and the vertical velocity only?
Thanks in advance,
-Echamiq