diff --git a/src/components/physics/useCannon.js b/src/components/physics/useCannon.js index 5a7b4b6..02d3a43 100644 --- a/src/components/physics/useCannon.js +++ b/src/components/physics/useCannon.js @@ -116,7 +116,7 @@ export default function useCannon(options) { mesh.userData.velocity.y, mesh.userData.velocity.z) : new Vec3(0, 0, 0) - const body = new Body({ shape, position, quaternion, velocity, mass, linearDamping: damping, angularDamping: damping }) + const body = new Body({ shape, position, velocity, quaternion, mass, linearDamping: damping, angularDamping: damping }) world.addBody(body) mesh.userData.body = body