help!!!

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
Guest

help!!!

Post by Guest »

*<-target position
|
*<-Current Position-----------------

how do i get the amount of rotation inorder to get the model rotate
from the current position to the target.............
TYN any idea or algorithms on this issue?
smartwhiz
Posts: 120
Joined: Wed Jan 14, 2004 6:03 pm
Location: India

Post by smartwhiz »

hey plz help........... some one?
jox
Bug Slayer
Posts: 726
Joined: Thu Apr 22, 2004 6:55 pm
Location: Germany

Post by jox »

What's supposed to be the center of rotation? Or do you want to rotate something that it faces (looks to) the target?
smartwhiz
Posts: 120
Joined: Wed Jan 14, 2004 6:03 pm
Location: India

Post by smartwhiz »

ya i want the model to face the target point......
smartwhiz
Posts: 120
Joined: Wed Jan 14, 2004 6:03 pm
Location: India

Post by smartwhiz »

Jox i found this link frm ur posts thanks.... for that one... i will try that send in reply



Rotate a Node, face another node:
http://irrlicht.sourceforge.net/phpBB2/ ... hero#12035
Tyn
Posts: 932
Joined: Thu Nov 20, 2003 7:53 pm
Location: England
Contact:

Re: help!!!

Post by Tyn »

Anonymous wrote: TYN any idea or algorithms on this issue?
lol, I'm not that good a programmer, just persistant and trying to keep self-sufficient. I recommend GameDev.net, it's almost become my bible in finding ways to do things :) Using matrices is a much better way than my sprawling math way, although I did get it to work :)
Post Reply