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.
list [fx, fy, fz, local]
|
getForce()
Returns the force applied by the actuator. |
|
|
|
setForce(fx,
fy,
fz,
local)
Sets the force applied by the actuator. |
|
|
list [Τx, Τy, Τz, local]
|
getTorque()
Returns the torque applied by the actuator. |
|
|
|
setTorque(tx,
ty,
tz,
local)
Sets the torque applied by the actuator. |
|
|
list [dx, dy, dz, local]
|
getDLoc()
Returns the displacement vector applied by the actuator. |
|
|
|
setDLoc(dx,
dy,
dz,
local)
Sets the displacement vector applied by the actuator. |
|
|
list [dx, dy, dz, local]
|
getDRot()
Returns the angular displacement vector applied by the actuator. |
|
|
|
setDRot(dx,
dy,
dz,
local)
Sets the angular displacement vector applied by the actuator. |
|
|
list [vx, vy, vz, local]
|
|
|
setLinearVelocity(vx,
vy,
vz,
local)
Sets the linear velocity applied by the actuator. |
|
|
list [ωx, ωy, ωz, local]
|
|
|
|
integer
|
getDamping()
Returns the damping parameter of the servo controller. |
|
|
|
setDamping(damp)
Sets the damping parameter of the servo controller. |
|
|
list [min, max, enabled]
|
getForceLimitX()
Returns the min/max force limit along the X axis used by the servo
controller. |
|
|
|
setForceLimitX(min,
max,
enable)
Sets the min/max force limit along the X axis and activates or
deactivates the limits in the servo controller. |
|
|
list [min, max, enabled]
|
getForceLimitY()
Returns the min/max force limit along the Y axis used by the servo
controller. |
|
|
|
setForceLimitY(min,
max,
enable)
Sets the min/max force limit along the Y axis and activates or
deactivates the limits in the servo controller. |
|
|
list [min, max, enabled]
|
getForceLimitZ()
Returns the min/max force limit along the Z axis used by the servo
controller. |
|
|
|
setForceLimitZ(min,
max,
enable)
Sets the min/max force limit along the Z axis and activates or
deactivates the limits in the servo controller. |
|
|
list [P, I, D]
|
getPID()
Returns the PID coefficient of the servo controller. |
|
|
|
setPID(P,
I,
D)
Sets the PID coefficients of the servo controller. |
|
|
integer
|
|
KX_GameObject
|
|
|
|