PDA

View Full Version : orientation of objects



11-10-2000, 05:24 AM
i have some model of a space ship,
and two vectors, one which points to the forward direction of the space ship and one which points to the up direction, and a point, where the center of the space ship should be.

now i have to build a matrix, that rotates and translates the space ship into the right position, but i don't know how to do that

thanx

DFrey
11-10-2000, 05:57 AM
That all depends upon how the ship is positioned in its object space.