I have a spawn point.
From script I make 2 objects instantiate at the spawn point position with the spawn point rotation.
But i want to align them on behind the other, like a truck.
How can I do that?
I have a spawn point.
From script I make 2 objects instantiate at the spawn point position with the spawn point rotation.
But i want to align them on behind the other, like a truck.
How can I do that?
Instantiate one object at the point, then instantiate the other object at the point + Vector3.forward*someDistance. Make sure they both have the same rotation quaternion.