Raycast.init - HermesPasser/Ramu GitHub Wiki

Raycast.init()

Description

Starts the raycast.

You can test this snippet of code here.

let ray = new Raycast(1,3,5,6);
ray.init(0, 0, 20, 30, 10);

Ramu.init();
Ramu.debugMode = true;

See also Raycast.abort.