public static Vector3D MatrixToEulerAngle(Matrix3D pMatrix) { NewtonVector3 aNewtonVector3 = new NewtonVector3( new Vector3D() ); Newton.NewtonGetEulerAngle(new NewtonMatrix(pMatrix).NWMatrix, aNewtonVector3.NWVector3); return aNewtonVector3.ToDirectX(); }
public Vector3D GetContactForce() { NewtonVector3 aForce = new NewtonVector3(new Vector3D()); Newton.NewtonMaterialGetContactForce(m_Handle, aForce.NWVector3); return(aForce.ToDirectX()); }
public static Vector3D MatrixToEulerAngle(Matrix3D pMatrix) { NewtonVector3 aNewtonVector3 = new NewtonVector3(new Vector3D()); Newton.NewtonGetEulerAngle(new NewtonMatrix(pMatrix).NWMatrix, aNewtonVector3.NWVector3); return(aNewtonVector3.ToDirectX()); }
public Vector3D GetContactForce() { NewtonVector3 aForce = new NewtonVector3(new Vector3D()); Newton.NewtonMaterialGetContactForce(m_Handle, aForce.NWVector3); return aForce.ToDirectX(); }