[Solved] Get normal of face by rayCast


#1

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?


#2

Here you go. :slight_smile:

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

image


#3

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