RAGDOLL Works error? [SOLVED]

Get help using Construct 2

Post » Mon Jul 11, 2016 2:04 am

hello, I would like the ragdoll create the correct way at the beginning of the layout ... But he does not seem to fit as it should. can you help me?

https://dl.dropboxusercontent.com/u/40971630/ragdoll%20error.capx
Last edited by amiltonbr on Tue Jul 12, 2016 2:31 am, edited 1 time in total.
Amilton Neves do Brasil. Criando jogos des de 1999.
B
32
S
8
G
6
Posts: 226
Reputation: 8,777

Post » Mon Jul 11, 2016 2:05 am

left mouse button should create a new perfect marionette set.
Amilton Neves do Brasil. Criando jogos des de 1999.
B
32
S
8
G
6
Posts: 226
Reputation: 8,777

Post » Mon Jul 11, 2016 8:27 pm

There's more to it than that. When you create physics objects you need to let them settle a frame before adding joints to them.

https://dl.dropboxusercontent.com/u/542 ... gdoll.capx

The example first saves the offsets of the limbs from the body. Next it has a function to create the ragdoll at any location. The "wait 0" and "new" boolean are used as picking tricks to pick the container objects from a family. The "wait 0.1" is used to wait a few frames before adding joints.
B
92
S
32
G
109
Posts: 5,290
Reputation: 70,991

Post » Tue Jul 12, 2016 2:31 am

Very Well Tk ;))
Amilton Neves do Brasil. Criando jogos des de 1999.
B
32
S
8
G
6
Posts: 226
Reputation: 8,777


Return to How do I....?

Who is online

Users browsing this forum: MassimoF, Microbex and 24 guests