A detection component. Execute Raycast to check if there is an Object in a line towards Raycast's direction. Said line can be seen as a white arrow after selecting Raycast.
Attach To | Optional. Selects an Object to be the source of the Raycast. |
Execute | Executes the component. |
On Start | Executes the component when the hype starts. |
Always | Executes the component on each frame. |
Enabled | Determines if the component is executable. |
Local Direction | Makes Raycast's direction be based in the attached Object's direction. |
Local Offset | Makes Raycast's Offset be calculated based in Raycast's direction instead of global coordinates. |
Group Filter | Determines the Color Groups that this Raycast can hit. |
Ignore Filter | Determines the Color Groups that Raycast will ignore. |
Min / Max Range | Determines the range in which Raycast can hit Objects specified by the Group Filter. |
Offset X / Y / Z | Determines the offset of Raycast's source. |
On Hit Object | When Raycast hits an Object, outputs both the distance from said Object and the Object reference. |
Did Hit | The values and/or actions this component sends forward when it is executed and hits an Object. |
Didn't Hit | The values and/or actions this component sends forward when it is executed and doesn't hit an Object. |
On Hit Normal Vector | Outputs the normal vector of the face of the Object the Raycast hits on. Mainly used for reflections. |
Disable Jump in the Air
Includes using Button, Force, Compare & Raycast components
Here's some links to the hypes that shows how to implement and use the Raycast node: