20 #ifndef PS_EFFECT_ANCHOR_BASIC_HEADER 21 #define PS_EFFECT_ANCHOR_BASIC_HEADER 37 bool Load(iDocumentNode* node);
39 bool Update(csTicks elapsed);
bool rotateWithMesh
Whether the anchor should rotate with the mesh. This is so effects can stay aligned, e.g. flame sword.
bool Update(csTicks elapsed)
Updates the effect anchor – called every frame.
psEffectAnchor * Clone() const
Clones the effect anchor.
bool Load(iDocumentNode *node)
Loads the effect anchors from an xml node.
bool Create(const csVector3 &offset, iMeshWrapper *posAttach, bool rotateWithMesh=false)
Creates the effect anchor.
Effect anchors provide a base location / anchor point for all effect objs.