reduce collision threshold check distance to -1.65, will decrease number of unnecessary bbox checks

This commit is contained in:
Kevin Ngo
2018-11-26 14:55:19 -08:00
parent f5c9f020b6
commit 051a3e7b48
2 changed files with 1 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
import {BEAT_WARMUP_OFFSET, BEAT_WARMUP_SPEED, BEAT_WARMUP_TIME} from '../constants/beat';
const auxObj3D = new THREE.Object3D();
const collisionZThreshold = -4;
const collisionZThreshold = -1.65;
const BEAT_WARMUP_ROTATION_CHANGE = Math.PI / 5;
const BEAT_WARMUP_ROTATION_OFFSET = 0.4;
const BEAT_WARMUP_ROTATION_TIME = 750;