I've got a little problem with relative rotations. I spend the last hour searching for other related threads and test some found code but it does not work the way it should.
the scenario :
There is an array of positions for a SceneNode. At step 0 the user can rotate the mesh to look torward step one. This is the start direction of the mesh.
Now i need a method, which rotates the node, relative
to its "initial rotation" (set by the user), to face the next step position.
I saw other code snippets, using a direction vector for the mesh, but I want to rotate the node without using such one. The function should only rely on the current rotation and the position of the next step.
In 2D its not that hard, but I got no idea how to do that in 3 dimensional space.
hope someone can help me out

greets
paddy