Setting Box3 from object doesn't apply rotation

Hello, I have a first person camera setup, and I want to add collision detection with a bounding box around the camera.
I have created a mesh that won’t be added to the scene:
const mesh = new THREE.Mesh(new THREE.BoxGeometry(0.75, _playerEntity._GetComponent("height"), 0.75)); mesh.position.copy(_playerEntity._GetComponent("position")); mesh.quaternion.setFromEuler(_playerEntity._GetComponent("rotation"));

I am then creating the bounding box:
const AABB = new THREE.Box3().setFromObject(mesh);

But when I use box3helper to view this, it is in the correct position, but the rotation isn’t copied.