Exemplo n.º 1
0
 public bool SphereCast(PxVec3 origin, float radius, PxVec3 direction, out PxRaycastHit hitInfo, float maxDistance, int layerMask)
 {
     return(PhysXDll.SphereCast(this.scenePtr, origin, direction, radius, maxDistance, layerMask, out hitInfo));
 }
 public bool CapsuleCast(CapsuleAxis axis, PxVec3 center, float radius, float halfHeigh, PxVec3 direction, out PxRaycastHit hitInfo, PxVec4 orientation)
 {
     return(CapsuleCast(axis, center, radius, halfHeigh, direction, out hitInfo, -1, orientation));
 }
Exemplo n.º 3
0
 public bool SphereCast(PxVec3 origin, float radius, PxVec3 direction, out PxRaycastHit hitInfo)
 {
     return(PhysXDll.SphereCast(this.scenePtr, origin, direction, radius, -1, out hitInfo));
 }
Exemplo n.º 4
0
 public bool SphereCast(PxRay ray, float radius, out PxRaycastHit hitInfo, float maxDistance, int layerMask)
 {
     return(SphereCast(ray.origin, radius, ray.direction, out hitInfo, maxDistance, layerMask));
 }
 public bool Raycast(PxVec3 origin, PxVec3 direction, out PxRaycastHit hitInfo, float maxDistance)
 {
     return(PhysXDll.Raycast(this.scenePtr, origin, direction, maxDistance, out hitInfo));
 }
Exemplo n.º 6
0
 public bool SphereCast(PxRay ray, float radius, out PxRaycastHit hitInfo)
 {
     return(SphereCast(ray.origin, radius, ray.direction, out hitInfo));
 }
 public bool Raycast(PxRay ray, out PxRaycastHit hitInfo, float maxDistance)
 {
     return(Raycast(ray.origin, ray.direction, out hitInfo, maxDistance));
 }
Exemplo n.º 8
0
 public static extern bool SphereCast(IntPtr scene, PxVec3 origin, PxVec3 direction, float radius, float maxDistance, int layerMask, out PxRaycastHit hitInfo);
 public bool Linecast(PxVec3 start, PxVec3 end, out PxRaycastHit hitInfo, int layerMask)
 {
     return(Raycast(start, end - start, out hitInfo, layerMask));
 }
Exemplo n.º 10
0
 public bool Raycast(PxRay ray, out PxRaycastHit hitInfo)
 {
     return(Raycast(ray.origin, ray.direction, out hitInfo));
 }
Exemplo n.º 11
0
 public bool Linecast(PxVec3 start, PxVec3 end, out PxRaycastHit hitInfo)
 {
     return(Raycast(start, end - start, out hitInfo));
 }
Exemplo n.º 12
0
 public static extern bool CapsuleCast(IntPtr scene, int axis, PxVec3 origin, PxVec3 direction, float radius, float halfHeight, PxVec4 orientation, float maxDistance, int layerMask, out PxRaycastHit hitInfo);
Exemplo n.º 13
0
 public static extern bool BoxCast(IntPtr scene, PxVec3 origin, PxVec3 direction, PxVec3 halfExtents, PxVec4 orientation, float maxDistance, int layerMask, out PxRaycastHit hitInfo);
 public bool CapsuleCast(CapsuleAxis axis, PxVec3 center, float radius, float halfHeigh, PxVec3 direction, out PxRaycastHit hitInfo, float maxDistance)
 {
     return(CapsuleCast(axis, center, radius, halfHeigh, direction, out hitInfo, maxDistance, PxVec4.Identity));
 }
Exemplo n.º 15
0
 public bool Raycast(PxVec3 origin, PxVec3 direction, out PxRaycastHit hitInfo)
 {
     return(Raycast(origin, direction, out hitInfo, -1));
 }
 public bool CapsuleCast(CapsuleAxis axis, PxVec3 center, float radius, float halfHeigh, PxVec3 direction, out PxRaycastHit hitInfo, float maxDistance, int layerMask, PxVec4 orientation)
 {
     return(PhysXDll.CapsuleCast(this.scenePtr, (int)axis, center, direction, radius, halfHeigh, orientation, maxDistance, layerMask, out hitInfo));
 }
Exemplo n.º 17
0
 public static extern bool Raycast(IntPtr scene, PxVec3 origin, PxVec3 direction, float maxDistance, out PxRaycastHit hitInfo);