2D active ragdoll holding object
Hi, so I'm making a 2d stickman game and I'm to the point right now that I need to give my characters guns. I've sort of figured out how to have him hold it, the gun is able to shoot and I have a script to get the gun to point at where my mouse is. So my stickman holds the gun, but when a move my mouse around the gun goes off his hand and just floats in the air, the gun is connected by a hingejoint2D, it is also connected by a fixed joint on the lower arm and the upper arm, i have one on the upper arm so that when i aim the gun up, the upper arm goes up. Could this be the reason why my gun doesn't stay fixed on his hand, let me know if you need any of my scripts.
Any ideas?
Answer by randomlyaddme · Apr 03 at 02:53 PM
@youngstudmichael please give me your holding script and I give you my hand following mouse script
Your answer
Follow this Question
Related Questions
Problem with raycasting towards mouse 0 Answers
How do I to know on which GameObject I clicked? 0 Answers
How do you add a Collider2D to a Line Renderer In Unity2D? 0 Answers
Isometric movement for MoveTowards 0 Answers
Pipe Game Water Flow 0 Answers