W3cubDocs

/Godot 3.0

RayShape

Inherits: Shape < Resource < Reference < Object

Category: Core

Brief Description

Ray shape for 3D collisions.

Member Variables

float length - The ray’s length.

Description

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.

© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_rayshape.html