Skip to content

Question about scale #373

Answered by jrouwe
RallyTronics asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, this restriction holds for double precision as well since the double precision positions are only used to calculate a relative distance between objects and from there on all calculations are done in floats (because it's much faster). Even if the calculations were all done in doubles, these limits would still exist as there are a lot of epsilons involved in a physics engine that are tuned to objects of a particular size. These limits are not absolute though, you can probably get away with one or more orders of magnitude bigger/smaller, but I didn't test it.

W.r.t. the earth vs rocket sized objects. Even though the simulation now uses doubles, the broad phase still uses floats, so at a…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RallyTronics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants