Skip to content

KX_ConstraintActuator

Base class: SCA_IActuator

A constraint actuator limits the position, rotation, distance or orientation of an object.

Time constant of the constraint expressed in frame (not use by Force field constraint).

Type: integer

Time constant for the rotation expressed in frame (only for the distance constraint), 0 = use damp for rotation as well.

Type: integer

The reference direction in world coordinate for the orientation constraint.

Type: mathutils.Vector

Binary combination of these constants

Type: integer

activation time of the actuator. The actuator disables itself after this many frame. If set to 0, the actuator is not limited in time.

Type: integer

the name of the property or material for the ray detection of the distance constraint.

Type: string

The lower bound of the constraint. For the rotation and orientation constraint, it represents radiant.

Type: float

the target distance of the distance constraint.

Type: float

the upper bound of the constraint. For rotation and orientation constraints, it represents radiant.

Type: float

the length of the ray of the distance constraint.

Type: float

type of constraint. Use one of the these constants

Type: integer.