Module KX_ParentActuator :: Class KX_ParentActuator

Class KX_ParentActuator

source code

SCA_ILogicBrick.SCA_ILogicBrick --+    
                                  |    
        SCA_IActuator.SCA_IActuator --+
                                      |
                                     KX_ParentActuator

The parent actuator can set or remove an objects parent object.

Instance Methods
 
setObject(object)
Sets the object to set as parent.
source code
string
getObject()
Returns the name of the object to change to.
source code

Inherited from SCA_ILogicBrick.SCA_ILogicBrick: getExecutePriority, getOwner, setExecutePriority

Method Details

setObject(object)

source code 

Sets the object to set as parent.

Object can be either a KX_GameObject or the name of the object.