originPosition = transform.rotation

3 days! 3 Days before i noticed my own stupidity, again.

  • 1
    Ah yes, unity loves you.
  • 1
    Isn't rotation a Quaternion?
  • 2
    Lol been there. Assuming this is Unity, MS VS would give you hints about that. (unfortunately, I've only had the displeasure of working with MS on this and that's how I know)
  • 0
    And that, kids, is why good type systems and typing discipline matter.
Add Comment