crashcat docs
    Preparing search index...

    Function hasCollidedWith

    • Checks if the character has collided with a specific body during the current frame.

      Parameters

      • character: KCC

        the character controller

      • bodyId: number

        the body ID to check for collision with

      Returns boolean

      true if the character has collided with the specified body