class

Godot::RayCast3D

Inherits Godot::Node3D < Godot::Node < Godot::Object < Reference < Object

Ray casting node for 3D physics ray intersection queries.

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

add_exception(node : CollisionObject3D) : Void
Source
add_exception_rid(rid : Int64) : Void
Source
clear_exceptions
Source
collide_with_areas

Property collide_with_areas getter

Source
collide_with_areas=(val)

Property collide_with_areas setter

Source
collide_with_areas?
Source
collide_with_bodies

Property collide_with_bodies getter

Source
collide_with_bodies=(val)

Property collide_with_bodies setter

Source
collide_with_bodies?
Source
colliding?
Source
collision_mask

Property collision_mask getter

Source
collision_mask=(val : Int)

Property collision_mask setter

Source
collision_normal
Source
collision_point
Source
debug_shape_custom_color

Property debug_shape_custom_color getter

Source
debug_shape_custom_color=(val)

Property debug_shape_custom_color setter

Source
debug_shape_thickness

Property debug_shape_thickness getter

Source
debug_shape_thickness=(val : Int)

Property debug_shape_thickness setter

Source
enabled
Source
enabled=(v : Bool)
Source
enabled?
Source
exclude_parent

Property exclude_parent getter

Source
exclude_parent=(val)

Property exclude_parent setter

Source
exclude_parent?
Source
force_raycast_update
Source
get_collider
Source
get_collider?

Convenience query returning the collider as Godot::Object? if alive, or nil if no hit or dead

Source
get_collider_rid
Source
get_collider_shape
Source
get_collision_face_index
Source
get_collision_mask
Source
get_collision_mask_value(layer_number : Int64) : Bool
Source
get_collision_normal
Source
get_collision_point
Source
get_debug_shape_custom_color
Source
get_debug_shape_thickness
Source
get_exclude_parent_body
Source
get_target_position
Source
hit_back_faces

Property hit_back_faces getter

Source
hit_back_faces=(val)

Property hit_back_faces setter

Source
hit_back_faces?
Source
hit_from_inside

Property hit_from_inside getter

Source
hit_from_inside=(val)

Property hit_from_inside setter

Source
hit_from_inside?
Source
is_collide_with_areas_enabled
Source
is_collide_with_bodies_enabled
Source
is_colliding
Source
is_enabled
Source
is_hit_back_faces_enabled
Source
is_hit_from_inside_enabled
Source
remove_exception(node : CollisionObject3D) : Void
Source
remove_exception_rid(rid : Int64) : Void
Source
set_collide_with_areas(enable : Bool) : Void
Source
set_collide_with_bodies(enable : Bool) : Void
Source
set_collision_mask(mask : Int64) : Void
Source
set_collision_mask_value(layer_number : Int64, value : Bool) : Void
Source
set_debug_shape_custom_color(debug_shape_custom_color : Color) : Void
Source
set_debug_shape_thickness(debug_shape_thickness : Int64) : Void
Source
set_enabled(enabled : Bool) : Void
Source
set_exclude_parent_body(mask : Bool) : Void
Source
set_hit_back_faces(enable : Bool) : Void
Source
set_hit_from_inside(enable : Bool) : Void
Source
set_target_position(local_point : Vector3) : Void
Source
target_position
Source
target_position=(v : Vector3)
Source