Browse Source

Add distant colliders test;

bjorn 3 years ago
parent
commit
3d0ca7db38
1 changed files with 6 additions and 0 deletions
  1. 6 0
      tests/distant-colliders/main.lua

+ 6 - 0
tests/distant-colliders/main.lua

@@ -0,0 +1,6 @@
+function lovr.load()
+  world = lovr.physics.newWorld()
+  c1 = world:newBoxCollider(1e8, 0, 0)
+  c2 = world:newBoxCollider(1e8, 0, 0)
+  world:update(1)
+end