Runs the script when the object collides physically with another object. Other objects motion types will have to be set to physical.

when_you_bounce_off_brick2.png

Correlates with this brick:

Set motion type to Brick
Learn more >>

Example

The panda collides with the ground and then jumps. To collide you need at least two objects:

When physical collision with Example 1

For the panda set the motion type to “bouncing with gravity” and use this script:

When physical collision with Example 2

For the ground set the motion type to “others bounce off it”:

When physical collision with Example 3

Result

Download

When physical collision with Result