Exemplo n.º 1
0
 public static void objectQuerySingle(btConvexShape castShape, btTransform rayFromTrans, btTransform rayToTrans, btCollisionObject collisionObject, btCollisionShape collisionShape, btTransform colObjWorldTransform, btCollisionWorld.ConvexResultCallback resultCallback, float allowedPenetration)
 {
     BulletPINVOKE.btCollisionWorld_objectQuerySingle(btConvexShape.getCPtr(castShape), btTransform.getCPtr(rayFromTrans), btTransform.getCPtr(rayToTrans), btCollisionObject.getCPtr(collisionObject), btCollisionShape.getCPtr(collisionShape), btTransform.getCPtr(colObjWorldTransform), btCollisionWorld.ConvexResultCallback.getCPtr(resultCallback), allowedPenetration);
     if (BulletPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public static void objectQuerySingleInternal(btConvexShape castShape, btTransform convexFromTrans, btTransform convexToTrans, btCollisionObjectWrapper colObjWrap, btCollisionWorld.ConvexResultCallback resultCallback, float allowedPenetration)
 {
     BulletPINVOKE.btCollisionWorld_objectQuerySingleInternal(btConvexShape.getCPtr(castShape), btTransform.getCPtr(convexFromTrans), btTransform.getCPtr(convexToTrans), btCollisionObjectWrapper.getCPtr(colObjWrap), btCollisionWorld.ConvexResultCallback.getCPtr(resultCallback), allowedPenetration);
     if (BulletPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public void convexSweepTest(btConvexShape castShape, btTransform from, btTransform to, btCollisionWorld.ConvexResultCallback resultCallback)
 {
     BulletPINVOKE.btCollisionWorld_convexSweepTest__SWIG_1(swigCPtr, btConvexShape.getCPtr(castShape), btTransform.getCPtr(from), btTransform.getCPtr(to), btCollisionWorld.ConvexResultCallback.getCPtr(resultCallback));
     if (BulletPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletPINVOKE.SWIGPendingException.Retrieve();
     }
 }