Function excludeCollisions

  • Exclude collisions between the two bodies specified. They'll no longer collide or have collision response

    Parameters

    • world: World

      The world in which we want the exclusion to take place

    • bodyA: Body

      First body to exclude from colliding with bodyB

    • bodyB: Body

      Second body to exclude from colliding with bodyA

    Returns void