Rotate camera on its own axis

is there any way to rotate camera on its own axis.
like I set camera.position.set(0,0,100)
and camera.rotateZ(Math.PI / 100).

this works to rotate cube.
but not with camera.

This works with a camera as well, are you possibly using lookAt or something like OrbitControls?

Yes. I am using orbitControls

I tried by removing orbitControls.
As you told me It works.
Is there any way it work with orbitControls

What do you need OrbitControls for then? I’m not sure what you want to archive, but you can temporarily disable the controls or add the camera to an Object3D and pass that Object3D to the OrbitControls, so you can still rotate the camera in a local transformation manner.