TriggerCollisionEvent
February 10, 2022 ยท View on GitHub
from tdw.collision_data.trigger_collision_event import TriggerCollisionEvent
Data for a trigger collision event.
Fields
-
trigger_idThe ID of the trigger collider. -
collidee_idThe ID of the collidee object (the object that has the trigger collider). -
collider_idThe ID of the collider object (the object the collided with the trigger collider). -
stateThe state of the collision.
Functions
__init__
TriggerCollisionEvent(collision)
| Parameter | Type | Default | Description |
|---|---|---|---|
| collision | TriggerCollision | The TriggerCollision output data. |