Blender Git Commit Log
Git Commits -> Revision 3dd18c5
Revision 3dd18c5 by Kester Maddock (master) May 26, 2004, 12:06 (GMT) |
Added an UpdateTransform callback from SceneGraph -> Physics. Profiling revealed that the SceneGraph updated every physics object, whether it moved or not, even though the physics object was at the right place. This would cause SOLID to go and update its bounding boxes, overlap tests etc. This callback handles the special case (parented objects) where the physics scene needs to be informed of changes to the scenegraph. Added Python attributes (mass, parent, visible, position, orientation, scaling) to the KX_GameObject module. Make KX_GameObject use the KX_PyMath Python <-> Moto conversion. |
Commit Details:
Full Hash: 3dd18c5c34390316ac95b972aaa989455cf8ead6
SVN Revision: 2593
Parent Commit: e5cc9ab
Lines Changed: +213, -230
13 Modified Paths:
/source/gameengine/Ketsji/KX_GameObject.cpp (+146, -176) (Diff)
/source/gameengine/Ketsji/KX_GameObject.h (+10, -1) (Diff)
/source/gameengine/Ketsji/KX_SG_NodeRelationships.cpp (+12, -4) (Diff)
/source/gameengine/Ketsji/KX_SG_NodeRelationships.h (+3, -3) (Diff)
/source/gameengine/Ketsji/KX_SumoPhysicsController.cpp (+1, -2) (Diff)
/source/gameengine/Physics/Sumo/SumoPhysicsController.cpp (+2, -28) (Diff)
/source/gameengine/SceneGraph/SG_IObject.cpp (+11, -0) (Diff)
/source/gameengine/SceneGraph/SG_IObject.h (+17, -3) (Diff)
/source/gameengine/SceneGraph/SG_Node.cpp (+2, -1) (Diff)
/source/gameengine/SceneGraph/SG_Node.h (+0, -2) (Diff)
/source/gameengine/SceneGraph/SG_ParentRelation.h (+1, -1) (Diff)
/source/gameengine/SceneGraph/SG_Spatial.cpp (+6, -7) (Diff)
/source/gameengine/SceneGraph/SG_Spatial.h (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_GameObject.h (+10, -1) (Diff)
/source/gameengine/Ketsji/KX_SG_NodeRelationships.cpp (+12, -4) (Diff)
/source/gameengine/Ketsji/KX_SG_NodeRelationships.h (+3, -3) (Diff)
/source/gameengine/Ketsji/KX_SumoPhysicsController.cpp (+1, -2) (Diff)
/source/gameengine/Physics/Sumo/SumoPhysicsController.cpp (+2, -28) (Diff)
/source/gameengine/SceneGraph/SG_IObject.cpp (+11, -0) (Diff)
/source/gameengine/SceneGraph/SG_IObject.h (+17, -3) (Diff)
/source/gameengine/SceneGraph/SG_Node.cpp (+2, -1) (Diff)
/source/gameengine/SceneGraph/SG_Node.h (+0, -2) (Diff)
/source/gameengine/SceneGraph/SG_ParentRelation.h (+1, -1) (Diff)
/source/gameengine/SceneGraph/SG_Spatial.cpp (+6, -7) (Diff)
/source/gameengine/SceneGraph/SG_Spatial.h (+2, -2) (Diff)