Hi Nina,
Thanks a lot for your detailed response.
Yes
Yes
Yes, TransformDirection does this. However, what confuses me is its API definition. From our conversation we both agree that TransformDirection takes a world space coordinates and turns it into local space. Otherwise to ray does not rotate along with the game object. Yes?
But the API definition of TransformDirection says that it “transforms direction from local space to world space.”
I totally understand what TransformDirection does in this case but it does not seem to match its API description.