[Solved] Get normal of face by rayCast

Hi,

i am struggling on a very simple problem.
i cast a ray with:
var myray = physics.rayCast(from, to);

i do know how to get the worldhitpoint but what i want is to get the normal of the face the ray is hitting.
How can i accomplish that?

Here you go. :slight_smile:

The “Open Node Source” button can be really useful for stuff like this:

image

2 Likes

Damn that was fast. Almost like a chat. :grinning:
thanks a lot

2 Likes