Skip to main content

History: Talk:LightsCameraAction

Source of version: 1 (current)

Copy to clipboard
            __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.

--

((User:Yavin|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!

--

((User:Yavin|Yavin)) 09:05, 3 Mar 2005 (PST)

!!Blinking lights
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.

Anyone want to have it a go, can get it at [http://sourceforge.net/tracker/index.php?func=detail&aid=1161217&group_id=2997&atid=302997|SF].
--((User:Kaos|Kaos)) 01:55, 11 Mar 2005 (PST)

This has been commited to cvs (Dagon branch) a few months back.. --((User:Kaos|Kaos)) 01:08, 21 Jul 2005 (CDT)

!!location of code in files
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.