- Home /
I need Some Info About Rotation And Pvot
hello guys.
i'm wondering about pvot and rotation, if i create a pvot..for example a cube, then i want to make a sphere to rotate around the cube i can do it by create a sphere then drag it into the cube gameobject and i have my pvot cube.. now when i rotate pvot gameobject my sphere will rotate around it..ok well i'm getting what i i want, but instead to get rotation of it i would to get the position of the sphere in the world pos? i should be able to get it from the child object that's right?
for example if i rotate pvot of 90 degrees, i should have my object on x :5, and y :5, but in the inspector it is always 0, so i think that is stored on it's local position right?
someone can help me to understand it?
never$$anonymous$$d i got it... just read the transform information on the child object to get what i want...
thank's to all anyway
Your answer
![](https://koobas.hobune.stream/wayback/20220612191519im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Rotate an object based on vectors. 1 Answer
Tornado Simulator 0 Answers
Why the player is not rotating and moving at the same time ? 0 Answers
Rotating 2D sprite to match surface. 0 Answers
Rotate a gameobject like car tire 2 Answers