KX_AddObjectActuator
Base class: SCA_IActuator
Edit Object Actuator (in Add Object Mode)
object
Section titled “object”the object this actuator adds.
Type: KX_GameObject or None
objectLastCreated
Section titled “objectLastCreated”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
linearVelocity
Section titled “linearVelocity”the initial linear velocity of added objects.
Type: list [vx, vy, vz]
angularVelocity
Section titled “angularVelocity”the initial angular velocity of added objects.
Type: list [vx, vy, vz]
instantAddObject()
Section titled “instantAddObject()”adds the object without needing to calling SCA_PythonController.activate()
