class_raycast2d - dragonsoulz/godot GitHub Wiki
RayCast2D
####Inherits: Node2D ####Category: Core
Brief Description
Member Functions
- void set_enabled ( bool enabled )
- bool is_enabled ( ) const
- void set_cast_to ( Vector2 local_point )
- Vector2 get_cast_to ( ) const
- bool is_colliding ( ) const
- Object get_collider ( ) const
- int get_collider_shape ( ) const
- Vector2 get_collision_point ( ) const
- Vector2 get_collision_normal ( ) const
- void add_exception_rid ( RID rid )
- void add_exception ( Object node )
- void remove_exception_rid ( RID rid )
- void remove_exception ( Object node )
- void clear_exceptions ( )
- void set_layer_mask ( int mask )
- int get_layer_mask ( ) const