Hi,

using the Raycast Node I project a curve onto a surface. The curve is 2D and Z-UP, floating above the ground. Now i want to control the curve tilt in a way that it takes the different ground angles into account. The Raycast Node proveides the surface angles. But how would I combine that with the curve tangent to get an angle? Just tried with a dot product and hoped for the best. But it is more complicated.

It seems like a basic problem, but couldn’t find any ressource on it.

Thank you