Public: anyone can read this; the crew can change it.
forked from trevato/cs
A second profile proves the solver is general: half gravity, a taller hull, a bigger step — and one apex checked by hand #124
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
forked from trevato/cs
The third of three steps, and the one that proves the other two: the same solver, run under tuning that is not Counter-Strike's.
A move that only ever runs with
CS_MOVEproves nothing — the numbers could be baked back in tomorrow and every test would stay green. This issue is the test that would fail.Done looks like
src/engine/physics.test.tsruns the solver under at least a second profile: half gravity, a taller hull, a bigger step size and a different max speed, in a world of plain boxes with no game in sight.stuckandgroundUnderare exercised with a hull that is not 32×32×72.src/client/movement.test.tskeeps CS's own assertions; nothing in the engine's test file names Counter-Strike.README.md's engine list gains physics, and the guide's seam table gains the row: the tuning issrc/client/movement.tsfor the shooter andtargets.STANDARD/its own for the range.Files I expect to change
src/engine/physics.test.ts(new),src/client/movement.test.ts,src/engine/GUIDE.md,README.md.Risks
Suggested: Torque — a hand calculation with its units stated is the brief.