]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - physicsX.cfg
explain why jumpvelocity 260
[xonotic/xonotic-data.pk3dir.git] / physicsX.cfg
index 5cc6b52be804d9f159b7e9bf6ecd888c326c4a84..7a78d3726b4cb8f9b9ba79f9c24417557e0eceb8 100644 (file)
@@ -15,6 +15,12 @@ sv_stepheight 26
 
 // actually, what we want is 266.6666 for 180bpm
 // but 260 takes same amount of frames and is nicer to mappers
+// jump height == sv_jumpvelocity^2 / (2*sv_gravity)
+// in this case: 42.25 qu
+// player: 24+45 qu
+// total: 111.25qu
+// this is smaller than 112 qu, so a 112 qu high corridor (7 of 8 grid units in
+// the 16 grid, and the 8th unit used for wall/floor) just lets a player jump!
 sv_jumpvelocity 260
 sv_wateraccelerate -1
 sv_waterfriction -1