RigidBodyJointConstraint(Constraint)
base classes — bpy_struct, Constraint
- class bpy.types.RigidBodyJointConstraint(Constraint)
For use with the Game Engine
- axis_x
Rotate pivot on X axis (in [-6.28319, 6.28319], default 0.0)
- Type:
float
- axis_y
Rotate pivot on Y axis (in [-6.28319, 6.28319], default 0.0)
- Type:
float
- axis_z
Rotate pivot on Z axis (in [-6.28319, 6.28319], default 0.0)
- Type:
float
- breaking_threshold
Break on impulse greater than threshold (in [0, inf], default 0.0)
- Type:
float
- limit_angle_max_x
(in [-6.28319, 6.28319], default 0.0)
- Type:
float
- limit_angle_max_y
(in [-6.28319, 6.28319], default 0.0)
- Type:
float
- limit_angle_max_z
(in [-6.28319, 6.28319], default 0.0)
- Type:
float
- limit_angle_min_x
(in [-6.28319, 6.28319], default 0.0)
- Type:
float
- limit_angle_min_y
(in [-6.28319, 6.28319], default 0.0)
- Type:
float
- limit_angle_min_z
(in [-6.28319, 6.28319], default 0.0)
- Type:
float
- limit_max_x
(in [-inf, inf], default 0.0)
- Type:
float
- limit_max_y
(in [-inf, inf], default 0.0)
- Type:
float
- limit_max_z
(in [-inf, inf], default 0.0)
- Type:
float
- limit_min_x
(in [-inf, inf], default 0.0)
- Type:
float
- limit_min_y
(in [-inf, inf], default 0.0)
- Type:
float
- limit_min_z
(in [-inf, inf], default 0.0)
- Type:
float
- pivot_type
(default
'BALL')BALLBall – Allow rotations around all axes.HINGEHinge – Work in one plane, allow rotations around one axis only.CONE_TWISTCone Twist – Allow rotations around all axes with limits for the cone and twist axes.GENERIC_6_DOFGeneric 6 DoF – No constraints by default, limits can be set individually.
- Type:
Literal[‘BALL’, ‘HINGE’, ‘CONE_TWIST’, ‘GENERIC_6_DOF’]
- pivot_x
Offset pivot on X (in [-1000, 1000], default 0.0)
- Type:
float
- pivot_y
Offset pivot on Y (in [-1000, 1000], default 0.0)
- Type:
float
- pivot_z
Offset pivot on Z (in [-1000, 1000], default 0.0)
- Type:
float
- show_pivot
Display the pivot point and rotation in 3D view (default False)
- Type:
bool
- use_angular_limit_x
Use minimum/maximum X angular limit (default False)
- Type:
bool
- use_angular_limit_y
Use minimum/maximum Y angular limit (default False)
- Type:
bool
- use_angular_limit_z
Use minimum/maximum Z angular limit (default False)
- Type:
bool
- use_breaking
Allow breaking on high impulse (default False)
- Type:
bool
- use_limit_x
Use minimum/maximum X limit (default False)
- Type:
bool
- use_limit_y
Use minimum/maximum y limit (default False)
- Type:
bool
- use_limit_z
Use minimum/maximum z limit (default False)
- Type:
bool
- use_linked_collision
Disable collision between linked bodies (default False)
- Type:
bool
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type