how to move a object in cannon.js ??
Padmanabh82 opened this issue · comments
and is it ok to change quaternion directly ???
world.step(1 / 60);
car.cannon.quaternion.z = target.car.quaternion.setFromEuler(new THREE.Euler(0, 0, angle)).z
car.cannon.quaternion.w = target.car.quaternion.setFromEuler(new THREE.Euler(0, 0, angle)).w