Skip to content

Interface: RayCastOutput ​

Ray-cast output data. The ray hits at p1 + fraction * (p2 - p1), where p1 and p2 come from RayCastInput.

Properties ​

fraction ​

fraction: number


normal ​

normal: Vec2