- Home /
Rotate around a circle
Hi everyone, I'm not a code expert and I can not solve my problem. I have an object (with rigidbody) and I need to move it around a circumference (the circumference can have a different radius from another circumference, so when the object collides with the circumference I should find the exact radius). The main object that rotates around the circumference must keep its lower part always facing the circumference of the circumference (to give you an example as if a person were walking on a circumference). Can someone help me?
Its a bit unclear what you want. Can you possibly add a drawing and maybe eplain it in a different way :)
Excuse me, unfortunately my English is not very good. I have created you a simple image. I would like the cube to circle around the circumference, m, always ancestry its base in contact with the circumference (as if walking on it). The circumference on which the cube turns, can have different radii, so I should also calculate the radius of the circumference in order to make it rotate correctly on the perimeter.
Your answer
Follow this Question
Related Questions
Flip over an object (smooth transition) 3 Answers
BoxCollider2D rotates opposite mesh 1 Answer
Rotating object phases through other objects 1 Answer
Moving in circles 1 Answer
How to clamp rotation between negative and positive value 2 Answers