Skip to content
On this page

AthenaClient.utility.raycast

Variables

default

Const default: Object

Type declaration

NameType
isFacingWater() => any
performRaycast(start: IVector3, end: IVector3, flags: number, radius: number, useShapeTest?: boolean) => [number, boolean, IVector3, IVector3, number]
positionFromCamera(flags?: number, useShapeTest?: boolean, radius?: number) => any
positionFromPlayer(flags: number, useShapeTest?: boolean, radius?: number) => any
simpleRaycast(flags?: number, maxDistance: number, useShapeTest?: boolean, radius?: number) => { didComplete: boolean ; didHit?: boolean ; entityHit?: number ; position?: IVector3 }
simpleRaycastPlayersView(flags: number, maxDistance: number, useShapeTest?: boolean, radius?: number) => { didComplete: boolean ; didHit?: boolean ; entityHit?: number ; position?: IVector3 }

Defined in

client/utility/raycast.ts:6

Created by Stuyk | Est. 2020