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
rotDamp
Section titled “rotDamp”Time constant for the rotation expressed in frame (only for the distance constraint), 0 = use damp for rotation as well.
Type: integer
direction
Section titled “direction”The reference direction in world coordinate for the orientation constraint.
Type: mathutils.Vector
option
Section titled “option”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
propName
Section titled “propName”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
distance
Section titled “distance”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
rayLength
Section titled “rayLength”the length of the ray of the distance constraint.
Type: float
type of constraint. Use one of the these constants
Type: integer.
