From af3586db85cbe68ab818e5c1b1e2e68eecd94bc7 Mon Sep 17 00:00:00 2001 From: polygonboutique Date: Thu, 13 Oct 2016 11:36:06 +0200 Subject: [PATCH] raycast vehicle, cylinder shape --- game-lib.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/game-lib.js b/game-lib.js index 399b1e0..0e18b75 100644 --- a/game-lib.js +++ b/game-lib.js @@ -2895,8 +2895,9 @@ GameLib.D3.Physics.World.prototype.Step = function( ) { if(this.engineType == GameLib.D3.Physics.Engine.TYPE_CANNON) { - this.worldObject.internalStep(timeStep); - return; + // todo: figure out, why this call to internal step is more stable for trimesh collisions..... + //this.worldObject.internalStep(timeStep); + //return; var now = performance.now() / 1000; if(!this.lastCallTime){