Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Grabbing Rope
#1
I am having problems with grabbing rope, I copied the ball and chain. 

I added a cube, attached the obi handle and it does not work.

Do I need to add the canvas with the words??
Reply
#2
(12-09-2017, 04:10 AM)Parker Wrote: I am having problems with grabbing rope, I copied the ball and chain. 

I added a cube, attached the obi handle and it does not work.

Do I need to add the canvas with the words??

Hi,

You need to add to the cube some component that enables it to be dragged by the mouse. The ObjectDragger component it uses in that scene will work fine for demonstration purposes, but you can write your own for more complex/specific behavior.

For more info on components: https://docs.unity3d.com/Manual/UsingComponents.html
Reply
#3
Thanks for the fast reply.

The problem I had: I was attaching the mover to the end of the rope and it did not like it.  I figured out, create handle, create 3d object, put on script and child handle, do not put on end of rope.
Reply