class
Godot::RaycastBuilder2D
- Godot::RaycastBuilder2D
- Reference
- Object
Overview
Fluent builder for constructing and executing 2D raycasts.
Defined in:
libgodot/extensions/physics.crConstructors
Instance Method Summary
- #areas(enable : Bool = true) : self
- #bodies(enable : Bool = true) : self
- #collide? : Bool
- #collide_with_areas? : Bool
- #collide_with_bodies? : Bool
- #direction(dir : Vector2, distance : Float64 = 100.0) : self
- #exclude(list : Enumerable(Godot::Object | Godot::RID)) : self
- #exclude(*objects : Godot::Object | Godot::RID) : self
- #exclude_list : Array(Godot::Object | Godot::RID)
- #from(pos : Vector2) : self
- #from_pos : Vector2
- #mask(mask : UInt32 | Int) : self
- #mask_val : UInt32
- #origin_node : Node2D
- #query : PhysicsHit2D | Nil
- #to(pos : Vector2) : self
- #to_pos : Vector2 | Nil
Instance methods inherited from class Object
try?(&)try? try?