2d boned arm

I’m back :smile:

anyway i have an arm for a 2d character and I have boned it at the wrist and elbow.

I want to attatch the shoulder end of the arm to the player and the hand to a shotgun that rotates on the butt of the gun to aim at the mouse i cant seem to get do this i have tried adding hinges and such but nothing seemes to work.

the aim here is to alow the arm to move freely between those 2 points.

has anybody any ideas or sujestions

Have you got an animation on the arm already or is your intention to move the gun and use physics to make the arm follow it?

my apologies for not being clear enough.

the physics option would be my primary option.

I have tried character joints hinge joints with and without kinematic rigidbodies. though last night i made some headway with rigidbodies and character joints i hit a dead end. :frowning:

I’m also looking at writing a completely procedural arm that draws itself through the code (simlar to the rope script) if the physics w/bones option isn’t available. :smile:

thank you andeeee for your interest