19-05-2021, 08:05 PM
(This post was last modified: 19-05-2021, 10:55 PM by cruzjunior.)
Managed to make a work around.
Through some testing the problem seems to be the rigidbody component on the object I am trying to attach the hook too. Destroying the rigidbody and making the hook the parent of the object when you want the hook to attach to it seems to work, and when you want to detach it you can just add a new rigidbody component to the object and make the parent of the object null.
Through some testing the problem seems to be the rigidbody component on the object I am trying to attach the hook too. Destroying the rigidbody and making the hook the parent of the object when you want the hook to attach to it seems to work, and when you want to detach it you can just add a new rigidbody component to the object and make the parent of the object null.