示例#1
0
 public virtual void rayTest(btVector3 rayFromWorld, btVector3 rayToWorld, btCollisionWorld.RayResultCallback resultCallback)
 {
     BulletPINVOKE.btCollisionWorld_rayTest(swigCPtr, btVector3.getCPtr(rayFromWorld), btVector3.getCPtr(rayToWorld), btCollisionWorld.RayResultCallback.getCPtr(resultCallback));
     if (BulletPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public static void rayTestSingleInternal(btTransform rayFromTrans, btTransform rayToTrans, btCollisionObjectWrapper collisionObjectWrap, btCollisionWorld.RayResultCallback resultCallback)
 {
     BulletPINVOKE.btCollisionWorld_rayTestSingleInternal(btTransform.getCPtr(rayFromTrans), btTransform.getCPtr(rayToTrans), btCollisionObjectWrapper.getCPtr(collisionObjectWrap), btCollisionWorld.RayResultCallback.getCPtr(resultCallback));
     if (BulletPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 public static void rayTestSingle(btTransform rayFromTrans, btTransform rayToTrans, btCollisionObject collisionObject, btCollisionShape collisionShape, btTransform colObjWorldTransform, btCollisionWorld.RayResultCallback resultCallback)
 {
     BulletPINVOKE.btCollisionWorld_rayTestSingle(btTransform.getCPtr(rayFromTrans), btTransform.getCPtr(rayToTrans), btCollisionObject.getCPtr(collisionObject), btCollisionShape.getCPtr(collisionShape), btTransform.getCPtr(colObjWorldTransform), btCollisionWorld.RayResultCallback.getCPtr(resultCallback));
     if (BulletPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletPINVOKE.SWIGPendingException.Retrieve();
     }
 }