The camera orbit function once more..

View: New views
1 Messages — Rating Filter:   Alert me  

The camera orbit function once more..

by Loockas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, the camera orbit function seems to be bugged for me.. Everything was working perfectly until it came to the target's movement. I noticed that the orbiting camera does not properly follow the target while it's moving. Moving target on X axis relatively to the camera moves the camera good, however when it goes forward and backward on Z axis, the camera does not refresh its position and stays by its previous Z only looking at the target properly. When I put the target far forward and then rotate the camera, the orbit radius is in the same way enormously huge. I believe that's a bug in the orbit function. Anybody has experienced it before?

See my work here

To rotate the camera press ctrl and move your mouse.
To move the character click somewhere on a ground.
Ɓukasz Raszyk
http://devblog.toras.pl
LightInTheBox - Buy quality products at wholesale price!