A center point is made in a 3d space, and a rock spawns at a random location near the centerpoint, and a rope atatches the rock to the center. The rock's current posistion is called the startPoint - a third point called the halfway point is created, it is equidistant from the center as the rock is from the center, and if you were to walk from the rock to the halfway point, you would walk in a straight line. The rock now swings in a perfect circle in 3d space, hitting startpoint and halfway point along it's path.
Given a %, find a location along the path of the rock's circle, where 0% = startpoint, and 50% = halfwaypoint.
This math is honestly a bit beyond me.. I'm creating a minecraft plugin of orbiting asteroids as part of a big space plugin that follows the rules stated above; each time I update it's position, I use the percentage gotten from a time function, so that it completes an orbit however often the user wants it to - Though I'm willing to learn it.
I think it is saying |dw:1428009737116:dw|
Join our real-time social learning platform and learn together with your friends!