add MultiDofDemo (Featherstone 3DOF spherical joint)

minor prettify of BasicDemo,RagdollDemo.
require 'multiDof' argument in btMultiBody.h (not default=false)
This commit is contained in:
Erwin Coumans
2014-01-10 16:34:39 -08:00
parent a8e60b4ee5
commit 7e4b1c1c8a
9 changed files with 481 additions and 28 deletions

View File

@@ -363,7 +363,7 @@ void RagDollDemo::initPhysics()
createGround(cubeShapeId);
btVector3 offset(0,10,0);
btVector3 offset(0,3,0);
RagDoll* doll = new RagDoll(this->m_dynamicsWorld,offset,m_glApp);