ray_cast.add_to_filter method

add_to_filter(self, item: BaseItem) -> None:

Adds an item to the raycast filter.

Items added to the filter will not be traceable.

Parameters

  • item: BaseItem

    item to add to the filter.