ray_cast namespace

Raycast related method and properties.

Classes

Methods

add_to_filter(self, item: BaseItem) -> None

Adds an item to the raycast filter.

cast(self, origin: Vector3, direction: Vector3) -> Result

Casts a ray from origin towards direction. The ray length is infinite.

remove_from_filter(self, item: BaseItem) -> None

Removes an item from the raycast filter.