Airplane Tutorial
by Kent White · in Torque X 2D · 02/20/2008 (9:27 am) · 1 replies
I am trying to get through the airplane tutorial. The compiler gives an error message for the following two lines when trying to add the compass to the scene:
T2DSceneCamera InstrumentCam = T2DSceneGraph.Instance.DefaultCamera.Clone() as T2DSceneCamera;
InstrumentStyle.Anchor = AnchorFlags.All;
The T2DSceneGraph does not have an Instance method. For InstrumentStyle their is no Anchor property.
How do I get the compass anchored to the bottom right hand corner of the screen?
T2DSceneCamera InstrumentCam = T2DSceneGraph.Instance.DefaultCamera.Clone() as T2DSceneCamera;
InstrumentStyle.Anchor = AnchorFlags.All;
The T2DSceneGraph does not have an Instance method. For InstrumentStyle their is no Anchor property.
How do I get the compass anchored to the bottom right hand corner of the screen?
Associate John Kanalakis
EnvyGames
John K.