RayShape¶
Inherits: Shape < Resource < Reference < Object
Forma de rayo para colisiones en 3D.
Descripción¶
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.
Propiedades¶
|
||
|
Descripciones de Propiedades¶
float length
Default |
|
Setter |
set_length(value) |
Getter |
get_length() |
La longitud del rayo.
bool slips_on_slope
Default |
|
Setter |
set_slips_on_slope(value) |
Getter |
get_slips_on_slope() |
Si true
, permite que la forma devuelva la normalidad correcta.