1
$\begingroup$

due to the jittering of Mesh Collision Shape - I would like to deactivate Rigid Body objects e.g. after a certain timeframe.

In blender2.79 I found this Python API for making an object with a certain name a passive object:

bpy.data.objects['name'].rigid_body(type='PASSIVE')

However, this results in the following error: 'RigidBodyObject' object is not callable

Any help on how to attribute "PASSIVE" to an rigid_body object of a certain name as Python API for blender2.79 would be fantastic.

$\endgroup$
0
$\begingroup$
bpy.data.objects['Cube'].rigid_body.type = 'ACTIVE'

This is how you do it. If someone can explain further why I'd be happy to read it :)

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.