Staticb2_This is used to fatten AABBs in the dynamic tree. This allows proxies to move by a small amount without triggering a tree adjustment. This is in meters.
Staticb2_This is used to fatten AABBs in the dynamic tree. This is used to predict the future position based on the current displacement. This is a dimensionless multiplier.
Staticb2_A body cannot sleep if its angular velocity is above this tolerance.
Staticb2_A small angle used as a collision and constraint tolerance. Usually it is chosen to be numerically significant, but visually insignificant.
Staticb2_This scale factor controls how fast overlap is resolved. Ideally this would be 1 so that overlap is removed in one time step. However using values close to 1 often lead to overshoot.
Staticb2_A body cannot sleep if its linear velocity is above this tolerance.
Staticb2_A small length used as a collision and constraint tolerance. Usually it is chosen to be numerically significant, but visually insignificant.
Staticb2_The maximum angular position correction used when solving constraints. This helps to prevent overshoot.
Staticb2_The maximum linear position correction used when solving constraints. This helps to prevent overshoot.
Staticb2_Number of manifold points in a b2Manifold. This should NEVER change.
Staticb2_The maximum angular velocity of a body. This limit is very large and is used to prevent numerical problems. You shouldn't need to adjust this.
Staticb2_b2_maxRotation squared
Staticb2_Maximum number of contacts to be handled to solve a TOI island.
Staticb2_Maximum number of joints to be handled to solve a TOI island.
Staticb2_The maximum linear velocity of a body. This limit is very large and is used to prevent numerical problems. You shouldn't need to adjust this.
Staticb2_b2_maxTranslation squared
Staticb2_3.141592653589793
Staticb2_The radius of the polygon/edge shape skin. This should not be modified. Making this smaller means polygons will have and insufficient for continuous collision. Making it larger may create artifacts for vertex collision.
Staticb2_The time that a body must be still before it will go to sleep.
Staticb2_Continuous collision detection (CCD) works with core, shrunken shapes. This is the amount by which shapes are automatically shrunk to work with CCD. This must be larger than b2_linearSlop.
Staticb2_A velocity threshold for elastic collisions. Any collision with a relative linear velocity below this threshold will be treated as inelastic.
StaticUSHRT_Maximum unsigned short value.
StaticVERSIONThe current version of Box2D.
Staticb2Staticb2Friction mixing law. Feel free to customize this.
Friction values are usually set between 0 and 1. (0 = no friction, 1 = high friction)
By default this is return Math.sqrt(friction1, friction2);
Friction 1 to mix.
Friction 2 to mix.
The two frictions mixed as one value.
Staticb2Restitution mixing law. Feel free to customize this. Restitution is used to make objects bounce.
Restitution values are usually set between 0 and 1. (0 = no bounce (inelastic), 1 = perfect bounce (perfectly elastic))
By default this is return Math.Max(restitution1, restitution2);
Restitution 1 to mix.
Restitution 2 to mix.
The two restitutions mixed as one value.
Controls Box2D global settings.