camera problems

Posted By: juszczec

camera problems - 03/19/07 17:22

Hi folks

I have 2 level files.

One is a race track. The camera is positioned over one of the cars. When I run the level, the game starts and the view is from the camera positioned over the cars.

The other level is littlecity from the AU Resources site. It is a model of a small city. When I run it, the view is from a camera positioned under the model.

I have added littlecity as a prefab to the race track map. When I run the race track level with the city prefab added, I would have expected the camera view be from over the cars.

Its not.

Instead the view is from under the city model.

Any idea how to correct this?

Mark
Posted By: juszczec

Re: camera problems - 03/20/07 12:54

Hi folks

I figured it out.

The city map had an associated file named littlecityprefab.wmb

My level (track and city combined) is named rgl4 and had an associated file named rgl4.wmb

The code controlling everything was loading littlecityprefab.wmb instead of rgl4.wmb

After I corrected that, the camera problem went away.

Mark
© 2023 lite-C Forums