I know this is me probably just shooting at nothing when I probably
already know the answer. But is there any way when using the lookAt
function, to not loose the rotations you had previously?

Currently, I've got a model placed on a wall, it can only rotate
around its forward axis, aka the Z vector. This vector always points
to the center of the room and I use the lookAt function to keep it
pointing at the center. However, every time I lookAt the center again,
I loose the previous Z rotation I had and get a 0, 180, 0 rotation or
something of that nature.

Just kinda curious since this would save me about a few hours of work.

Thanks in advance,
Rein

Reply via email to