Interface PBTriggerAreaResult

Hierarchy

  • PBTriggerAreaResult

Properties

The state of the trigger event (ENTER, STAY, EXIT)

timestamp: number

The timestamp of the trigger event

trigger: undefined | PBTriggerAreaResult_Trigger
triggeredEntity: number

The entity that was triggered (this is the entity that owns the trigger area)

triggeredEntityPosition: undefined | PBVector3

The position of the triggered entity at the time of the trigger

triggeredEntityRotation: undefined | PBQuaternion

The rotation of the triggered entity at the time of the trigger