Implement onTrigger callbacks

This commit is contained in:
bloeys
2023-10-10 10:58:49 +04:00
parent c740204bd5
commit 07bf698c2c
14 changed files with 389 additions and 244 deletions

9
pgo/triggerPairFlag.go Executable file
View File

@ -0,0 +1,9 @@
package pgo
type TriggerPairFlag uint32
const (
TriggerPairFlag_eREMOVED_SHAPE_TRIGGER TriggerPairFlag = (1 << 0) //!< The trigger shape has been removed from the actor/scene.
TriggerPairFlag_eREMOVED_SHAPE_OTHER TriggerPairFlag = (1 << 1) //!< The shape causing the trigger event has been removed from the actor/scene.
TriggerPairFlag_eNEXT_FREE TriggerPairFlag = (1 << 2) //!< For internal use only.
)