Looking for api about respondable.

Typically: "How do I... ", "How can I... " questions
Post Reply
kitae7425
Posts: 9
Joined: 02 May 2022, 10:44

Looking for api about respondable.

Post by kitae7425 »

Can I turn off the 'Body is responable' from Rigid Body Dynamic Properties with api?

can i know api ?

thank youi

fferri
Posts: 1193
Joined: 09 Sep 2013, 19:28

Re: Looking for api about respondable.

Post by fferri »

Yes:

Code: Select all

sim.setObjectInt32Param(handle,sim.shapeintparam_respondable,0)
Use with care when setting this parameter during simulation (the shape might have to be reset with sim.resetDynamicObject)

kitae7425
Posts: 9
Joined: 02 May 2022, 10:44

Re: Looking for api about respondable.

Post by kitae7425 »

It works!

Thank you!

Post Reply