merge upstream

This commit is contained in:
2025-06-05 17:49:54 +00:00
11 changed files with 166 additions and 19 deletions

View File

@ -45,7 +45,7 @@ class DebugDrawHelper {
iron.App.notifyOnRender2D(onRender);
if (debugDrawMode & DrawRayCast != 0) {
iron.App.notifyOnUpdate(function () {
iron.App.notifyOnFixedUpdate(function () {
rayCasts.resize(0);
});
}

View File

@ -434,8 +434,8 @@ class PhysicsWorld extends Trait {
from: from,
to: to,
hasHit: rc.hasHit(),
hitPoint: hitPointWorld,
hitNormal: hitNormalWorld
hitPoint: hitPointWorld.clone(),
hitNormal: hitNormalWorld.clone()
});
}