change platCollisions value to check for collisions in platformTree instead of wallTree
This commit is contained in:
@@ -102,7 +102,7 @@ struct
|
||||
let
|
||||
val {wallTree, platformTree, ...} = game
|
||||
val platCollisions = QuadTree.getCollisionsBelow
|
||||
(y, y, size, size, 0, 0, 1920, 1080, 0, wallTree)
|
||||
(y, y, size, size, 0, 0, 1920, 1080, 0, platformTree)
|
||||
|
||||
val wallCollisions = QuadTree.getCollisionSides
|
||||
(y, y, size, size, 0, 0, 1920, 1080, 0, wallTree)
|
||||
|
||||
Reference in New Issue
Block a user