Fancade Wiki

Collision checks the collision properties of the input object.

Output:

  • Collided: Triggers when the input object collides with another object, including the floor.
  • 2nd Object: The object that the input object collided with. It outputs "None" if collided with the floor.
  • Impulse: The impact force of the collision (how hard did they collide). Specifically, impulse is a change of momentum of an object.
  • Normal: The direction of the impact from the 2nd object to the 1st object.

Examples

The script below causes you to win if the two physics boxes collide with each other.

Because the ground counts as "None", the script below causes you to lose if the sphere touches the ground.

Triggers a sound effect only if the impulse is big enough.

Collision — Fancade Wiki