from tdw.collision_data.trigger_collision_event import TriggerCollisionEvent
Data for a trigger collision event.
-
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.
TriggerCollisionEvent(collision)
| Parameter | Type | Default | Description |
|---|---|---|---|
| collision | TriggerCollision | The TriggerCollision output data. |