So I have a ball moving through a turn using waypoints to guide it. The problem starts here the waypoints are cylinders that have been squished and turned on their side so they are disks. Then the waypoints are children of the turn object. So I’m trying to have the ball rotate its x and y to match the waypoints z and x respectively. So I’ve been trying to use rotation and localRotation and a bunch of stuff but I just get it to match properly all the time. Any ideas?
I would like to attach the game package, but either the paperclip at the top doesn’t or I am just not doing it right so can someone please tell me how to properly attach a game package?
A picture would be helpful here. My suggestion is to start with an empty game object at the location where each of the disks will be placed. Rotate the empty game object to match the orientation you want the ball to have at that point in the path. Next make the disks children of these empty game objects and use the local rotation of the disks to display them however they are needed for the game. When the ball reaches one of the disks, use the empty parent game object to orient the ball rather than the rotation of the disk.