Hello.
I’m trying not to use the now deprecated RotateAround()
and replace it with transform.rotate(float x, float y, float z, Space.World)
on a sphere positioned at 0, 0, 5.
My understanding is it should rotate in an orbital fashion around World’s 0, 0, 0 on a theoretical sphere with radius 5; instead, it rotates around its own center (spins).
If I change to Space.Self
it does exactly the same.
So what gives?
EDIT:
To clarify, I want to understand the behavior/use cases of Self
and World
in general but most of all -
specially in this particular case.
VS tells me RotateArund is deprecated. Some other uses and the docs don’t say it’s deprecated.
So idk if it’s deprecated or not.
But if you want to use rotate then you are gonna want to put an empty object at 0,0,0 set this object to be it’s child and rotate the empty object instead.