Exemple #1
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PxRaycastHit obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public bool BoxCast(PxVec3 center, PxVec3 halfExtents, PxVec3 direction, out PxRaycastHit hitInfo, PxVec4 orientation, float maxDistance, int layerMask)
 {
     return(PhysXDll.BoxCast(this.scenePtr, center, direction, halfExtents, orientation, maxDistance, layerMask, out hitInfo));
 }
 public bool BoxCast(PxVec3 center, PxVec3 halfExtents, PxVec3 direction, out PxRaycastHit hitInfo)
 {
     return(BoxCast(center, halfExtents, direction, out hitInfo, PxVec4.Identity));
 }
 public bool BoxCast(PxVec3 center, PxVec3 halfExtents, PxVec3 direction, out PxRaycastHit hitInfo, PxVec4 orientation)
 {
     return(BoxCast(center, halfExtents, direction, out hitInfo, orientation, -1));
 }