public void SetOrientation(SWIGTYPE_p_Math__Matrix3 orientation)
 {
     SharpMochaPINVOKE.RigidBody_SetOrientation(swigCPtr, SWIGTYPE_p_Math__Matrix3.getCPtr(orientation));
     if (SharpMochaPINVOKE.SWIGPendingException.Pending)
     {
         throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
        public RigidBodyComponent SetOrientation(SWIGTYPE_p_Math__Matrix3 orientation)
        {
            RigidBodyComponent ret = new RigidBodyComponent(SharpMochaPINVOKE.RigidBodyComponent_SetOrientation(swigCPtr, SWIGTYPE_p_Math__Matrix3.getCPtr(orientation)), false);

            if (SharpMochaPINVOKE.SWIGPendingException.Pending)
            {
                throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }