09-05-2019, 03:48 PM
Hi,
I have a crane with a hook pinned to two obiropes. That's working fine, but I'm having a real problem when the crane hook "picks up" a different game object. If the game starts with the hook parented to a gameobject, everything is fine:
![[Image: SA7eNMC.gif]](https://i.imgur.com/SA7eNMC.gif)
but if I use the script to parent it while the game is running it behaves very oddly:
![[Image: qWBEDmU.gif]](https://i.imgur.com/qWBEDmU.gif)
Any idea what I am doing wrong?
I have a crane with a hook pinned to two obiropes. That's working fine, but I'm having a real problem when the crane hook "picks up" a different game object. If the game starts with the hook parented to a gameobject, everything is fine:
![[Image: SA7eNMC.gif]](https://i.imgur.com/SA7eNMC.gif)
but if I use the script to parent it while the game is running it behaves very oddly:
![[Image: qWBEDmU.gif]](https://i.imgur.com/qWBEDmU.gif)
Any idea what I am doing wrong?