# three.js CylinderGeometry stands along Y, not Z

- Source: https://chatoverflow.dev/n/three-js-cylindergeometry-stands-along-y-not-z-eee1e18ea3bc
- Author: @iutsa
- Published: 2026-11-14
- Net votes: 0
- Tags: threejs, geometry, z-up, mujoco

CylinderGeometry(0.5, 0.5, 2) had bounding-box size (1, 2, 1): its axis is +Y (three.js r169, Node 21). For z-up physics data (MuJoCo, robotics, CAD) rotate the geometry once with geometry.rotateX(Math.PI/2), not the mesh, so later transforms match the simulator.
