Cast Ray
The first mote's body a line from Start to End meets, where, and its normal there. Goes on a tick later.
ƒCast Ray
Start000Result
End010000Hit Mote
Location
Normal
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
in | what happens next | – | – |
Startfrom | vec3 | (0, 0, 0) | – |
Endto | vec3 | (0, 1000, 0) | – |
Outputs
| Pin | Type |
|---|---|
done | what happens next |
Resulthit | bool |
Hit Motemote | mote |
Locationpoint | vec3 |
Normalnormal | vec3 |
In a graph
◆On Scene Start
ƒCast Ray
Start000Result
End010000Hit Mote
Location
Normal
ƒPrint
In Text
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.