Hello everyone,
I'm having some Problems getting the Navigator to do what I want. I pass him
the Camerabeacon node, I created for my camera and my only viewport. Things
like setAt/From/Up work and I get my correct camera position. Now I want to
use the FlyNavigator, so call getWalkNavigator, save the pointer as a
FlyNavigator* and try to call the methods I need like rotate(), forward(),
right(), but they don't seem to do anything. I call
updateCameraTransformation() every frame in the display/idle function.
As I get my input from the Network, I don't use buttonPress, etc methods
from Navigator, as I want to control the camera directly. (The network
works, and the received messages are correct, so the problem lies with the
navigator).
On a completely unrelated side note, I use a lot of CPEdit() with multiple
fieldmasks. I was wondering wether this is considered bad practice, and if I
should use begin/end-EditCP. Is there a rule of thumb when to use which
version, or doesn't it matter?
Best regards, and thanks in advance,
Markus
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users