Revision: 8372
http://playerstage.svn.sourceforge.net/playerstage/?rev=8372&view=rev
Author: natepak
Date: 2009-11-05 19:07:19 +0000 (Thu, 05 Nov 2009)
Log Message:
-----------
Moved the CG visual according to the custom mass matrix
Modified Paths:
--------------
code/gazebo/trunk/server/physics/ode/ODEBody.cc
Modified: code/gazebo/trunk/server/physics/ode/ODEBody.cc
===================================================================
--- code/gazebo/trunk/server/physics/ode/ODEBody.cc 2009-11-05 18:12:03 UTC
(rev 8371)
+++ code/gazebo/trunk/server/physics/ode/ODEBody.cc 2009-11-05 19:07:19 UTC
(rev 8372)
@@ -344,6 +344,8 @@
this->physicsEngine->ConvertMass(&this->mass, &odeMass);
this->physicsEngine->UnlockMutex();
+
+ this->cgVisual->SetPosition(cog);
}
else
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit