Is it possible to have a group with joints?

Post questions on how to use or achieve an effect in Inkscape.
Maquis
Posts: 2
Joined: Wed Apr 06, 2016 5:02 am

Is it possible to have a group with joints?

Postby Maquis » Wed Apr 06, 2016 5:08 am

I'm looking to make a character that I can use in a game, and I want to be able to have this same character in a few different positions. Inkscape is more convenient than something like the gimp, because I can reposition different parts of the character, but if got me thinking... Is there any way to join different pieces together with a joint, where I can move the pieces but keep them connected to each other correctly?

The goal would be to rotate an arm around the shoulder, and have the rest of the arm and the hand move along with it, but then also be able to rotate the lower arm at the elbow, and also be able to move the hand at the wrist. I've been kind of able to do this by grouping and ungrouping components, but it seems like there should be an easier way to make it more like a puppet/marionette.

Am I missing a way to make this easy, or does what I want not exist yet?

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Is it possible to have a group with joints?

Postby Lazur » Wed Apr 06, 2016 5:26 am

Hi.

Can remember a related topic but couldn't find it.
Back then made this concept use of custom markers.
Probably it's only good for exporting the sprites, a vector game engine wouldn't render it right.

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: Is it possible to have a group with joints?

Postby Polygon » Wed Apr 06, 2016 5:30 am

What you need is a 2d animation package: https://en.wikipedia.org/wiki/List_of_2 ... n_software

Cheers
P.

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Is it possible to have a group with joints?

Postby Espermaschine » Wed Apr 06, 2016 5:33 am

You could work with nested groups and shifted rotational centers.

So you have an arm-group, with sub-groups inside the group (upper arm, lower arm & hand).
The rotational center is shifted to the joint(s) and to move individual parts of the arm, you have to enter the group.

You can directly enter a group by pressing down CTRL and click on the object.

Puppeteer.svg
(25.12 KiB) Downloaded 153 times

Maquis
Posts: 2
Joined: Wed Apr 06, 2016 5:02 am

Re: Is it possible to have a group with joints?

Postby Maquis » Wed Apr 06, 2016 1:21 pm

I will look into those options. Thanks, everyone!



Return to “Help with using Inkscape”