Skip to content

KX_AddObjectActuator

Base class: SCA_IActuator

Edit Object Actuator (in Add Object Mode)

the object this actuator adds.

Type: KX_GameObject or None

the last added object from this actuator (read-only).

Type: KX_GameObject or None

the lifetime of added objects, in frames. Set to 0 to disable automatic deletion.

Type: float

the initial linear velocity of added objects.

Type: list [vx, vy, vz]

the initial angular velocity of added objects.

Type: list [vx, vy, vz]

adds the object without needing to calling SCA_PythonController.activate()