"rotate to face camera" equation?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
boredom

"rotate to face camera" equation?

Post by boredom »

hi,

can anybody supply me with a nice equation for rotating an object (in my case the enemy) to face the camera? i think i'd just need to rotate the y value, as md2's (i don't think, anyway) don't support looking up/down.

thanks again, everyone - you've been a greate help!
hearsedriver
Posts: 81
Joined: Fri Aug 22, 2003 12:06 pm
Location: Germany
Contact:

Post by hearsedriver »

This issue was discussed not long a go, someone provided even some sourcecode. Search the forums.

Cheers.
matthias gall, lead programmer at sechsta sinn - email matthias@sechsta-sinn.de
Post Reply