Hello all! I've searched through the forums and all over google and can't seem to find anything on this subject. I'm sure this probably isn't TOO complicated but I'm still new to this and my graphics / linear knowledge probably isn't what it should be.
Here's my problem.. or what I'm attempting to do anyway. I have a model loaded into a node loaded into a matrixtransformation. While at some point in space, I want to orient the model back at a "target" location. For simplicity and ease of explaining the design, let's call the model a rocket. The idea is to orient the rocket toward the "target" location and then set an update callback moving it along that path. All of this is no big deal other than setting the initial orientation. I'm not really sure how to do that. I know how to make rotations and such, but I don't really know how to dynamically check to see if the current orientation is aligned on the right path. Eventually I'd like the orientation to be animated (ie. a callback that rotates the model in place until it's aligned with the target path or something of that nature) but for the moment I'd like to just know how to come up with a single rotation from any point toward another point. I THINK I can figure out the rest... maybe... hopefully? :) hahaha. Thanks to anyone that can help me out with this.. Kris ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16494#16494 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

