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) (in [0, 3.14159], default 0.0)

Type:

float

angle_min

Minimum angle to maintain with target direction (no correction is done if angle with target direction is between min and max) (in [0, 3.14159], default 0.0)

Type:

float

damping

Damping factor: time constant (in frame) of low pass filter (in [-32768, 32767], default 0)

Type:

int

damping_rotation

Use a different damping for orientation (in [-32768, 32767], default 0)

Type:

int

direction

Direction of the ray (default 'NONE')

Type:

Literal[‘NONE’, ‘DIRPX’, ‘DIRPY’, ‘DIRPZ’, ‘DIRNX’, ‘DIRNY’, ‘DIRNZ’]

direction_axis

Select the axis to be aligned along the reference direction (default 'NONE')

Type:

Literal[‘NONE’, ‘DIRPX’, ‘DIRPY’, ‘DIRPZ’, ‘DIRNX’, ‘DIRNY’, ‘DIRNZ’]

direction_axis_pos

Select the axis to be aligned along the reference direction (default 'NONE')

Type:

Literal[‘NONE’, ‘DIRPX’, ‘DIRPY’, ‘DIRPZ’]

distance

Keep this distance to target (in [-inf, inf], default 0.0)

Type:

float

fh_damping

Damping factor of the force field spring (in [-inf, inf], default 0.0)

Type:

float

fh_force

Spring force within the force field area (in [-inf, inf], default 0.0)

Type:

float

fh_height

Height of the force field area (in [-inf, inf], default 0.0)

Type:

float

limit

(default 'NONE')

Type:

Literal[‘NONE’, ‘LOCX’, ‘LOCY’, ‘LOCZ’]

limit_max

(in [-inf, inf], default 0.0)

Type:

float

limit_min

(in [-inf, inf], default 0.0)

Type:

float

material

Ray detects only Objects with this material (default “”, never None)

Type:

str

mode

The type of the constraint (default 'LOC')

Type:

Literal[‘LOC’, ‘DIST’, ‘ORI’, ‘FH’]

property

Ray detects only Objects with this property (default “”, never None)

Type:

str

range

Maximum length of ray (in [-inf, inf], default 0.0)

Type:

float

rotation_max

Reference Direction (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))

Type:

mathutils.Vector

time

Maximum activation time in frame, 0 for unlimited (in [-32768, 32767], default 0)

Type:

int

use_fh_normal

Add a horizontal spring force on slopes (default False)

Type:

bool

use_fh_paralel_axis

Keep object axis parallel to normal (default False)

Type:

bool

use_force_distance

Force distance of object to point of impact of ray (default False)

Type:

bool

use_local

Set ray along object’s axis or global axis (default False)

Type:

bool

use_material_detect

Detect material instead of property (default False)

Type:

bool

use_normal

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

Type:

bool

use_persistent

Persistent actuator: stays active even if ray does not reach target (default False)

Type:

bool

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:

id (str) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:

id (str) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions