Rag doll arm collision wtf.

Get help using Construct 2

Post » Sat Jan 05, 2013 8:21 pm

Ok, I am making revolute joints of my arms to my torso,
I am saying disable collisions between all objects,
arm to arm 2, arm to torso, arm 2 to torso etc etc.
and yet arm one, and arm 2 still act like they are hitting, they wont just rotate independently, they act like they are both bolted with the same bolt ( if that makes any sense )
Am I forgetting a step? I am using .86
B
9
S
4
G
3
Posts: 223
Reputation: 3,433

Post » Sat Jan 05, 2013 8:25 pm

Best to post a capx for something like this.
B
15
S
5
G
7
Posts: 877
Reputation: 5,650

Post » Sun Jan 06, 2013 2:51 am

http://dl.dropbox.com/u/70111979/stupid%20ragdoll%202.capx

The dont collide codes are on an every tick event, because I wanted to get it through the computers head that I don't want them to collide!
I realize its not necessary. If you hit the first ok button it will reset the location of the rag doll, and if you watch closely you will see the arms act as if they are hitting, or revolving on ''the same bolt'' as it were.
cs2curious2013-01-06 02:52:24
B
9
S
4
G
3
Posts: 223
Reputation: 3,433

Post » Sun Jan 06, 2013 6:16 pm

Comon guys, what am I doing wrong? I say make revolute joint, I say dont collide, and yet the arms are colliding, please help? do I need to put them on different layers? WTF?
B
9
S
4
G
3
Posts: 223
Reputation: 3,433

Post » Sun Jan 06, 2013 9:16 pm

Ok it seems not that the objects are ''colliding'' but it seems like they are revolving on the same joint, I need them to revolve independently of each other. which is what I meant by the ''one bolt'' metaphor.
has anyone made a successful 2 arm 2 leg ragdoll?
B
9
S
4
G
3
Posts: 223
Reputation: 3,433

Post » Sun Jan 06, 2013 10:03 pm

Looks like it works to me. They're on the same joint because you have both shoulder imagepoints at the exact same point. Unless I'm misunderstanding what you want?
B
15
S
5
G
7
Posts: 877
Reputation: 5,650

Post » Sun Jan 06, 2013 10:09 pm

Ok I see what you mean after clicking the button. Got to pop out, but I'll check it more indepth when I get back.
B
15
S
5
G
7
Posts: 877
Reputation: 5,650

Post » Sun Jan 06, 2013 10:33 pm

Had a play for a few mins before I left. It almost seems random.

Here's a modified capx for you.
https://dl.dropbox.com/u/666574/cs2curious%20-%20ragdoll.capx

I've added apply force, so when you click the LMB it'll throw the ragdoll in the opposite direction. After trying various things, it seems if you click the LMB first, THEN the button, it sometimes fixes it. It looks to me like if arm2 passes a certain angle, it's fixed. If it doesn't, then it's still screwed up. Needs a bit more testing, which I'll do when I get back. Maybe you can figure it out before I return ;)
B
15
S
5
G
7
Posts: 877
Reputation: 5,650

Post » Sun Jan 06, 2013 10:53 pm

Thanks I'll have a look right now, I don't know why this thing cant just work properly XD
B
9
S
4
G
3
Posts: 223
Reputation: 3,433

Post » Sun Jan 06, 2013 11:18 pm

Ok, it looks like the arms ( the biceps ) are now passing through, but the forarm is still hitting, either the torso, or the other arms, but there is a disable collisions for each case =/
I cleaned it up a bit for you. still doesn't make sense why forarm is still hitting =/ I don't want my guy to touch himself XD
https://www.dropbox.com/s/4zr4tk85stlqjkg/dumb%20ragdoll%20part3.capx



cs2curious2013-01-06 23:23:17
B
9
S
4
G
3
Posts: 223
Reputation: 3,433

Next

Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 16 guests