Blender Git Commit Log

Git Commits -> Revision 949b6ca

Revision 949b6ca by Benoit Bolsee (master)
October 1, 2008, 07:55 (GMT)
BGE bug #17688 fixed: Near Sensor Reset not working (for Gamekit)

Implementation of the PHY_IPhysicsController::SetMargin(),
GetMargin(), SetRadius() and GetRadius() for Bullet and Sumo
to allow resetting the Near sensor radius. For bullet use
the new setUnscaledRadius() function to change sphere radius.

In pPreparation of a Fh constraint actuator:
- Add KX_IPhysicsController::GetRadius()
- Fix implementation of KX_BulletPhysicsController::GetVelocity()
(velocity at a point in geometric coordinate)
- Don't try to set velocity on static object (Bullet will assert)
- Add KX_GameObject::GetVelocity() for C access to local velocity

Commit Details:

Full Hash: 949b6ca80f68d5cb99a0d17dd66238ef15444ac2
SVN Revision: 16862
Parent Commit: f4c1fce
Lines Changed: +74, -14

15 Modified Paths:

/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp (+7, -1) (Diff)
/source/gameengine/Ketsji/KX_BulletPhysicsController.h (+1, -3) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+8, -1) (Diff)
/source/gameengine/Ketsji/KX_GameObject.h (+9, -0) (Diff)
/source/gameengine/Ketsji/KX_IPhysicsController.h (+4, -0) (Diff)
/source/gameengine/Ketsji/KX_NearSensor.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_OdePhysicsController.cpp (+5, -0) (Diff)
/source/gameengine/Ketsji/KX_OdePhysicsController.h (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_SumoPhysicsController.cpp (+5, -0) (Diff)
/source/gameengine/Ketsji/KX_SumoPhysicsController.h (+1, -0) (Diff)
/source/gameengine/Physics/BlOde/OdePhysicsController.h (+2, -0) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp (+3, -3) (Diff)
/source/gameengine/Physics/Bullet/CcdPhysicsController.h (+23, -2) (Diff)
/source/gameengine/Physics/common/PHY_IPhysicsController.h (+2, -1) (Diff)
/source/gameengine/Physics/Sumo/SumoPhysicsController.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021