Revolute Joint Grow Snake

Get help using Construct 2

Post » Sat Dec 08, 2012 10:10 pm

Hey guys, I want to make a physics snake and have a revolute joint on its preceding piece. I have tried a bunch of methods and I cannot get it working. CAPX BELOW

= C-A-P-X = KSLR2012-12-08 22:10:36
B
32
S
9
G
3
Posts: 275
Reputation: 8,063

Post » Sun Dec 09, 2012 10:21 am

Hey guys. I tried some more work on this issue to no avail. Anyone have some ideas on how to dynamically create revolute joints?
B
32
S
9
G
3
Posts: 275
Reputation: 8,063

Post » Sun Dec 09, 2012 8:23 pm

How about like this:
http://dl.dropbox.com/u/5426011/examples16/dynamic_created_joint.capx

In your capx you had different objects for different links. It's simpler to just make them different frames of one sprite. "pick topmost" can be used to pick the last link since objects are created at the top.
B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Sun Dec 09, 2012 9:18 pm

OMG so elegant! thanks R0J0hound! you are the smartest! I just plapped it in the game and it works perfectly. I learned something new! the pick top and bottom. Cheers M8
B
32
S
9
G
3
Posts: 275
Reputation: 8,063


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Braus, supreme676 and 9 guests