1
0
Fork 0
Browse Source

fix: tweak bounds a bit

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
combat-scorched-earth-from-outer-space
André Jaenisch 10 months ago
parent
commit
f587abac3f
Signed by: ryuno-ki
GPG Key ID: 5A668E771F1ED854
  1. 4
      src/js/world.js

4
src/js/world.js

@ -13,7 +13,7 @@ export function makeAstronaut () {
const friction = 20
const restitution = 0
const mass = 400
const bounds = 1
const bounds = 20
const width = 20
const height = 20
@ -45,7 +45,7 @@ export function makeBottomBoundary ({ x, y, height, width }) {
const friction = 20
const restitution = 0
const mass = 0
const bounds = 1
const bounds = 25
const shape = RigidShape({
center,

Loading…
Cancel
Save