View Single Post
  #1  
Old 07-02-2009, 05:11 AM
Boombay Boombay is offline
Member
 
Join Date: Apr 2009
Posts: 1
simple question?

hello everyone,

somebody knows a function, from which i can calculate a direction vector out of a given point (anywhere in the world coordination system) + a given euler angle from a tracker?

my code looks like this:

track = itracker.getEuler()
point = object.getPosition()
directionVector = ?

the direction Vector should be an arrow, pointing from the given Position in the direction of the tracker.

i have already searched about preEuler Matrix transformations, but i didnt get a working system.
Reply With Quote