Motion
Get Motion

ReferenceScript nodesPhysics

Cast Ray

The first mote's body a line from Start to End meets, where, and its normal there. Goes on a tick later.

PhysicscastRay

Inputs

PinTypeStarts atNotes
inwhat happens next––
Startfromvec3(0, 0, 0)–
Endtovec3(0, 1000, 0)–

Outputs

PinType
donewhat happens next
Resulthitbool
Hit Motemotemote
Locationpointvec3
Normalnormalvec3

In a graph

The node with what starts it and Print to show what it gives, as Studio draws them.