internal void Step(IntPtr pBody, float pTimestep, AuroraODEPhysicsScene pParentScene, AuroraPhysXPrim parent) { m_body = pBody; if (pBody == IntPtr.Zero || m_type == Vehicle.TYPE_NONE) return; if(Mass == 0) GetMass (pBody); if (Mass == 0) return;//No noMass vehicles... if (!d.BodyIsEnabled(Body)) d.BodyEnable(Body); frcount++; // used to limit debug comment output if (frcount > 100) frcount = 0; MoveLinear (pTimestep, pParentScene, parent); MoveAngular (pTimestep, pParentScene, parent); LimitRotation(pTimestep); // WE deal with updates parent.RequestPhysicsterseUpdate(); } // end Step