01-02-2022, 11:00 AM
(This post was last modified: 01-02-2022, 11:45 AM by josemendez.)
(01-02-2022, 10:10 AM)Kizzualx Wrote: Please tell me how to do the following:
I need a rope, and there should be a ring at the end. The player must throw the ring and catch on the hook. Thus, he must hang on a rope that is hooked by a ring on a hook.
Like this...:
Use a dynamic attachment to attach the rope to the ring and the player, then apply an impulse to the ring's rigidbody to launch it, simple as that.
The devil is in the details though. You must make sure that the transform hierarchy in your scene makes sense, and be wary of attaching the rope inside a collider, if they're both set to collide with each other (as this will cause jittering): use collision filtering to deactivate collisions between the ends of the rope and the character/ring.
Note: I see in your screenshots that your ring has two colliders, but only one if them has a ObiCollider (the circle collider, which is disabled). Each collider must be wrapped by a ObiCollider in order to work with Obi, keep that in mind.
let me know if you need further help,