base class — bpy_struct
Collection of object constraints
Active Object constraint
Type : | Constraint |
---|
Add a new constraint to this object
Parameters: | type (enum in [‘CAMERA_SOLVER’, ‘FOLLOW_TRACK’, ‘COPY_LOCATION’, ‘COPY_ROTATION’, ‘COPY_SCALE’, ‘COPY_TRANSFORMS’, ‘LIMIT_DISTANCE’, ‘LIMIT_LOCATION’, ‘LIMIT_ROTATION’, ‘LIMIT_SCALE’, ‘MAINTAIN_VOLUME’, ‘TRANSFORM’, ‘CLAMP_TO’, ‘DAMPED_TRACK’, ‘IK’, ‘LOCKED_TRACK’, ‘SPLINE_IK’, ‘STRETCH_TO’, ‘TRACK_TO’, ‘ACTION’, ‘CHILD_OF’, ‘FLOOR’, ‘FOLLOW_PATH’, ‘PIVOT’, ‘RIGID_BODY_JOINT’, ‘SCRIPT’, ‘SHRINKWRAP’]) – Constraint type to add
|
---|---|
Returns: | New constraint |
Return type: | Constraint |
Remove a constraint from this object
Parameters: | constraint (Constraint, (never None)) – Removed constraint |
---|
Inherited Properties
Inherited Functions
|
References