Core/GameObject: Add getter for current Quat rotation
This commit is contained in:
1 parent
1358f5de9e
commit
9e2c08cd2c
1 file changed
+1
@@ -108,6 +108,7 @@ class TC_GAME_API GameObject : public WorldObject, public GridObject<GameObject>
|
||||
void SetWorldRotationAngles(float z_rot, float y_rot, float x_rot);
|
||||
void SetWorldRotation(float qx, float qy, float qz, float qw);
|
||||
void SetParentRotation(QuaternionData const& rotation); // transforms(rotates) transport's path
|
||||
QuaternionData const& GetWorldRotation() const { return m_worldRotation; }
|
||||
int64 GetPackedWorldRotation() const { return m_packedRotation; }
|
||||
|
||||
// overwrite WorldObject function for proper name localization
|
||||
|
||||
Reference in new issue
Block a user