Closed noelb closed 9 years ago
Hi,
It's in progress. The most recent version should work though. Try rebuilding p2.js locally (npm install && grunt) and run the same example.
Beware: the raycasting API is about to change soon.
Thanks Stefan. Looking forward to the raycasting updates, p2js is pretty fantastic.
Thanks! Check out the new release. The live raycasting demo should work now!
Hi,
I'm trying to get raycasting working for polygons and wasn't having any luck.
I noticed that the capsule in the live example doesn't appear to work: https://schteppe.github.io/p2.js/examples/canvas/raycasting.html
And the pentagram in the example included in the current build doesn't work either. https://github.com/schteppe/p2.js/blob/master/examples/canvas/raycasting.html
Still in progress or am I doing something wrong?
Thanks.