Rotation of a ray-to-mesh hitpoint

looking to maintain constant yaw for a normal transform from a ray-to-mesh hitpoint.
could this be achieved by decomposing somehow to quaternion ?

mesh along.v4p (34.2 KB)
specifically, the cube should maintain what seems to be its heading while gliding on the mesh on the remaining axes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.