Ray shape for 2D collisions.
A ray is not really a collision body; instead, it tries to separate itself from whatever is touching its far endpoint. It's often useful for characters.
The ray's length.
If true, allow the shape to return the correct normal.
Construct a new instance of RayShape2D. Note: use memnew!RayShape2D instead.
See Implementation
Ray shape for 2D collisions.
A ray is not really a collision body; instead, it tries to separate itself from whatever is touching its far endpoint. It's often useful for characters.