Search found 3 matches

by TheSoftWaffle
Thu Oct 10, 2019 5:24 pm
Forum: General
Topic: Decrease velocity
Replies: 5
Views: 5661

Re: Decrease velocity

Thanks, will check out
It does that with the y coords too.
Can i do that with only x?
Btw i am new to lua, how can i only get the y value from getLinearVelocity()?
by TheSoftWaffle
Wed Oct 09, 2019 4:54 pm
Forum: General
Topic: Decrease velocity
Replies: 5
Views: 5661

Re: Decrease velocity

Do bodies have xVel?

i tried to do

Code: Select all

ball.fixture:setFriction(10)
but it didn't slow the ball down.
by TheSoftWaffle
Tue Oct 08, 2019 7:25 pm
Forum: General
Topic: Decrease velocity
Replies: 5
Views: 5661

Decrease velocity

Is there a built-in thing that gradually slows down the object, its linear velocity?