From 955179eec9badc1c077a98de0224b8676298ca81 Mon Sep 17 00:00:00 2001 From: Karl Pannek Date: Wed, 16 Jul 2025 15:17:27 +0200 Subject: [PATCH] Fix contact detection for jump mechanics MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix IsTouching() → isTouching() in Doll.js onFootSensorDetection - This should resolve the issue where players couldn't jump immediately after landing, as the contact detection was failing due to calling a non-existent method in Planck.js --- app/Game/Core/GameObjects/Doll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Game/Core/GameObjects/Doll.js b/app/Game/Core/GameObjects/Doll.js index b29344f..0cf2706 100755 --- a/app/Game/Core/GameObjects/Doll.js +++ b/app/Game/Core/GameObjects/Doll.js @@ -411,7 +411,7 @@ function (Parent, Exception, planck, Settings, CollisionDetector, Item, nc, Asse var edge = self.body.getContactList(); while (edge) { var contact = edge.contact; - if(!contact.IsTouching()) { + if(!contact.isTouching()) { edge = edge.next; continue; }