i’m having a bit of a problem with a game i’m making for ios.
What i’m trying to do is rotate an object in the direction
of the movement of another object.
I’m having a ball (rigidbody) move around the level with the accelerometer.
Works like a charm so far.
This ball character has an object following it along the x and z axis (it’s eyes) that needs to “look at” the direction the ball is moving, so it needs to rotate around it’s y axis. So if the ball moves right the eyes need to look in that direction, and so on for every direction.
Until then, greetings from Belgium o7