Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Pulling object problem
#1
I'm completely new to this asset and I have a problem that I cant seem to find a way to solve it. 

I want to have a hook at the end of the rope and when that hook comes in contact with an object it attaches to that object and when the player pulls on the rope, the object comes wit it. 
My first instinct was just to make the object a child of the hook but that doesn't seem to work, the object either does not move or glitches out. 

Then I tried tying the object's transform to the hooks transform in script, so it moves when the hook moves without needing to parent, but then the problem with that was that the object would then would then go through other objects, completely ignoring the collider at some points, or launching other objects or itself into the stratosphere, and there was also the problem of the movement was not looking natural.  

Is there an obvious way to do this that I am missing? 

Thanks in advance!
Reply


Messages In This Thread
Pulling object problem - by cruzjunior - 19-05-2021, 06:50 PM
RE: Pulling object problem - by cruzjunior - 19-05-2021, 08:05 PM
RE: Pulling object problem - by josemendez - 20-05-2021, 08:08 AM