Quote:<div style="background-color: rgb(200,200,200); border:1px solid rgb(150,150,150); padding:5px;">If you press the arrow keys the ship will still move as it did before BUT the camera will move with it. The net effect is that the background will look like it is moving and the ship isn't.</div>
I got all working but the ship doesn't move as it did without the SpaceCameraRotate listener. If I press the the up and down key nothing happens.
Yavin 06:54, 2 Mar 2005 (PST)
Okay I found the problem. mRotatingNode is a child of mShipNode and is utilized as center for the rotation of mCamera. To move mCamera with mRotatingNode it must be a child of mRotatingNode. This means that if mShipNode is moved, mCamera moves also. As the background is to far away it seems that nothing happens if mShipNode is moved up and down only. But all nodes move!
Yavin 09:05, 3 Mar 2005 (PST)
I found the solution to blink lights somewhat cumbersome,
only if there would be a PWM in WaveformControllerFunction..
so, I've made a small patch, see if it gets accepted.
This has been commited to cvs (Dagon branch) a few months back.. --Kaos 01:08, 21 Jul 2005 (CDT)
I am confused about what goes where here. Could someone explain where everything in this tutorial is supposed to go as far as files? My camera does not seem to be moving correctly and I can't get the space bar movement to work.