I have a bunch of objects falling onto a plane, and want to have them fall at different frames (i.e, Object1 falls at frame 1, Object2 falls at frame 100, etc)
Could anyone help me with trying to set a keyframe for the activation using the python script console?
I can do this by manually setting keyframes for the "Dynamic" checkbox in the Rigid Body dropdown, however I would like to automate this.
here is my code so far:
I would imagine the keyframe command would look something like this:
But I cannot get it to work and haven't found any specific examples.
Alternatively, if anyone could show me how to add these different objects at different frames that would achieve the same result. For this approach I've tried code like:
bpy.context.scene.frame_set(frame=100) bpy.ops.import_mesh.stl(filepath="C://Users/deden/Desktop/x0y0z0h1.stl") bpy.ops.rigidbody.object_add(type="ACTIVE")
but when I play the animation all the objects are in place at the beginning of the animation as opposed to the frame I set it to before importing?
Please help!! End goal = objects falling at different times, whether its setting the rigid body properties with keyframes or importing the objects at different frames with rigid body activated