[Resolved] Physics friction question

Hello

I am working on a game where a ball will roll on the ground, very simple. (Ball and ground are physics objects)
Thing is that neither the friction parameter of my ball or my ground has any effect on how the ball rolls
on it.

So I want to detect collision with the ground instead, so I can apply a LinearDamping only when the ball is on the ground. Turned out that collision is not detected when the ball is rolling on the ground, only when it bumps into the ground with force, like bouncing or falling on the ground.

That has left me wondering, how do I make my ball slow down when rolling on a ground? [import]uid: 144393 topic_id: 33618 reply_id: 333618[/import]

Problem solved. Turned out that the Precollision event is still happening even though collision only goes to sleep when an object is on another like that. [import]uid: 144393 topic_id: 33618 reply_id: 133658[/import]

Problem solved. Turned out that the Precollision event is still happening even though collision only goes to sleep when an object is on another like that. [import]uid: 144393 topic_id: 33618 reply_id: 133658[/import]

Hi pontus.

I am having that same problem. It is strange to see that friction does not make any impact.

Did you solve it applying the LinearDamping in the collision event?

Renato

Renato
Red Beach Games
Try our new game Puzzle You for free here!
[import]uid: 181011 topic_id: 33618 reply_id: 141727[/import]

Just to register here for future viewers,

the following post has a solution for that problem:

https://developer.coronalabs.com/forum/2012/04/01/ball-doesnt-stop-rolling
Renato
Red Beach Games
Try our new game Puzzle You for free here!
[import]uid: 181011 topic_id: 33618 reply_id: 141731[/import]

Hi pontus.

I am having that same problem. It is strange to see that friction does not make any impact.

Did you solve it applying the LinearDamping in the collision event?

Renato

Renato
Red Beach Games
Try our new game Puzzle You for free here!
[import]uid: 181011 topic_id: 33618 reply_id: 141727[/import]

Just to register here for future viewers,

the following post has a solution for that problem:

https://developer.coronalabs.com/forum/2012/04/01/ball-doesnt-stop-rolling
Renato
Red Beach Games
Try our new game Puzzle You for free here!
[import]uid: 181011 topic_id: 33618 reply_id: 141731[/import]