Skip to main content
4 votes
Accepted

Weird behaviors with transform.LookRotation when looking at position+Vector3

Three mistakes: You're reading the controller's velocity before you've fed it the latest input, so this is stale data, adding a frame of latency to your rotation. That accounts for the lag you're ...
DMGregory's user avatar
  • 135k
1 vote

How to rotate 2D arm around shoulder so gun points at cursor?

There's a couple of assumptions to state based on the question + gif posted. We have a static gun+arm that pivots around the player's shoulder You want the arm and gun to rotate around the shoulder, ...
Domo106's user avatar
  • 70

Only top scored, non community-wiki answers of a minimum length are eligible