Logo Search packages:      
Sourcecode: blender version File versions  Download package

void btSimpleDynamicsWorld::clearForces (  )  [virtual]

: iterate over awake simulation islands!

Implements btDynamicsWorld.

Definition at line 98 of file btSimpleDynamicsWorld.cpp.

References btRigidBody::clearForces(), btAlignedObjectArray< T >::size(), and btRigidBody::upcast().

Referenced by stepSimulation().

      ///@todo: iterate over awake simulation islands!
      for ( int i=0;i<m_collisionObjects.size();i++)
            btCollisionObject* colObj = m_collisionObjects[i];
            btRigidBody* body = btRigidBody::upcast(colObj);
            if (body)

Generated by  Doxygen 1.6.0   Back to index