Skip to main content
Version: 3.9.0

Collider Event 2D

Detects the collision events between rigid body components and outputs relevant information through the Collision Info node.

Input

NameData TypeDescription
StartExecStarts ray cast
Collider ComponentComponentThe object to track for collision events
Event TypeStringTriggers Next depending on the event type

Output

NameData TypeDescription
NextExecExecutes the next node
Self ColliderComponentOutputs the collider component of itself
Other ColliderComponentOutputs the collider component of the collided object
Hit PointVec2The position of the collision point
Hit NormalVec2The direction of the collision normal
Normal ImpulseNumberThe magnitude of the force in the direction of the collision normal at the collision point
Tangent ImpulseNumberThe magnitude of the force in the direction tangential to the collision normal at the collision point