mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-26 23:05:38 +00:00
get node utility methods by request
courtessy Steve_Yorkshire, tim-mgt
This commit is contained in:
parent
6cb34ab3e9
commit
4a9f8e0709
2 changed files with 75 additions and 0 deletions
|
|
@ -1627,6 +1627,12 @@ public:
|
|||
/// @name Object Transforms
|
||||
/// @{
|
||||
|
||||
/// Returns a named node transform for a given shape
|
||||
virtual void getNodeTransform(const char* nodeName, MatrixF* mat);
|
||||
/// Returns a named node forwad vector for a given shape
|
||||
virtual void getNodeVector(const char* nodeName, VectorF* vec);
|
||||
/// Returns a named node position for a given shape
|
||||
void getNodePoint(const char* nodeName, Point3F* pos);
|
||||
/// Returns the eye transform of this shape, IE the eyes of a player
|
||||
/// @param mat Eye transform (out)
|
||||
virtual void getEyeTransform(MatrixF* mat);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue