Page 1 of 1

How to get friction?

Posted: 10 Oct 2018, 07:17
by vreprobot
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.

Re: How to get friction?

Posted: 10 Oct 2018, 08:08
by coppelia
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