21-12-2021, 03:04 PM
(This post was last modified: 21-12-2021, 03:05 PM by josemendez.)
(21-12-2021, 02:50 PM)ghawstie Wrote: Update: I connected the rope directly to the player, and thus now behaves correctly. The only issue is that as I move the camera up and down, the rope's start point remains at a fixed height, not moving up and down with the gun.
As long as your character has a rigidbody component, you can attach the rope to any other collider below its hierarchy. There's no need to attach the rope directly to the player, or to have a second rigidbody at the fire source. I'd try attaching the rope to your gun, then placing a single rigidbody component in your character's gameObject.
This should work because the rigidbody "used" by any collider in Unity is the first rigidbody found up its hierarchy.
Let me know if you need further help!