Inherits: Shape < Resource < Reference < Object
Ray shape for 3D collisions.
Ray shape for 3D collisions, which can be set into a PhysicsBody or Area. 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.
true, allow the shape to return the correct normal.
doradoro's advice! Getters and Setters will be deprecated! Avoid their use!
Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:39:08. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.