x


Why Physics Material Max Friction is not really Max?

Hello,

i'm applying an 1.0 (max) static/dynamic friction material to a rigidbody and 1.0 friction material to a plane surface but rigidbody slips over the plane, if plane has 30+ angle.

(Changing rigidbody mass does not effect friction too much, and increasing drag attempt change the falling speed of the object so it is useless. I also tried to achive it by changing Physics.SleepVelocity but rigidbody start acting even more wierdly...)

Is there any way to create more friction between two surfaces? Why the max friction is not causing a TOTAL STICKINESS?

more ▼

asked Oct 06 '12 at 12:19 AM

NowhereStudios gravatar image

NowhereStudios
36 1 2 3

Any answer?

Oct 08 '12 at 04:56 AM NowhereStudios

Hi! There is also a frictioncombine setting, and even a secondary friction setting that you can play with for the material.

Oct 08 '12 at 07:27 AM svenskefan

frictioncombine setting with max even not been useful. But changing Center of Mass, effects very well but it effects many other things also...

Oct 12 '12 at 03:08 AM NowhereStudios
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

I also tried to experiment with the friction settings for some time. Even I was also unable to get complete stickiness.

However, I tried a simple hack that seems to work for me:

Simply set the rigidbody.velocity property to (0.0f,0.0f,0.0f) in the OnCollisionEnter() function. You can also check if your rigidbody is in contact with the right collider by accessing the collision.collider.gameObject property.

Finally, you may also want to force the Rigid Body to sleep by using the rigidbody.Sleep() function.

more ▼

answered Nov 27 '12 at 02:14 AM

harrypotter4 gravatar image

harrypotter4
1 1

(comments are locked)
10|3000 characters needed characters left

With many tests, i have figured friction is total max when applying force and reaction force perpendicular to each other, but on my case, (my case is a sliding terrain and a rigidbody capsule collider with gravity enabled) applying force's ending point is not equal to the the reaction contact point so applying force distributes to different axis directions and causes sliding.

Also i discovered that a surfaceless friction attempt with only one contact point ( a pen touching to a paper forexample, or a capsule/sphere collider ) always slides.

So i have forced to discover a new character collider shape that react terrain accurately. I hope my new shape will work...

more ▼

answered Oct 12 '12 at 03:15 AM

NowhereStudios gravatar image

NowhereStudios
36 1 2 3

I'm in the same boat needing extra friction and i think if found a solution for my problem. While friction is limited to 1 drag is not limited and with you you can achieve static objects in the air. So if you set drag to really high when grounded and turn it to really low when not grounded you should have an object that sticks to steep surfaces but acts normally when in air and such

Feb 18 at 03:10 AM NAKAS
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1865
x1780
x55

asked: Oct 06 '12 at 12:19 AM

Seen: 505 times

Last Updated: Feb 18 at 03:10 AM