diff --git a/src/main/java/cactusServer/models/CollisionManager.java b/src/main/java/cactusServer/models/CollisionManager.java index b6234ed..46495a8 100644 --- a/src/main/java/cactusServer/models/CollisionManager.java +++ b/src/main/java/cactusServer/models/CollisionManager.java @@ -98,8 +98,8 @@ public void collisionMove(Player player1, Player player2) { CollisionResult result; - result = PhysicsUtility.checkCollision((Object3D) player1.getPlaceable(), null, - (Object3D) player2.getPlaceable(), null); + result = PhysicsUtility.checkCollision((Object3D) player1.getPlaceable().getBody(), null, + (Object3D) player2.getPlaceable().getBody(), null); if (result != null) { System.out.println("�v���C���[���m���Փ�"); objMove(result, player1, true);