[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22913] trunk/blender/source/gameengine/ Physics/Bullet/CcdPhysicsController.cpp: BGE bug #19020: The GE Torque actuator x -& y-axis do not work in 2.49a (winxp)
Benoit Bolsee
benoit.bolsee at online.be
Mon Aug 31 17:54:56 CEST 2009
Revision: 22913
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22913
Author: ben2610
Date: 2009-08-31 17:54:56 +0200 (Mon, 31 Aug 2009)
Log Message:
-----------
BGE bug #19020: The GE Torque actuator x -& y-axis do not work in 2.49a (winxp)
Modified Paths:
--------------
trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp
Modified: trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp
===================================================================
--- trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp 2009-08-31 15:28:43 UTC (rev 22912)
+++ trunk/blender/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp 2009-08-31 15:54:56 UTC (rev 22913)
@@ -1073,7 +1073,7 @@
//workaround for incompatibility between 'DYNAMIC' game object, and angular factor
//a DYNAMIC object has some inconsistency: it has no angular effect due to collisions, but still has torque
const btVector3& angFac = body->getAngularFactor();
- btVector3 tmpFac(0,0,1);
+ btVector3 tmpFac(1,1,1);
body->setAngularFactor(tmpFac);
body->applyTorque(torque);
body->setAngularFactor(angFac);
More information about the Bf-blender-cvs
mailing list