Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
RaycastRVParams Class Reference

Input parameters for RaycastRVProxy function. More...

Private Member Functions

void RaycastRVParams (vector vBeg, vector vEnd, Object pIgnore=null, float fRadius=0.0)

Private Attributes

vector begPos
 begin position of raycast (e.g.
vector endPos
 end position of raycast (e.g.
CollisionFlags flags
 Sets the raycast behaviour in terms of result.
bool groundOnly
 raycasts only ground (ignores all objects).
Object ignore
 ignore this object in collision, used only if groundOnly is false
float radius
 radius along the ray tested
bool sorted
 used only if groundOnly = false
int type
 type of intersection, possible values ObjIntersectFire(0), ObjIntersectView(1), ObjIntersectGeom(2), ObjIntersectIFire(3), ObjIntersectNone(4)
Object with
 ignore object with this object, otherwise collision hits, used only if groundOnly is false

Detailed Description

Input parameters for RaycastRVProxy function.

Definition at line 49 of file dayzphysics.c.

Constructor & Destructor Documentation

◆ RaycastRVParams()

void RaycastRVParams ( vector vBeg,
vector vEnd,
Object pIgnore = null,
float fRadius = 0.0 )
inlineprivate

Definition at line 78 of file dayzphysics.c.

References begPos, endPos, flags, groundOnly, ignore, radius, sorted, type, and with.

Field Documentation

◆ begPos

vector begPos
private

begin position of raycast (e.g.

player position)

Definition at line 51 of file dayzphysics.c.

Referenced by RaycastRVParams(), and AreaDamageComponentRaycasted::GetRaycastedHitZone().

◆ endPos

vector endPos
private

end position of raycast (e.g.

player direction)

Definition at line 52 of file dayzphysics.c.

Referenced by RaycastRVParams(), and AreaDamageComponentRaycasted::GetRaycastedHitZone().

◆ flags

◆ groundOnly

bool groundOnly
private

raycasts only ground (ignores all objects).

Default value is false if not needed.

Definition at line 76 of file dayzphysics.c.

Referenced by RaycastRVParams().

◆ ignore

Object ignore
private

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

Definition at line 54 of file dayzphysics.c.

Referenced by RaycastRVParams().

◆ radius

float radius
private

radius along the ray tested

Definition at line 57 of file dayzphysics.c.

Referenced by RaycastRVParams(), TrapBase::OnSteppedOn(), and VicinityItemManager::RefreshVicinityItems().

◆ sorted

bool sorted
private

used only if groundOnly = false

Definition at line 75 of file dayzphysics.c.

Referenced by RaycastRVParams(), and Hud::RefreshPlayerTags().

◆ type

int type
private

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

Definition at line 73 of file dayzphysics.c.

Referenced by RaycastRVParams(), GetRandomizedPositionVerified(), AreaDamageComponentRaycasted::GetRaycastedHitZone(), IsObjectObstructedFilterEx(), Weapon::LiftWeaponCheckEx(), TrapBase::OnSteppedOn(), and VicinityItemManager::RefreshVicinityItems().

◆ with

Object with
private

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

Definition at line 55 of file dayzphysics.c.

Referenced by RaycastRVParams().


The documentation for this class was generated from the following file: