Page 1 of 1

Making the character jump in physics

Posted: Sat Jan 26, 2013 5:21 pm
by plz_m0ve
Hi!

how do i make my character jump or atleast learn to do it? The love physics tutorial diden't show it :S
Anyone knows?

Re: Making the character jump in physics

Posted: Sat Jan 26, 2013 7:26 pm
by Saegor
you can apply a linear impulse in Y axis

like

Code: Select all

character.body:applyLinearImpulse( 0, -400 )