To put it simply, I have the following code:
set camera to follow objPlayer.xPos#, objPlayer.yPos#, objPlayer.zPos#, objPlayer.yAng#, 10, 2, 5, 1
This worked perfectly as it should.
Then I added a for loop that generated some spheres.
It still worked perfectly.
Later, I decided to remove the spheres.
Suddenly, the camera is pointing up into the sky instead of following the player (a box) and I have done nothing to the camera code above or any of the variables used in that function.
Any ideas?
EDIT: How interesting. Adding another object to the program has fixed the camera? This is rather confusing.