RaycastManager

Summary

Methods

Method Returns
DetailedRaycast(from: Vec3, to: Vec3, maxHits: int, materialFlags: MaterialFlags, flags: RayCastFlags) RayCastHit{}
CollisionRaycast(from: Vec3, to: Vec3, maxHits: int, materialFlags: MaterialFlags, flags: RayCastFlags) RayCastHit{}
DetailedLatencyRaycast(latency: float, from: Vec3, to: Vec3, maxHits: int, materialFlags: MaterialFlags, flags: RayCastFlags) RayCastHit{}
CollisionLatencyRaycast(latency: float, from: Vec3, to: Vec3, maxHits: int, materialFlags: MaterialFlags, flags: RayCastFlags) RayCastHit{}

Methods

DetailedRaycast

DetailedRaycast(from: Vec3, to: Vec3, maxHits: int, materialFlags: MaterialFlags, flags: RayCastFlags): RayCastHit{}

Parameters

Name Type Description
from Vec3
to Vec3
maxHits int
materialFlags MaterialFlags
flags RayCastFlags

Returns

Type Description
RayCastHit{}

CollisionRaycast

CollisionRaycast(from: Vec3, to: Vec3, maxHits: int, materialFlags: MaterialFlags, flags: RayCastFlags): RayCastHit{}

Parameters

Name Type Description
from Vec3
to Vec3
maxHits int
materialFlags MaterialFlags
flags RayCastFlags

Returns

Type Description
RayCastHit{}

DetailedLatencyRaycast

DetailedLatencyRaycast(latency: float, from: Vec3, to: Vec3, maxHits: int, materialFlags: MaterialFlags, flags: RayCastFlags): RayCastHit{}

Perform a detailed mesh raycast while accounting for the provided network latency.

Parameters

Name Type Description
latency float
from Vec3
to Vec3
maxHits int
materialFlags MaterialFlags
flags RayCastFlags

Returns

Type Description
RayCastHit{}

CollisionLatencyRaycast

CollisionLatencyRaycast(latency: float, from: Vec3, to: Vec3, maxHits: int, materialFlags: MaterialFlags, flags: RayCastFlags): RayCastHit{}

Perform a collision mesh raycast while accounting for the provided network latency.

Parameters

Name Type Description
latency float
from Vec3
to Vec3
maxHits int
materialFlags MaterialFlags
flags RayCastFlags

Returns

Type Description
RayCastHit{}
Last modified October 12, 2021: Add changelog for build 17777 (b47a8213)