Now the problems I’m having is that when I flick the go variable in my editor to true, the transform I’m trying to gracefully rotate rotates nearly 40% of the rotation in the 1st frame or so, then continues to rotate nicely.
the 2nd thing is when I modify myTargetRotation to be 180 deg on z after its completed the 1st rotation to 90 deg, it jumps straight to 180 deg.
I’m sure I’m missing something here I just can’t pin it down.
Time.time is the number of seconds since the start of the game. As such, once it fully rotates something, it’ll fully rotate everything else instantly.
I’d suggest switching Time.time with a float that you zero out in the go call and increase over time.