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.

3 Dimensional Chat / Help my camera is choppy

Author
Message
relyks
21
Years of Service
User Offline
Joined: 10th Apr 2003
Location:
Posted: 27th May 2003 21:43
I have just started a project and i have about 20 lines of code.
all it does is load an object let you use the arrow keys to move the object and have the camera follow the object. when i run this program the camera is really choppy if you move the object in a diagonal direction but if you move in a strait direction (compared to the lines on the matrix)the camera reacts just fine. any help would be nice
relyks
21
Years of Service
User Offline
Joined: 10th Apr 2003
Location:
Posted: 27th May 2003 21:45
oops forgot im running dbc

Chenak
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 27th May 2003 23:15 Edited at: 27th May 2003 23:15
turn the variables into floats cause variables are rounded up to the nearest whole number which is why the camera is chompy. just add a # to turn a variable into a float.

Once you start down the Dark Path, forever will it dominate your destiny...
relyks
21
Years of Service
User Offline
Joined: 10th Apr 2003
Location:
Posted: 27th May 2003 23:39
Thanks Inferno that fixed it

Login to post a reply

Server time is: 2024-05-09 07:51:55
Your offset time is: 2024-05-09 07:51:55