From 4b0f27da9af83f8b76ae21ed9d247f1c1802493d Mon Sep 17 00:00:00 2001 From: Dejvino Date: Fri, 18 Sep 2026 19:19:57 +0200 Subject: [PATCH] Ride: Fix hub caps --- flow-state/src/venues/ride.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flow-state/src/venues/ride.js b/flow-state/src/venues/ride.js index d170211..548f6ac 100644 --- a/flow-state/src/venues/ride.js +++ b/flow-state/src/venues/ride.js @@ -463,8 +463,8 @@ export const ride = { // Wheels: four dark torus + hub, spin with speed (see below). const wheelGeo = new T.TorusGeometry(0.34, 0.13, 8, 18); - const hubGeo = new T.CylinderGeometry(0.14, 0.14, 0.1, 10); - hubGeo.rotateZ(Math.PI / 2); + const hubGeo = new T.CylinderGeometry(0.2, 0.2, 0.1, 10); + hubGeo.rotateX(Math.PI / 2); instance.wheels = []; for (const [wx, wz] of [[-0.95, 1.05], [0.95, 1.05], [-0.95, -1.35], [0.95, -1.35]]) { const wcol = cc(1); @@ -688,7 +688,7 @@ export const ride = { // axis (local x after the geometry pre-rotation). for (const w of instance.wheels) { if (w.userData.tire) w.userData.tire.rotation.z = t * speed * 6 * rate; - if (w.userData.hub) w.userData.hub.rotation.x = t * speed * 6 * rate; + if (w.userData.hub) w.userData.hub.rotation.z = t * speed * 6 * rate; } } // Passengers bob gently, out of phase — analytic f(t), seek-stable.