How to set friction of joints?

Typically: "How do I... ", "How can I... " questions
Post Reply
zhaominwang
Posts: 8
Joined: 31 Aug 2020, 09:49

How to set friction of joints?

Post by zhaominwang »

hello,
I want to set friction of joints, but bullet doesn't have the function. In other post, I find I can set a linear/angular damping factor to the dynamic shape attached to the joint, but I don't know the difference in contrast to the real joint friction. So I have an idea: can I set the target velocity to zero and set maximum torque to a constant instead of the joint friction?
Looking forward to your reply.

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

Re: How to set friction of joints?

Post by coppelia »

Hello,

yes, this is actually how you'd implement joint friction in a free rotating joint, when using Bullet/ODE or Newton. But here again, don't expect those physics engines to offer realistic correspondencies with real-world friction.

Cheers

Post Reply