Bungie Rope: set sprite size based on elasticity?

Get help using Construct 2

Post » Mon Mar 12, 2012 1:43 pm

Hi all,

I am playing around with Physics at the moment and trying to build something like a bungie rope.

This is what I made so far and works quite well:

http://www.ubivis.de/bungie

The rope parts do stick together as they should (added Physics revolute joints) and the elasticity is doing the rest, but one thing I can't find a solution is to set the size of the middle part of the rope that the rope looks like it is not cut into three separate parts.

What I tried was, is to set the size of the middle part every tick, but what I can't find is an indication of the force that works on the elasticity.

I do hope, that someone has an idea how to get around that?

Many thanks in advance

CapX so far: http://www.gogwiki.com/temp/bungie.capx
B
44
S
10
G
7
Posts: 437
Reputation: 5,963

Post » Mon Mar 12, 2012 10:48 pm

It breaks the physics sim if you change the size of a physics object. Use another non-physics object to cover the gap.

http://dl.dropbox.com/u/5426011/fixed/ubivis.capx
B
91
S
31
G
98
Posts: 5,192
Reputation: 65,170

Post » Tue Mar 13, 2012 7:41 am

many thanks, this is a really good idea...

I will try myself first, but thanks for the capx too :)
B
44
S
10
G
7
Posts: 437
Reputation: 5,963

Post » Sun Oct 18, 2015 10:18 pm

Thanks!
Positive, inspiring and jazzy games!



www.crystalgames.space



Enjoy!
B
17
S
8
G
3
Posts: 173
Reputation: 3,453


Return to How do I....?

Who is online

Users browsing this forum: Hex27, punking, Yahoo [Bot] and 2 guests