Function includeCollisions

  • Include collisions between the two bodies specified. They'll collide and have collision response. This undoes any exclusion

    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