Image not rendering with script attached
I have a player sprite that I want to rotate his weapon to always face a gameobject using
tansform.LookAt(focus);
I can see that this does in fact change the rotation of the object I want to rotate, but whatever object I put it on stops being rendered on play.
Anyone have an idea why this is?
Comment
Best Answer
Answer by nolan_oc · Dec 10, 2020 at 06:57 PM
Solved.
The sprite was rotating on all axis, and was just appearing paper thin from one angle, locking the position of one axis fixed the issue.