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 / Erratic motion at large distances

Author
Message
SteveS
19
Years of Service
User Offline
Joined: 29th Nov 2004
Location:
Posted: 1st Dec 2004 03:47
Is there any way that you can get around the erratic motion at large distances, I'm currently working on a space sim and would like everything to be in scale, the distances I am talking about are greater than 1,000,000 from 0,0,0, I have already scaled everything down by 10, even so the ships need to be a bit small to look right.

Thanks
Sparda
20
Years of Service
User Offline
Joined: 13th Jan 2004
Location: Pacifica
Posted: 3rd Dec 2004 12:32
Not quite sure what you mean by erratic motion at great distances. In fact the motion should appear smoother because it is crossing a smaller distance in the field of vision.


SteveS
19
Years of Service
User Offline
Joined: 29th Nov 2004
Location:
Posted: 4th Dec 2004 01:11
What I mean is that when you get far from the centre my ship starts to move erratically, I think the problem lies in the fact that using normal floats, at large numbers there is not enough decimal places left for precise postioning of your object, I have noticed that DBP can use double floats, although I'm not quite sure how to emplement them.

Login to post a reply

Server time is: 2024-11-27 16:46:31
Your offset time is: 2024-11-27 16:46:31