Engine API Reference - v2.20.0-beta.0
    Preparing search index...

    Class Trigger

    Creates a trigger object used to create internal physics objects that interact with rigid bodies and trigger collision events with no collision response.

    Index

    Constructors

    Constructors

    • Create a new Trigger instance.

      Parameters

      • app: AppBase

        The running AppBase.

      • component: Component

        The component for which the trigger will be created.

      • data: any

        The data for the component.

      Returns Trigger