Our prefab’s rotation is set to 56.4 on the z-axis:
However, when our prefab spawns it’s rotation to set back to zero. We would like the prefab’s rotation to stay at 56.4 at the time of spawning. Any help is appreciated
!
Our prefab’s rotation is set to 56.4 on the z-axis:
However, when our prefab spawns it’s rotation to set back to zero. We would like the prefab’s rotation to stay at 56.4 at the time of spawning. Any help is appreciated
!
Instantiate() can take in a position and rotation. Send it Quaternion.Euler(0, 0, 56.4f) to get that rotation.
Thanks, I fixed the problem by putting the object and on a game empty and re-making the prefab.