raycast vehicle, cylinder shape

beta.r3js.org
polygonboutique 2016-10-13 11:36:06 +02:00
parent 2527835c38
commit af3586db85
1 changed files with 3 additions and 2 deletions

View File

@ -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){