Page 1 of 1

free flight mode

PostPosted: Thursday, 20.September 2012, 18:15
by ikam
Hi

I've added a hidden part on a demo, to use a free flight camera.
But when I start this hidden part, the camera is far from the scene center and I didn't found how to automatically center (or define a wanted position) the camera at startup (except pressing 'r'), do you know how to do ?

thanks

example demo file :

Re: free flight mode

PostPosted: Friday, 21.September 2012, 11:29
by erbsen
It seems to work when "Override FreeCam" and "React to FreeCam" is set to "off".

Re: free flight mode

PostPosted: Friday, 21.September 2012, 15:59
by erbsen
I´m wrong, just the camera position works, not the free camera feature. :oops:

Re: free flight mode

PostPosted: Friday, 21.September 2012, 19:10
by Skinnytorus
Hey guys,
IMHO, in order to control the initial position of the free camera you'll have to manually edit this string:
\altona_wz4\wz4\wz4player\main.cpp(226): FreeCam.SetPos(sVector31(0,0,-96));
and then recompile the player. It works for me at least. ;)

Re: free flight mode

PostPosted: Friday, 21.September 2012, 20:36
by ikam
thanks both.

Re: free flight mode

PostPosted: Saturday, 22.September 2012, 12:39
by erbsen
You could also move the entire scene towards the camera.

Re: free flight mode

PostPosted: Saturday, 22.September 2012, 12:58
by ikam
yes good idea :) - If you can't move the mountain to you, move yourself to the mountain...