Change the floor's friction

Typically: "How do I... ", "How can I... " questions
Post Reply
nbh
Posts: 2
Joined: 21 Jun 2018, 18:54

Change the floor's friction

Post by nbh »

Hello.
How do I change the floor's value for friction? I want to make it really high so when a ball hits the floor it doesn't roll at all.

Thanks

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Change the floor's friction

Post by coppelia »

Hello,

this is not the friction. If the floor's friction was infinite, then your ball would be perfectly rolling (and not slipping). If you don't want your ball to roll, or only very slowly/in a difficult way, you can increase its inertia for instance. Or change its material properties (this will depend on the physics engine you use). For instance, you can modify the linear/angular damping for the ball.

Cheers

Post Reply