How to get friction?

Typically: "How do I... ", "How can I... " questions
Post Reply
vreprobot
Posts: 3
Joined: 11 Sep 2018, 08:34

How to get friction?

Post by vreprobot » 10 Oct 2018, 07:17

Hi,
In my project I need to know the dynamic friction force value.But I haven't found any function in remote api or regular api.Any suggestion?
Thanks.

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

Re: How to get friction?

Post by coppelia » 10 Oct 2018, 08:08

Hello,

you should be able to do this by using sim.getContactInfo. But in that case, do not use the Bullet engine, since it will only give you the force normal to the contact surface.

Have also a look at the model Models/other/contact display.ttm

Cheers

Post Reply