diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-05-07 00:55:55 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-05-07 00:55:55 +0400 |
commit | 881802d8a385228a3b8af3b1b7ccb8512c96490b (patch) | |
tree | 8e135fc24150735428fcf1547d6ac174dad70fb0 /source/gameengine/Ketsji/KX_GameObject.h | |
parent | 917865b5049acaa2e13b7d40ebf879121c7e2148 (diff) |
BGE patch #10492 approved: getLinearVelocity() now can provide local velocity as well. This patch is harmless and backward compatible; it can go safely into 2.46 release
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_GameObject.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_GameObject.h b/source/gameengine/Ketsji/KX_GameObject.h index da0cd69e129..b83d63e26bf 100644 --- a/source/gameengine/Ketsji/KX_GameObject.h +++ b/source/gameengine/Ketsji/KX_GameObject.h @@ -252,8 +252,9 @@ public: /** * Return the linear velocity of the game object. */ - MT_Vector3 + MT_Vector3 GetLinearVelocity( + bool local=false ); /** |