Double jump!

This commit is contained in:
Paul Mathieu
2021-12-22 02:31:28 -08:00
parent 8939a90307
commit eec60fcc91
2 changed files with 28 additions and 16 deletions

View File

@@ -334,7 +334,7 @@ export function updateWorldGeometry(gl, world, z, x, timeLimit = 10000) {
}
export function checkCollision(curPos, newPos, world) {
// I guess Steve is about 1.7 m tall?
// I guess Gontrand is about 1.7 m tall?
// he also has a 60x60 cm axis-aligned square section '^_^
// box is centered around the camera
const steveBB = [