Closed obiot closed 1 year ago
I believe line 120 of collision.js is:
rayCast(line, result) { return game.world.rayCast(line, result); }
but should be:
rayCast(line, result) { return game.world.detector.rayCast(line, result); }
indeed, good catch ! thank you 👍 👍 👍
following the quick 14.0.1 release to fix an issue with collision detection (#1149), verify that the raycast function is working properly : https://melonjs.github.io/melonJS/docs/melonjs/collision.html#rayCast