Trees | Indices | Help |
---|
|
SCA_ILogicBrick.SCA_ILogicBrick --+ | SCA_IActuator.SCA_IActuator --+ | KX_SCA_AddObjectActuator
Edit Object Actuator (in Add Object Mode)
Warning: An Add Object actuator will be ignored if at game start, the linked object doesn't exist (or is empty) or the linked object is in an active layer.
This will genereate a warning in the console:
ERROR: GameObject OBName has a AddObjectActuator
ActuatorName without object (in 'nonactive'
layer)
|
|||
|
|||
string, KX_GameObject or None if no object is set |
|
||
|
|||
integer |
|
||
|
|||
list [vx, vy, vz] |
|
||
|
|||
list [vx, vy, vz] |
|
||
KX_GameObject |
|
||
Inherited from |
|
Sets the game object to add. A copy of the object will be added to the scene when the actuator is activated. If the object does not exist, this function is ignored. object can either be a KX_GameObject or the name of an object or None.
|
Returns the name of the game object to be added. Returns None if no game object has been assigned to be added.
|
Sets the lifetime of added objects, in frames. If time == 0, the object will last forever.
|
Sets the initial linear velocity of added objects.
|
Sets the initial angular velocity of added objects.
|
Returns the last object created by this actuator.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Oct 24 10:23:58 2008 | http://epydoc.sourceforge.net |