FingerRayCast

The event is triggered when a raycast originating from the specified finger / mouse button hits an object in the level.

  • finger: Which finger movement should trigger the ray cast.
  • view_center: If checked, uses the view's center point instead of the finger/mouse position as origin of the ray cast.
  • ray_class: The collision class of the ray, should be used to filter picking with only certain entities.
  • max_distance: The maximum distance at which an object will be hit.