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))
useLocalForce
Section titled “useLocalForce”A flag specifying if the force is local.
Type: boolean
torque
Section titled “torque”The torque applied by the actuator.
Type: Vector((x, y, z))
useLocalTorque
Section titled “useLocalTorque”A flag specifying if the torque is local.
Type: boolean
The displacement vector applied by the actuator.
Type: Vector((x, y, z))
useLocalDLoc
Section titled “useLocalDLoc”A flag specifying if the dLoc is local.
Type: boolean
The angular displacement vector applied by the actuator
Type: Vector((x, y, z))
useLocalDRot
Section titled “useLocalDRot”A flag specifying if the dRot is local.
Type: boolean
The linear velocity applied by the actuator.
Type: Vector((x, y, z))
useLocalLinV
Section titled “useLocalLinV”A flag specifying if the linear velocity is local.
Type: boolean
The angular velocity applied by the actuator.
Type: Vector((x, y, z))
useLocalAngV
Section titled “useLocalAngV”A flag specifying if the angular velocity is local.
Type: boolean
damping
Section titled “damping”The damping parameter of the servo controller.
Type: short
forceLimitX
Section titled “forceLimitX”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]
forceLimitY
Section titled “forceLimitY”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]
forceLimitZ
Section titled “forceLimitZ”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]
reference
Section titled “reference”The object that is used as reference to compute the velocity for the servo controller.
Type: KX_GameObject or None
