RayCastHelper¶
Helper to trace a ray against the water surface.
Works by sampling at a set of points along the ray and interpolating the intersection location.
Members¶
Constructors¶
The length of the ray and the step size must be given here. The smaller the step size, the greater the accuracy. |
Methods¶
Call this once each frame to do the query. |