Yeah, but who knows where the mesh is looking? Assuming your mesh is a cube (for testing purposes), I cannot guarantee any "looking" direction. You have to define "front" somehow.
The front was (0,0,1). But nevermind now.
Thanks rogerborg the second was the function I was looking for.
Search found 4 matches
- Wed Oct 08, 2008 4:38 pm
- Forum: Beginners Help
- Topic: adjust model to vectors
- Replies: 12
- Views: 2098
- Wed Oct 08, 2008 2:01 pm
- Forum: Beginners Help
- Topic: adjust model to vectors
- Replies: 12
- Views: 2098
- Wed Oct 08, 2008 1:39 pm
- Forum: Beginners Help
- Topic: adjust model to vectors
- Replies: 12
- Views: 2098
- Wed Oct 08, 2008 1:24 pm
- Forum: Beginners Help
- Topic: adjust model to vectors
- Replies: 12
- Views: 2098
adjust model to vectors
Hello there,
i've got a problem adjusting a model to three given vectors(right vector, up vector and view vector). I'm able to compute them properly and the look in the direction i want them to look. I also changed the Irrlicht Code to override the relative Transformation routine to change the ...
i've got a problem adjusting a model to three given vectors(right vector, up vector and view vector). I'm able to compute them properly and the look in the direction i want them to look. I also changed the Irrlicht Code to override the relative Transformation routine to change the ...