ConstraintActuator(Actuator)

base classes — bpy_struct, Actuator

class bpy.types.ConstraintActuator(Actuator)

Actuator to handle Constraints

angle_max

Maximum angle allowed with target direction (no correction is done if angle with target direction is between min and max)

Type:float in [0, 3.14159], default 0.0
angle_min

Minimum angle to maintain with target direction (no correction is done if angle with target direction is between min and max)

Type:float in [0, 3.14159], default 0.0
damping

Damping factor: time constant (in frame) of low pass filter

Type:int in [-32768, 32767], default 0
damping_rotation

Use a different damping for orientation

Type:int in [-32768, 32767], default 0
direction

Direction of the ray

Type:enum in [‘NONE’, ‘DIRPX’, ‘DIRPY’, ‘DIRPZ’, ‘DIRNX’, ‘DIRNY’, ‘DIRNZ’], default ‘NONE’
direction_axis

Select the axis to be aligned along the reference direction

Type:enum in [‘NONE’, ‘DIRPX’, ‘DIRPY’, ‘DIRPZ’, ‘DIRNX’, ‘DIRNY’, ‘DIRNZ’], default ‘NONE’
direction_axis_pos

Select the axis to be aligned along the reference direction

Type:enum in [‘NONE’, ‘DIRPX’, ‘DIRPY’, ‘DIRPZ’], default ‘NONE’
distance

Keep this distance to target

Type:float in [-inf, inf], default 0.0
fh_damping

Damping factor of the force field spring

Type:float in [-inf, inf], default 0.0
fh_force

Spring force within the force field area

Type:float in [-inf, inf], default 0.0
fh_height

Height of the force field area

Type:float in [-inf, inf], default 0.0
limit
Type:enum in [‘NONE’, ‘LOCX’, ‘LOCY’, ‘LOCZ’], default ‘NONE’
limit_max
Type:float in [-inf, inf], default 0.0
limit_min
Type:float in [-inf, inf], default 0.0
material

Ray detects only Objects with this material

Type:string, default “”, (never None)
mode

The type of the constraint

Type:enum in [‘LOC’, ‘DIST’, ‘ORI’, ‘FH’], default ‘LOC’
property

Ray detects only Objects with this property

Type:string, default “”, (never None)
range

Maximum length of ray

Type:float in [-inf, inf], default 0.0
rotation_max

Reference Direction

Type:float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
time

Maximum activation time in frame, 0 for unlimited

Type:int in [-32768, 32767], default 0
use_fh_normal

Add a horizontal spring force on slopes

Type:boolean, default False
use_fh_paralel_axis

Keep object axis parallel to normal

Type:boolean, default False
use_force_distance

Force distance of object to point of impact of ray

Type:boolean, default False
use_local

Set ray along object’s axis or global axis

Type:boolean, default False
use_material_detect

Detect material instead of property

Type:boolean, default False
use_normal

Set object axis along (local axis) or parallel (global axis) to the normal at hit position

Type:boolean, default False
use_persistent

Persistent actuator: stays active even if ray does not reach target

Type:boolean, default False

Inherited Properties

Inherited Functions