Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Attaching a child gameobject to a gameobject pinned to a rope
#2
(09-05-2019, 03:48 PM)nigelkennington Wrote: 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]

but if I use the script to parent it while the game is running it behaves very oddly:

[Image: qWBEDmU.gif]

Any idea what I am doing wrong?

Hi there,

Tested in the Crane sample scene, but can't reproduce anything strange. Programmatically parenting to a pinned object works just fine for me. Can you share the code you're using to parent the second object?
Reply


Messages In This Thread
RE: Attaching a child gameobject to a gameobject pinned to a rope - by josemendez - 09-05-2019, 04:02 PM