|
8605 | 8605 | gravity: state.settings.gravity, |
8606 | 8606 | localGravitySetting: GALAXY_STELLAR_GRAVITY_FLOOR_SETTING, |
8607 | 8607 | /* The dashboard normalises the three spacetime sliders to a 0..2 range |
8608 | | - (default 1.0). The galaxy physics below was calibrated for a 0..8 range |
8609 | | - (gravitationalConstant/localGravitationalConstant) and a 0..16 range |
8610 | | - (blackHoleMass). Multiply by 4 and 8 respectively to restore the |
8611 | | - calibrated scale without disturbing the non-galaxy engine, which still |
8612 | | - receives the 0..2 value directly and clamps it at [0, 2] in applyForces. */ |
| 8608 | + (default 1.0). Preserve that normalized value at the Galaxy boundary: |
| 8609 | + the downstream multiplier helpers clamp their own direct-call range, |
| 8610 | + and multiplying here made the default field 4x/8x stronger than the |
| 8611 | + value shown by the controls. */ |
8613 | 8612 | gravitationalConstant: galaxyPhysicsMultiplier( |
8614 | | - state.settings.gravitationalConstant, GALAXY_GRAVITATIONAL_CONSTANT_MULTIPLIER, 8) * 4, |
| 8613 | + state.settings.gravitationalConstant, GALAXY_GRAVITATIONAL_CONSTANT_MULTIPLIER, 8), |
8615 | 8614 | localGravitationalConstant: galaxyPhysicsMultiplier( |
8616 | 8615 | state.settings.localGravitationalConstant, |
8617 | | - GALAXY_LOCAL_GRAVITATIONAL_CONSTANT_MULTIPLIER, 8) * 4, |
| 8616 | + GALAXY_LOCAL_GRAVITATIONAL_CONSTANT_MULTIPLIER, 8), |
8618 | 8617 | blackHoleMass: galaxyPhysicsMultiplier( |
8619 | | - state.settings.blackHoleMass, GALAXY_BLACK_HOLE_MASS_MULTIPLIER, 16) * 8, |
| 8618 | + state.settings.blackHoleMass, GALAXY_BLACK_HOLE_MASS_MULTIPLIER, 16), |
8620 | 8619 | softening: galaxyLiveSoftening(), |
8621 | 8620 | centralSoftening: Math.max(36, galaxySoftening() * 5), |
8622 | 8621 | bridgeSoftening: Math.max(24, galaxySoftening() * 4), |
|
0 commit comments