Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Rotating camera

Author
Message
Lucas Tiridath
AGK Developer
16
Years of Service
User Offline
Joined: 28th Sep 2008
Location: Kings Langley, UK
Posted: 23rd Dec 2008 15:24
The idea of this piece of code is to have a camera going around an object which can zoom in and out. The problem is that it is very jumpy, especially when you zoom in close.

Does anyone have any suggestiosn of how I could make it run smoother.

Thanks for your help.

Attachments

Login to view attachments
Dabbler
17
Years of Service
User Offline
Joined: 3rd Mar 2007
Location: Minnesota
Posted: 24th Dec 2008 13:43
Try changing nX and nZ variables in the PlaceCamera() function to floats.

Hope it helps.


Whatever...
Lucas Tiridath
AGK Developer
16
Years of Service
User Offline
Joined: 28th Sep 2008
Location: Kings Langley, UK
Posted: 24th Dec 2008 21:46
Thanks Dabbler, that works very nicely.

Login to post a reply

Server time is: 2024-11-25 14:42:36
Your offset time is: 2024-11-25 14:42:36