Move sphere around a cube using conventional physics
So my objective is to use physics manually (code it) instead of using Unity's physics or any other thing that comes with Unity to make a sphere rotate around a cube (Eg: RotateAround). For the sphere, the user inputs it's speed (angular) and distance from sun. The cube acts as the origin and if the user moves the cube, the sphere must move with it. The problem I'm having is not with the physics as that is pretty straightforward. But, when I try to apply the physics in a C# script for Unity is when everything goes haywire. I was wondering if anybody could help me with applying the physics in C# for the GameObjects.
Answer by MinorMapillai · Jun 29, 2018 at 11:28 AM
I found the answer in case you also have the question:. https://answers.unity.com/questions/596671/circular-rotation-via-the-mathematical-circle-equa.html
Your answer
Follow this Question
Related Questions
What is the correct way to learn unity scripting ? 2 Answers
Multiplayer vehicle game - physics or not to physics 0 Answers
Pause button not working correctly 1 Answer
Making a pivot focused game 0 Answers
How to rotate wheel colliders on the Y axis since they can't be rotated in the editor? 0 Answers