Physics.Collisions¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The input of the shard, if any | Physics.Body |
||
Output ➡️ |
The resulting output of the shard | [{other: Physics.Body otherTag: Any penetrationDepth: Float normal: Float3}] |
||
Enter |
No | The code to execute when a new contact is detected. | none |
[Shard] None |
Leave |
No | The code to execute when a contact is removed. | none |
[Shard] None |
Gets the list of current contacts for the input physics body and runs the shards specified when a new contact is detected or when a contact is removed.