I am looking for some greatly simplified code to handle the motion of a node. When I add a node it gets added to the origin and I see everything fine. I can set the rotation and everything behaves as expected.
What I would like to do is to take that node and rotate it relative to its current orientation. I understand that this involves some matrix math, and that this is built in to the engine, but I can't seem to find the magical incantation that works for my case.
Can anyone provide a simple snippet to rotate a node relative to its current heading?
Thanks in advance,
Relative Rotation
-
- Posts: 18
- Joined: Thu Jun 16, 2011 2:46 pm
Relative Rotation
You are unique - just like everyone else.