Rigidbody: Allow triangle mesh shapes to deform during simulation
[blender.git] / source / blender / makesdna / DNA_rigidbody_types.h
index de23a3c2370e5a5f15253faf906f5f0b9f8a4a20..5d76ffe57b5d4cd882d4741d1930f34aa3fb92a4 100644 (file)
@@ -149,7 +149,9 @@ typedef enum eRigidBodyOb_Flag {
        /* rigidbody is not dynamically simulated */
        RBO_FLAG_DISABLED                       = (1 << 5),
        /* collision margin is not embedded (only used by convex hull shapes for now) */
-       RBO_FLAG_USE_MARGIN                     = (1 << 6)
+       RBO_FLAG_USE_MARGIN                     = (1 << 6),
+       /* collision shape deforms during simulation (only for passive triangle mesh shapes) */
+       RBO_FLAG_USE_DEFORM                     = (1 << 7)
 } eRigidBodyOb_Flag;
 
 /* RigidBody Collision Shape */