Rebornbuddy
Loading...
Searching...
No Matches
ff14bot.Managers.GameWorld Class Reference

Static Public Member Functions

static bool Raycast (Vector3 start, Vector3 end, RaycastFlags flag1, RaycastFlags flag2, out RaycastResult result)
 Performs a raycast, start and end points far from the player may yield inaccurate results due to the game not loading assets.
static void MassTraceLine (WorldLine[] lines, RaycastFlags flag1, RaycastFlags flag2, RaycastFlags ignoreFlag, out bool[] hitResults, out Vector3[] hitPoints)
 Performs a mass traceline.
static bool Raycast (Vector3 start, Vector3 end, RaycastFlags flag1, RaycastFlags flag2, RaycastFlags ignoreFlags, out RaycastResult result)
 Performs a raycast, start and end points far from the player may yield inaccurate results due to the game not loading assets Performs additional raycasts if a hit is found with the ignoreFlags check that the result does not have the.
static List< TriangleGetTriangles (Vector3 boundsMin, Vector3 boundsMax, RaycastFlags flags, uint AdvancedFlags=1)
 Gets triangles from the world inside of the bounds. Returns all Triangles between Min and Max that have at least 1 vertex inside the bounds.
static bool IntersectsBox (Vector3 a, Vector3 b, Vector3 c, Vector3 min, Vector3 max)

Member Function Documentation

◆ GetTriangles()

List< Triangle > ff14bot.Managers.GameWorld.GetTriangles ( Vector3 boundsMin,
Vector3 boundsMax,
RaycastFlags flags,
uint AdvancedFlags = 1 )
static

Gets triangles from the world inside of the bounds. Returns all Triangles between Min and Max that have at least 1 vertex inside the bounds.

Parameters
boundsMin
boundsMax
flagsRaycast flags to hit
AdvancedFlagspass 1 unless you know what you are doing!
Returns

◆ IntersectsBox()

bool ff14bot.Managers.GameWorld.IntersectsBox ( Vector3 a,
Vector3 b,
Vector3 c,
Vector3 min,
Vector3 max )
static

◆ MassTraceLine()

void ff14bot.Managers.GameWorld.MassTraceLine ( WorldLine[] lines,
RaycastFlags flag1,
RaycastFlags flag2,
RaycastFlags ignoreFlag,
out bool[] hitResults,
out Vector3[] hitPoints )
static

Performs a mass traceline.

Parameters
linesThe lines.
flagThe flag.
hitResults[out] The hit results.
hitPoints[out] The hit points.

◆ Raycast() [1/2]

bool ff14bot.Managers.GameWorld.Raycast ( Vector3 start,
Vector3 end,
RaycastFlags flag1,
RaycastFlags flag2,
out RaycastResult result )
static

Performs a raycast, start and end points far from the player may yield inaccurate results due to the game not loading assets.

Parameters
start
end
flag1
flag2
result
Returns
true if there was a hit

◆ Raycast() [2/2]

bool ff14bot.Managers.GameWorld.Raycast ( Vector3 start,
Vector3 end,
RaycastFlags flag1,
RaycastFlags flag2,
RaycastFlags ignoreFlags,
out RaycastResult result )
static

Performs a raycast, start and end points far from the player may yield inaccurate results due to the game not loading assets Performs additional raycasts if a hit is found with the ignoreFlags check that the result does not have the.

Parameters
start
end
flag1
flag2
ignoreFlagsif the triangle has any of these flags false will be returned
result
Returns
true if there was a hit