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?
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.
The “Open Node Source” button can be really useful for stuff like this:
Damn that was fast. Almost like a chat.
thanks a lot