Page 1 of 1

Stick Body parts together

PostPosted: Fri 6 Apr 2018, 21:48
by Dani
I want to Create a Caracter wich Body parts are seperate and wants to stick them together as in the mobile game "Beat the Boss". Any Idea to do it? Tried to do something with the pyhsics behavior but i could not figure it out.
Would be very thankful if someone can help me.
Image
Image

Re: Stick Body parts together

PostPosted: Sat 7 Apr 2018, 10:37
by Lizard-13
Check this: http://forum.compilgames.net/viewtopic.php?f=19&t=9538&#p64323

EDIT: Mmmh, checking a gameplay I think you need the physics behavior with multiple joints, I guess you are doing this already. The problem is calculating the joints positions, because they're in function of the objects mass center.

Re: Stick Body parts together

PostPosted: Sat 7 Apr 2018, 13:39
by Dani
Thnaks for answer but i tried it with the joins. my caracter can stand but as i move it it rotate at a invisible axe and than it "
explodes" and all parts fly away :/
BTW i use GDevelop 5

Re: Stick Body parts together

PostPosted: Thu 12 Apr 2018, 00:49
by c73k
To do that i create a point in (example) "Part A" Called "Point C" And in the "Part B" a "Point D" then i do the "Point D" of "Part B" Position = to "Point C" of "Part A" you can create points in the sprite (animation ) editor.