diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2009-05-01 23:02:23 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2009-05-01 23:02:23 +0400 |
commit | e13a089d918cbe3709f544ccebbb718a452ac6fa (patch) | |
tree | 2b8d3e36659fe11591a981f6e12a9443bbfa2d57 /source/gameengine/Ketsji/KX_GameObject.h | |
parent | 672492f563e148dc608965c5d0011413fbfae0eb (diff) |
BGE: work around a problem with DBVT culling when graphic objects are rescaled. This happens when objects with very diverse scale are instantiated with dupligroup. The problem remains when the objects are rescaled during the game. The effect of the problem is an inefficient culling: objects can have a bounding box larger than needed. Patch to fix the problem is filed at Bullet forum.
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_GameObject.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_GameObject.h b/source/gameengine/Ketsji/KX_GameObject.h index fe9f39a6ed3..14ed713ecfa 100644 --- a/source/gameengine/Ketsji/KX_GameObject.h +++ b/source/gameengine/Ketsji/KX_GameObject.h @@ -385,6 +385,10 @@ public: { m_pGraphicController = graphiccontroller; } + /* + * @add/remove the graphic controller to the physic system + */ + void ActivateGraphicController(bool active, bool recurse); /** * @section Coordinate system manipulation functions |