Collision
Last updated
Last updated
Detects when the input collider enters the bounds of a trigger.
Inputs:
Collider
Collider
The collider to monitor for collisions.
Outputs:
Exit
Flow
Activates a flow when the collision starts.
Trigger Collider
Collider
Reference to the collider that the input collided with.
Detects when the input collider leaves the bounds of a trigger.
Inputs:
Collider
Collider
The collider to monitor for collisions.
Outputs:
Exit
Flow
Activates a flow when the collision stops.
Trigger Collider
Collider
Reference to the collider that the input collided with.
after
Detects when a collision with the input collider starts. A flow is initiated once when the collision starts, but information about the collision is available through the outputs at any time after the collision is detected.
Inputs:
Collider
Collider
The collider to monitor for collisions.
Outputs:
Exit
Flow
Initiates a flow when a collision starts.
Game Object Hit
Game Object
Reference to the game object that the input collided with.
Rigidbody Hit
Rigidbody
Reference to the rigidbody that the input collided with.
Collider Hit
Collider
Reference to the collider that the input collided with.
Collision Point
Vector3
X, Y, Z coordinates of the collision point.
Detects when a collision with the input collider stops. A flow is initiated once when the collision stops, but information about the collision is available through the outputs at any time after the collision stops.
Inputs:
Collider
Collider
The collider to monitor for collisions.
Outputs:
Exit
Flow
Initiates a flow when a collision stops.
Game Object Hit
Game Object
Reference to the game object that the input collided with.
Rigidbody Hit
Rigidbody
Reference to the rigidbody that the input collided with.
Collider Hit
Collider
Reference to the collider that the input collided with.
Collision Point
Vector3
X, Y, Z coordinates of the collision point.
Detects when a collision with the input collider is occurring. A flow is initiated each frame while the collision is occurring. Information about the collision is available through the outputs at any time after the collision is detected, and are updated each frame during the collision.
If both objects involved in the collision have a stable position with no motion after the collision occurs, the On Collision Stay node will stop detecting the collision after a few seconds.
Inputs:
Collider
Collider
The collider to monitor for collisions.
Outputs:
Exit
Flow
Continuation of the activating flow.
Game Object Hit
Game Object
Reference to the game object that the input collided with.
Rigidbody Hit
Rigidbody
Reference to the rigidbody that the input collided with.
Collider Hit
Collider
Reference to the collider that the input collided with.
Collision Point
Vector3
X, Y, Z coordinates of the collision point.
Detects when the input collider is overlapping a trigger.
Inputs:
Collider
Collider
The collider to monitor for collisions.
Outputs:
Exit
Flow
Activates a flow each frame that the collision is occurring.
Trigger Collider
Collider
Reference to the collider that the input collided with.