Search found 2 matches

by roschan
Mon May 30, 2016 12:00 pm
Forum: Support and Development
Topic: How does linear velocity work ?
Replies: 3
Views: 1750

Re: How does linear velocity work ?

Ok my bad. As i guessed, it was a very very stupid error : I didn't notice I was supposed to use quotes in the declaration of the new body...
Now it works for me to, thank ^^
by roschan
Sun May 29, 2016 11:19 pm
Forum: Support and Development
Topic: How does linear velocity work ?
Replies: 3
Views: 1750

How does linear velocity work ?

Hello, i'm trying to use this https://love2d.org/wiki/Body:setLinearVelocity and this https://love2d.org/wiki/Body:getLinearVelocity but i don't understand how they work. The "getLinearVelocity" function always returns me zeros. For example, this love.update function : function love.update...