Exemple #1
0
        public virtual bool sweep(PxGeometry geometry, PxTransform pose, PxVec3 unitDir, float distance, SWIGTYPE_p_physx__PxHitCallbackT_physx__PxSweepHit_t hitCall, SWIGTYPE_p_physx__PxFlagsT_physx__PxHitFlag__Enum_uint16_t_t hitFlags, PxQueryFilterData filterData, PxQueryFilterCallback filterCall)
        {
            bool ret = physxPINVOKE.PxVolumeCache_sweep__SWIG_1(swigCPtr, PxGeometry.getCPtr(geometry), PxTransform.getCPtr(pose), PxVec3.getCPtr(unitDir), distance, SWIGTYPE_p_physx__PxHitCallbackT_physx__PxSweepHit_t.getCPtr(hitCall), SWIGTYPE_p_physx__PxFlagsT_physx__PxHitFlag__Enum_uint16_t_t.getCPtr(hitFlags), PxQueryFilterData.getCPtr(filterData), PxQueryFilterCallback.getCPtr(filterCall));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #2
0
        public virtual bool overlap(PxGeometry geometry, PxTransform pose, SWIGTYPE_p_physx__PxHitCallbackT_physx__PxOverlapHit_t hitCall, PxQueryFilterData filterData, PxQueryFilterCallback filterCall)
        {
            bool ret = physxPINVOKE.PxVolumeCache_overlap__SWIG_0(swigCPtr, PxGeometry.getCPtr(geometry), PxTransform.getCPtr(pose), SWIGTYPE_p_physx__PxHitCallbackT_physx__PxOverlapHit_t.getCPtr(hitCall), PxQueryFilterData.getCPtr(filterData), PxQueryFilterCallback.getCPtr(filterCall));

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #3
0
        public virtual bool raycast(PxVec3 origin, PxVec3 unitDir, float distance, SWIGTYPE_p_physx__PxHitCallbackT_physx__PxRaycastHit_t hitCall, SWIGTYPE_p_physx__PxFlagsT_physx__PxHitFlag__Enum_uint16_t_t hitFlags, PxQueryFilterData filterData, PxQueryFilterCallback filterCall)
        {
            bool ret = physxPINVOKE.PxVolumeCache_raycast__SWIG_0(swigCPtr, PxVec3.getCPtr(origin), PxVec3.getCPtr(unitDir), distance, SWIGTYPE_p_physx__PxHitCallbackT_physx__PxRaycastHit_t.getCPtr(hitCall), SWIGTYPE_p_physx__PxFlagsT_physx__PxHitFlag__Enum_uint16_t_t.getCPtr(hitFlags), PxQueryFilterData.getCPtr(filterData), PxQueryFilterCallback.getCPtr(filterCall));

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