Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Rigidbody tracking grab mechanic has positional and rotational lag #1970
The Rigidbody object follow has a lot of lag when following the position and rotation of the controller.
Even though the code is the same logic as in V3, something is missing causing the issue below.
Expected Behaviour (as seen in v3 Track Object)
Unexpected Behaviour (as seen in v4 rigidbody tracking)
The issue is by default Unity limits a rigidbody angular velocity to 7mps
This is not fast enough for dealing with controller rotations.
Unity offer a way of increasing the maxAngularVelocity of a rigidbody but not via the inspector (because that would make sense) instead it has to be applied via code:
is what is required to be added (somewhere) to fix this.