RotateAround doesnt work

Hey guys

I want to rotate the main-camera in my scene around the “Vector3.zero” point. Although it should rotate around “Vector3.zero” it rotates around its own transform. What am i doing wrong?

Here’s my code:

transform.RotateAround (Vector3.zero, Vector3.up, 20 * Time.deltaTime);

Thanks

Make a vector3 variable call it “Zero” and store (0,0,0) and put zero where vector3.zero is. Try it, i think that should work