Author Topic: A Bungie developer did a caricature of me. It's gorgeous.  (Read 1929 times)

I didn't write that code ;)

Actually, pretty sure that's a Unity standard asset.

I think you mean
while(rotationAmount > 360.0f)
  rotationAmount -= 360.0f;

Real Talk, is that a better way to achieve what I was aiming? That's real old code and I think the goal was to reset the object at no rotation after it did a full loop (sort of like snapping it back to 0 if it goes over).

I said that, but I'm guaranteeing that not a single thing I wrote was on that screen, because none of my actual scripts were "juicy" enough (Read: empty of white space).