Fix contact detection for jump mechanics

- 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
This commit is contained in:
Karl Pannek 2025-07-16 15:17:27 +02:00
parent 55089d56cb
commit 955179eec9

View file

@ -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;
}