Torque3D Documentation / _generateds / SceneObject::AttachInfo

SceneObject::AttachInfo

Engine/source/scene/sceneObject.h

TGE uses the term "mount" in a quirky, staticky way relating to its limited use to have riders and guns mounted on a vehicle (and similar) I did not alter that code at all (yet) and did not want to keep its terminology for other reasons I decided to support a hierarchy of scene objects and dubbed the operations attaching and removing child SceneObjects.

More...

Public Attributes

Objects mounted on this object.

Link to next child object of this object's parent.

this obects transformation in the parent object's space

Object this object is mounted on.

this obects Render Offset transformation to the parent object

Detailed Description

TGE uses the term "mount" in a quirky, staticky way relating to its limited use to have riders and guns mounted on a vehicle (and similar) I did not alter that code at all (yet) and did not want to keep its terminology for other reasons I decided to support a hierarchy of scene objects and dubbed the operations attaching and removing child SceneObjects.

Public Attributes

SceneObject * firstChild 

Objects mounted on this object.

SceneObject * nextSibling 

Link to next child object of this object's parent.

MatrixF objToParent 

this obects transformation in the parent object's space

SimObjectPtr< SceneObject > parent 

Object this object is mounted on.

MatrixF RenderobjToParent 

this obects Render Offset transformation to the parent object