forked from LeenkxTeam/LNXSDK
merge upstream
This commit is contained in:
@ -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);
|
||||
});
|
||||
}
|
||||
|
@ -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()
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user