DIFF

class RaycastRVParamsSource

Input parameters for RaycastRVProxy function.

Constructors 1

Members 9

vector begPos

begin position of raycast (e.g. player position)

vector endPos

end position of raycast (e.g. player direction)

Object ignore

ignore this object in collision, used only if groundOnly is false

Referenced by RaycastRVParams()
Object with

ignore object with this object, otherwise collision hits, used only if groundOnly is false

Referenced by RaycastRVParams()
float radius

radius along the ray tested

int type

type of intersection, possible values ObjIntersectFire(0), ObjIntersectView(1), ObjIntersectGeom(2), ObjIntersectIFire(3), ObjIntersectNone(4)

bool sorted

used only if groundOnly = false

bool groundOnly

raycasts only ground (ignores all objects). Default value is false if not needed.

Referenced by RaycastRVParams()