Hello, I’ve been trying to make an object rotate with a second one, so their rotations would match. I am instantiating the second object with Raycast and when it gets instantiated, it’s rotation is by bigger than the first object’s by 3 units. Is there a way to fix that?
I can see two solutions for that:
1- Instantiate it as a child of the first object, the rotations will be the same and you wont need a code to do the rotation match.
2- The initial rotation of the instantiated object should be the same as the first rotating object, I’m guessing they are starting with a difference of 3 units which is generating your problem