ConstraintActuator(Actuator)

base classes — bpy_struct, Actuator

class bpy.types.ConstraintActuator(Actuator)

Actuator to handle Constraints

angle_max

Maximum angle (in degree) allowed with target direction. No correction is done if angle with target direction is between min and max

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

Minimum angle (in degree) to maintain with target direction. No correction is done if angle with target direction is between min and max

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

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

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

Use a different damping for orientation

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

Set the 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’
distance

Set the maximum length of ray

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

Damping factor of the Fh spring force

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

Height of the Fh 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 “”
mode

The type of the constraint

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

Ray detect only Objects with this property

Type :string, default “”
range

Set the 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)
spring

Spring force within the Fh area

Type :float in [-inf, inf], default 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

Previous topic

Constraint(bpy_struct)

Next topic

ConstraintTarget(bpy_struct)