Get Raycast hit position

I searched for a day but I could only find information about getting mesh that ray hit.

Hi there,

Try this.

The gurus here showed me this previously: playground

Insert this line at 76 and check out the console:

console.log(hit.pickedPoint);

I hope this helps!

edit: apologies, forgot this. it comes from this documentation Raycasts - Babylon.js Documentation

1 Like