Physics Bounciness

New releases and general discussions.

Post » Tue Jan 15, 2008 1:32 am

So, I've been working on a physics based platformer for the last couple of days and it's going really well. The only thing is, the lack of a bounciness setting in the physics movement is getting annoying. I don't want my guy to bounce when he lands, but he does. Are there any plans to add such a setting in future versions? It would be great if you could add one. :)
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817

Post » Tue Jan 15, 2008 2:04 am

When the "detect physics collisions" feature is added (it's on Ash's to-do list) it'll be pretty easy to restrict bounciness for any physics object. Until then, I'd wait patiently.

Though I agree that a setting for this would be cool. Some kind of "Kinetic absorption" setting, where 0 would equal "absorb no force on impact" for super-bouncy objects, a setting of 50 would be medium bounciness for things like wood or rocks, and a setting of 100 wouldn't bounce at all on impact and basically stick to the ground (or wall/ceiling, in a zero gravity environment), like if you dropped a ball of clay.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Jan 15, 2008 2:53 am

When you count the bouncyness of a ball, for example with jugling balls where it can be very important, you count it in percentage. The percentage means how high it bounces relative to the original drop, so a ball with 100% would never stop bouncing on a hard surface.

I think though, that it should work both ways in construct, so if a ball with no bouncing lands on a floor with bouncyness, the ball still bounces.
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Tue Jan 15, 2008 11:05 am

[quote="Attan":w3ih9bls]I think though, that it should work both ways in construct, so if a ball with no bouncing lands on a floor with bouncyness, the ball still bounces.[/quote:w3ih9bls]

Good point, the bounciness should be averaged between the two colliding objects. I didn't even think of that.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Jan 15, 2008 11:49 am

Yeah, this is on my todo list: you should be able to set different materials for objects, eg. rubber, metal etc. and hopefully finely adjust the bounciness, friction parameters etc. as well.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Tue Jan 15, 2008 11:57 am

Sweet :)
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Jan 15, 2008 4:07 pm

Ooh, i can't tell you how much i love this program, or to be more specific, it's programmers.
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Tue Jan 15, 2008 5:34 pm

[quote="Ashley":1726rri7]Yeah, this is on my todo list: you should be able to set different materials for objects, eg. rubber, metal etc. and hopefully finely adjust the bounciness, friction parameters etc. as well.[/quote:1726rri7]

Nice. Can't wait. :)
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 3 guests