class_rayshape2d - vkbsb/godot GitHub Wiki
RayShape2D
####Inherits: Shape2D ####Category: Core
Brief Description
Ray 2D shape resource for physics.
Member Functions
- void set_length ( float length )
- float get_length ( ) const
Description
Ray 2D shape resource for physics. A ray is not really a collision body, isntead it tries to separate itself from wathever is touching it's far endpoint. It's often useful for ccharacters.