I have a hook with hinge joint which is working fine but as my object quickly move my hook leave its position for a while.
And here is the hinge joint settings with rigidbody:
Here is a short clip of the problem.
I have a hook with hinge joint which is working fine but as my object quickly move my hook leave its position for a while.
And here is the hinge joint settings with rigidbody:
Here is a short clip of the problem.
It may depend if you're using animation for move parent object.
If you move the object using it's transform this could not happen.
The parent object which was moving the Hook working through animation and by setting its animator update mode to AnimatePhysics, the problme has resolved. What Animate Physics property do is:
When turned on, animations will be executed in the physics loop. This is only useful in conjunction with kinematic rigidbodies.
An animated platform can apply velocity and friction to rigid bodies sitting on top of it. In order to use this, animatePhysics must be enabled and animated object must be a kinematic rigid body.
Now the animation is executing in same physics loop which has resolved the issue.
Thanks to Chance Millar.