diff options
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_GameObject.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_GameObject.h b/source/gameengine/Ketsji/KX_GameObject.h index 845cead1cdb..4c4eed9ca71 100644 --- a/source/gameengine/Ketsji/KX_GameObject.h +++ b/source/gameengine/Ketsji/KX_GameObject.h @@ -158,6 +158,15 @@ public: return &m_OpenGL_4x4Matrix; }; + /** + * Update the blender object obmat field from the object world position + * if blendobj is NULL, update the object pointed by m_pBlenderObject + * The user must take action to restore the matrix before leaving the GE. + * Used in Armature evaluation + */ + void + UpdateBlenderObjectMatrix(Object* blendobj=NULL); + /** * Get a pointer to the game object that is the parent of * this object. Or NULL if there is no parent. The returned |