- Home /
How do I rotate an object along a curved path if I have a radius in unity3d?
I have to rotate an object around the semicircle. I have radius of the circle but don't know how to do it.
How can I rotate the object with a radius amount whether speed keep changing at the run time?
Answer by Hellium · Sep 24, 2015 at 08:44 AM
If you have a semi-circle, I guess you have a point representing the center of the full circle.
You can parent the object to an empty located in the center of the circle, and rotate the empty point. It will automatically rotate the object
You can use RotateAround
I've converted your comment to an answer.
That's kind of funny... You posted the answer 2 days ago while the question has been "posted" 6 hours ago ^^.
Your answer
Follow this Question
Related Questions
Diffie Helman using very large numbers 0 Answers
WebGl error: The error was: uncaught exception: TypeError: invalid arguments 0 Answers
Destroying UI elements problem 1 Answer
Translate rotation from right-handed system to left-handed system 0 Answers
Unity 2D: Reversed Gravity doesn't work 0 Answers