Hierarchy

  • PBRaycastResult

Properties

direction: undefined | PBVector3

the direction vector of the ray in global coordinates

globalOrigin: undefined | PBVector3

the starting point of the ray in global coordinates

hits: RaycastHit[]

zero or more hits

tickNumber: number

number of tick in which the event was produced, equals to EngineInfo.tick_number

timestamp?: number

timestamp is a correlation id, copied from the PBRaycast