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()?
Search found 3 matches
- Thu Oct 10, 2019 5:24 pm
- Forum: General
- Topic: Decrease velocity
- Replies: 5
- Views: 5661
- 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 but it didn't slow the ball down.
i tried to do
Code: Select all
ball.fixture:setFriction(10)
- 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?