/// <summary>
		/// Advanced: Override the default friction solving function for contacts, for certain types of rigidbody
		/// See btRigidBody::m_contactSolverType and btRigidBody::m_frictionSolverType
		///</summary>
		public void SetFrictionSolverFunc(ContactSolverFunc func, int typeA, int typeB)
		{
			_frictionDispatch[typeA, typeB] = func;
		}
Ejemplo n.º 2
0
 ///<summary>
 /// Advanced: Override the default contact solving function for contacts, for certain types of rigidbody
 /// See btRigidBody::m_contactSolverType and btRigidBody::m_frictionSolverType
 ///</summary>
 public void SetContactSolverFunc(ContactSolverFunc func, int typeA, int typeB)
 {
     _contactDispatch[typeA, typeB] = func;
 }
		///<summary>
		/// Advanced: Override the default contact solving function for contacts, for certain types of rigidbody
		/// See btRigidBody::m_contactSolverType and btRigidBody::m_frictionSolverType
		///</summary>
		public void SetContactSolverFunc(ContactSolverFunc func, int typeA, int typeB)
		{
			_contactDispatch[typeA, typeB] = func;
		}
Ejemplo n.º 4
0
 /// <summary>
 /// Advanced: Override the default friction solving function for contacts, for certain types of rigidbody
 /// See btRigidBody::m_contactSolverType and btRigidBody::m_frictionSolverType
 ///</summary>
 public void SetFrictionSolverFunc(ContactSolverFunc func, int typeA, int typeB)
 {
     _frictionDispatch[typeA, typeB] = func;
 }