Problem with Orbiting Cam?

Blitz3D Forums/Blitz3D Beginners Area/Problem with Orbiting Cam?

Guy Fawkes(Posted 2012) [#1]
Hi all! :) I was messing with a code snippet I found for being able to orbit a camera, zoom in / out, and keep the player facing a certain direction, just like this:

http://www.youtube.com/watch?v=bdlSTtqXMn4&feature=related

But for some reason I can't see my player, and also orbit / zoom are not working. Zoom should have a cap on it specifying that the zoom value CANNOT go past a certain distance from the player on either the Z - Positive Axis, or the Z-Negative Axis.

Here's the code:



Any help is greatly appreciated! :)

Last edited 2012


_PJ_(Posted 2012) [#2]
Did the original code snippet you found work?
If so, it may be a lot less hassle to just re-implement that instead of trying to un-break what you've broken...

----

Of course, you wiont ever see the player (or any of the 3D ) for that matter, since there are no Render calls.

Last edited 2012