Creating a Revolute Joint between two of the same objects

Get help using Construct 2

Post » Wed Feb 26, 2014 5:14 am

How would one create a revolute joint between two identicle objects if they collide. For example a physics object called "ball" collides with another "ball" object and I want them to stick together with a revolute joint but I'm coding is "When Ball collides with Ball: create revolute joint between Ball and Ball" construct is confused and doesnt make a joint at all.
B
7
S
2
G
3
Posts: 139
Reputation: 2,331

Post » Wed Feb 26, 2014 8:25 am

Try using families. Put the ball into a family then create the joint between the ball and the family.
B
49
S
16
G
9
Posts: 1,098
Reputation: 11,222

Post » Fri Feb 28, 2014 3:06 am

spongehammer wrote:Try using families. Put the ball into a family then create the joint between the ball and the family.

Unfortunately I have construct free, but I don't see why a family would work any better.
B
7
S
2
G
3
Posts: 139
Reputation: 2,331

Post » Fri Feb 28, 2014 9:11 am

Well it works because C2 sees the objects as two different entities even though they are the same object.
B
49
S
16
G
9
Posts: 1,098
Reputation: 11,222

Post » Fri Feb 28, 2014 10:19 am

I think it should work. Are you 100% sure it's not triggering a collision event? Or maybe there's something wrong with the rest of the code.
B
14
S
3
G
1
Posts: 255
Reputation: 2,027


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 46 guests