diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2005-08-22 19:47:56 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2005-08-22 19:47:56 +0400 |
commit | 65a52fc419a990036cdf77ccb8bc724b0aefa8b5 (patch) | |
tree | 7a29645d8ae599b64fdd6419a23757e4104eaaf1 /source/gameengine/Converter/KX_BlenderSceneConverter.h | |
parent | 838d9385226a550a0d6f06ad2dee92ec5dbb5e9a (diff) |
- prepared for automatic game physics -> animation (ipo) conversion (this allows to use bullet for animation)
- default the m_edgecode to 65535, the wireframe was invisible. when is the edgecode available again ?
- added an extra condition, nearsensor is not yet working for bullet, but it crashed.
Diffstat (limited to 'source/gameengine/Converter/KX_BlenderSceneConverter.h')
-rw-r--r-- | source/gameengine/Converter/KX_BlenderSceneConverter.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/gameengine/Converter/KX_BlenderSceneConverter.h b/source/gameengine/Converter/KX_BlenderSceneConverter.h index c5759c84beb..d4048ce3ed2 100644 --- a/source/gameengine/Converter/KX_BlenderSceneConverter.h +++ b/source/gameengine/Converter/KX_BlenderSceneConverter.h @@ -115,6 +115,13 @@ public: SCA_IController *FindGameController(struct bController *for_controller); void RegisterWorldInfo(KX_WorldInfo *worldinfo); + + virtual void ResetPhysicsObjectsAnimationIpo(); + + ///this generates ipo curves for position, rotation, allowing to use game physics in animation + virtual void WritePhysicsObjectToAnimationIpo(int frameNumber); + + }; #endif //__KX_BLENDERSCENECONVERTER_H |