///those 2 virtuals are called for each constraint/physics object virtual int createUniversalD6Constraint( class PHY_IPhysicsController* ctrlRef,class PHY_IPhysicsController* ctrlOther, SimdTransform& localAttachmentFrameRef, SimdTransform& localAttachmentOther, const SimdVector3& linearMinLimits, const SimdVector3& linearMaxLimits, const SimdVector3& angularMinLimits, const SimdVector3& angularMaxLimits ) { return m_demoApp->GetPhysicsEnvironment()->createUniversalD6Constraint( ctrlRef,ctrlOther, localAttachmentFrameRef, localAttachmentOther, linearMinLimits, linearMaxLimits, angularMinLimits, angularMaxLimits ); }
virtual void SetGravity(const SimdVector3& grav) { m_demoApp->GetPhysicsEnvironment()->setGravity(grav.getX(),grav.getY(),grav.getZ()); }