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

Type:

float in [-6.28319, 6.28319], default 0.0

axis_y

Rotate pivot on Y axis

Type:

float in [-6.28319, 6.28319], default 0.0

axis_z

Rotate pivot on Z axis

Type:

float in [-6.28319, 6.28319], default 0.0

breaking_threshold

Break on impulse greater than threshold

Type:

float in [0, inf], default 0.0

child

Child object

Type:

Object

limit_angle_max_x
Type:

float in [-6.28319, 6.28319], default 0.0

limit_angle_max_y
Type:

float in [-6.28319, 6.28319], default 0.0

limit_angle_max_z
Type:

float in [-6.28319, 6.28319], default 0.0

limit_angle_min_x
Type:

float in [-6.28319, 6.28319], default 0.0

limit_angle_min_y
Type:

float in [-6.28319, 6.28319], default 0.0

limit_angle_min_z
Type:

float in [-6.28319, 6.28319], default 0.0

limit_max_x
Type:

float in [-inf, inf], default 0.0

limit_max_y
Type:

float in [-inf, inf], default 0.0

limit_max_z
Type:

float in [-inf, inf], default 0.0

limit_min_x
Type:

float in [-inf, inf], default 0.0

limit_min_y
Type:

float in [-inf, inf], default 0.0

limit_min_z
Type:

float in [-inf, inf], default 0.0

pivot_type
  • BALL Ball – Allow rotations around all axes.

  • HINGE Hinge – Work in one plane, allow rotations around one axis only.

  • CONE_TWIST Cone Twist – Allow rotations around all axes with limits for the cone and twist axes.

  • GENERIC_6_DOF Generic 6 DoF – No constraints by default, limits can be set individually.

Type:

enum in [‘BALL’, ‘HINGE’, ‘CONE_TWIST’, ‘GENERIC_6_DOF’], default ‘BALL’

pivot_x

Offset pivot on X

Type:

float in [-1000, 1000], default 0.0

pivot_y

Offset pivot on Y

Type:

float in [-1000, 1000], default 0.0

pivot_z

Offset pivot on Z

Type:

float in [-1000, 1000], default 0.0

show_pivot

Display the pivot point and rotation in 3D view

Type:

boolean, default False

target

Target Object

Type:

Object

use_angular_limit_x

Use minimum/maximum X angular limit

Type:

boolean, default False

use_angular_limit_y

Use minimum/maximum Y angular limit

Type:

boolean, default False

use_angular_limit_z

Use minimum/maximum Z angular limit

Type:

boolean, default False

use_breaking

Allow breaking on high impulse

Type:

boolean, default False

use_limit_x

Use minimum/maximum X limit

Type:

boolean, default False

use_limit_y

Use minimum/maximum y limit

Type:

boolean, default False

use_limit_z

Use minimum/maximum z limit

Type:

boolean, default False

use_linked_collision

Disable collision between linked bodies

Type:

boolean, default False

classmethod bl_rna_get_subclass(id, default=None)
Parameters:

id (string) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters:

id (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions