Motion
Get Motion

ReferenceScripting APIMotionRayHit

MotionRayHit

interface

What a ray met.

NameMotionRayHit
Kindinterface
Script reaches it asimport { MotionRayHit } from "motion" · MotionStageApi.castRay() · Stage.castRay()
Since0.3

Syntax

interface MotionRayHit { … }

Properties

NameTypeDescription
motepropertyMoteThe mote it hit.
pointpropertyVector3Where it hit.
normalpropertyVector3Which way the surface faces there, a length of 1.
distancepropertynumberHow far from where the ray started.

See also

Mote · Vector3