Camera Direction

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
Gibbo
Posts: 8
Joined: Thu Aug 10, 2006 1:17 pm

Camera Direction

Post by Gibbo »

Hi,
Was wondering if it was possible to get the camera direction back?
I've got the active cam, which has the updirection on which is useful..
But there is direction or normal. I looked at the target, which seems to always be 0,0,0 and used the cam.position and cam.AbsolutePosition to create a vector for the camera direction.. But this causes problems when the camera position is 0,0,0 as the direction comes back as 0,0,0 :!:

Any ideas?

Many thanks

Gibbo
Locked