Esempio n. 1
0
 public static bool SamplePosition(Vector3 sourcePosition, out XNavMeshHit hit, float maxDistance, ushort exclude)
 {
     hit = new XNavMeshHit();
     return(DetourMgrEx.detourMgrSamplePosition(ref sourcePosition, ref hit, maxDistance, exclude));
 }
Esempio n. 2
0
 public static extern bool detourMgrSamplePosition([In] ref Vector3 pos, ref XNavMeshHit hit, float maxDistance, ushort exclude);
Esempio n. 3
0
 public static bool Raycast(Vector3 sourcePosition, Vector3 targetPosition, out XNavMeshHit hit, ushort exclude)
 {
     hit = new XNavMeshHit();
     return(DetourMgrEx.detourMgrRayCast(ref sourcePosition, ref targetPosition, ref hit, exclude));
 }
Esempio n. 4
0
 public static extern bool detourMgrRayCast([In] ref Vector3 start, [In] ref Vector3 end, ref XNavMeshHit hit, ushort exclude);