Talk:LightsCameraAction        
Print

Quote:

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.

 
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)

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 SF(external link).
--Kaos? 01:55, 11 Mar 2005 (PST)

This has been commited to cvs (Dagon branch) a few months back.. --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.


Contributors to this page: Kaos .
Page last modified on Thursday 21 of July, 2005 06:08:25 GMT by Kaos.


The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.
As an exception, any source code contributed within the content is released into the Public Domain.