tags: physics title: Trigger brief: This example shows how a physics trigger is used to trigger an event. In this case the bunny sprite is disabled and enabled. author: Defold Foundation
The setup consists of two game objects.
trigger : The invisible trigger. Contains:
TRIGGER
. A box Shape is added to the components.bunny : The bunny. Contains:
DYNAMIC
. A sphere Shape matching the sprite image is added to the components.