SCA_ParentActuator(SCA_IActuator)
base class — SCA_IActuator
- class bge.types.SCA_ParentActuator
The parent actuator can set or remove an objects parent object.
- object
the object this actuator sets the parent too.
- Type:
KX_GameObject
or None
- mode
The mode of this actuator.
- Type:
integer from 0 to 1.
- compound
Whether the object shape should be added to the parent compound shape when parenting.
Effective only if the parent is already a compound shape.
- Type:
boolean
- ghost
Whether the object should be made ghost when parenting Effective only if the shape is not added to the parent compound shape.
- Type:
boolean