Skip to content

KX_ObjectActuator

Base class: SCA_IActuator

The object actuator (“Motion Actuator”) applies force, torque, displacement, angular displacement, velocity, or angular velocity to an object. Servo control allows to regulate force to achieve a certain speed target.

The force applied by the actuator.

Type: Vector((x, y, z))

A flag specifying if the force is local.

Type: boolean

The torque applied by the actuator.

Type: Vector((x, y, z))

A flag specifying if the torque is local.

Type: boolean

The displacement vector applied by the actuator.

Type: Vector((x, y, z))

A flag specifying if the dLoc is local.

Type: boolean

The angular displacement vector applied by the actuator

Type: Vector((x, y, z))

A flag specifying if the dRot is local.

Type: boolean

The linear velocity applied by the actuator.

Type: Vector((x, y, z))

A flag specifying if the linear velocity is local.

Type: boolean

The angular velocity applied by the actuator.

Type: Vector((x, y, z))

A flag specifying if the angular velocity is local.

Type: boolean

The damping parameter of the servo controller.

Type: short

The min/max force limit along the X axis and activates or deactivates the limits in the servo controller.

Type: list [min(float), max(float), bool]

The min/max force limit along the Y axis and activates or deactivates the limits in the servo controller.

Type: list [min(float), max(float), bool]

The min/max force limit along the Z axis and activates or deactivates the limits in the servo controller.

Type: list [min(float), max(float), bool]

The PID coefficients of the servo controller.

Type: list of floats [proportional, integral, derivate]

The object that is used as reference to compute the velocity for the servo controller.

Type: KX_GameObject or None