Skip to content

What breaks if you surpass the limits under documentation/Conventions and limits? #1389

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

You must be logged in to vote

These numbers can probably be pushed a bit before things really break. Especially if you go larger rather than smaller. There are various 'tolerances' in the code which have been tuned for the specified ranges. Some tolerances have been exposed (e.g. CollideSettingsBase::mCollisionTolerance or PhysicsSettings::mPenetrationSlop), but quite a few haven't been. E.g. search for FLT_EPSILON, 1.0e-6 or 1.0e-12 as they are quite commonly used. Exposing all of these constants in a meaningful way to the user is very difficult as they require expert knowledge to tune them.

I think if you push beyond the limits on the upper bounds, you will find that you can go quite a bit further before things real…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@albinaask
Comment options

Answer selected by albinaask
Comment options

You must be logged in to vote
2 replies
@jrouwe
Comment options

@albinaask
Comment options

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