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
8
Posts: 437
Reputation: 6,483

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.

https://www.dropbox.com/s/4hmm3tz7wejgh ... .capx?dl=1
/fixed/ubivis.capx
Last edited by R0J0hound on Mon Mar 19, 2018 7:13 pm, edited 1 time in total.
B
100
S
38
G
134
Posts: 5,555
Reputation: 85,323

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
8
Posts: 437
Reputation: 6,483

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: 174
Reputation: 3,460

Post » Sun Feb 25, 2018 12:30 pm

R0J0hound wrote: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


Hi, R0j0hound.

Could you reup the capx again, please?

Anyway, thank you.

;)
B
27
S
5
G
1
Posts: 61
Reputation: 1,699

Post » Mon Mar 19, 2018 7:13 pm

@thegodo
link updated
B
100
S
38
G
134
Posts: 5,555
Reputation: 85,323

Post » Sat Mar 24, 2018 5:16 pm

R0J0hound wrote:@thegodo
link updated


Thanks R0j0.
Very appreciated. :)
B
27
S
5
G
1
Posts: 61
Reputation: 1,699


Return to How do I....?

Who is online

Users browsing this forum: draiza, oosyrag, repkino, zenox98 and 3 guests