Debugging a script I wrote nearly 2 years ago that has gameObject.transform.RotateAroundLocal. Now, trying to debug, the compiler doesn’t complain about it at all, and yet the scripting reference does not mention it. Is this a deprecated function?
EN
I hope it’s supported on all targets!
I’ve had problems with using it in Unity 3.5. If you rotate your gameObject in world space, it will not rotate properly on the local axis. Simply change to using:
gameObject.transform.RotateAround()
I’ve also had problems using it in 3.5. I don’t know if it’s depreciated. But, if it’s not documented maybe there is a reason they don’t want you to use it.
I always wonder how ppl end up in these old threads replying…
must be google.