Question by
TrinityK · Jul 31, 2017 at 08:31 PM ·
waypointswaypoint systemrotation detectionrelative rotationrelative position
Have object reach a location relative to another object's rotation
I'm creating a moon/Earth/Sun scenario. I have the moon and Earth orbiting using waypoints. It's crucial that I get the eclipses right, but I can't seem to be able to adjust all the speeds of the different objects so that they line of continuously without getting out of whack over time. I'm new to Unity and am wondering if there's a way to get the Earth to pass through all its waypoints (one orbit) within 365 spins (I have a separate "spin" script on the Earth). This would correctly give me 365 days in a year. Any suggestions?
Comment
Your answer
Follow this Question
Related Questions
What is a WaypointCircuit? How I make one? 2 Answers
Unity2D game draw arrow based on relative position to object. 0 Answers
AI Waypoint rotate problem 0 Answers
Several NPC with waypoints 1 Answer