My Camera

Blitz3D Forums/Blitz3D Beginners Area/My Camera

Eric(Posted 2004) [#1]
I am in the middle of creating a basic Lunar Lander game in 3D.. When my LEM is in orbit and the chase cam is following, depending on which hemisphere the ship is at the cam rotates 180 degrees and my view is now upside down... Makes is hard to land...:) Anyhow, does someone out there have some good camera code. Or Ideas.

Regards,
Eric


Ethan3850(Posted 2004) [#2]
When my LEM is in orbit and the chase cam is following, depending on which hemisphere the ship is at the cam rotates 180 degrees and my view is now upside down...

Hemisphere of the moon? Try parenting the camera to the LEM, that way your camera will turn with the LEM. Take a look at ye olde Castle demo by Mark in the Blitz Sample folder, it has a basic chase camera system using collisions with two pivots and should give you some ideas.