Rotating Objects Within a Prefab are Rendering Wrong
Hello,
I am making an infinite runner game where each section is a prefab. Within each prefab, there are coin (cylinder) objects. The coins are supposed to rotate, and this is accomplished through transform.Rotate. However, when I group the coins into a prefab to make a section, their renderer breaks on rotation.
Above is a screenshot of the paused game. On the left, you can see a coin prefab that I added to the scene afterward. On the right, you can see the coin prefabs that were generated by my game. Both are rotated, but the ones that were in the section prefab are stretched out. You can also see that the Mesh Collider is rotated fine, but not the renderer. How would I rotate the coins within the prefab without them being distorted?
There is probably an easy solution to this, but this is my first week in Unity.