Physics elasticity problem

Discussion and feedback on Construct 2

Post » Wed Dec 18, 2013 11:02 am

the force at which two phys objects rebound is based on simply which of the two elasticity number is highest

This seems odd, as colliding two balls with elasticity's of 1 and 1 gives the same result as colliding elasticity's of 1 and 0.1

I think they should be multiplied together.. the advantage of this is that you can create an object with an elasticity of 0 that doesn't rebound no matter what collision.

This would be really useful to me and anyone else who has attempted to make a decent physics platformer. Currently the only way to stop the player bouncing off the ground/objects when landing atop, is to set absolutely everything it may collide with's elasticity to zero.

This change will require physics behaviour users to tweak their elast values, but I believe it makes more sense for it to work this way

I'm not sure if this is even a C2 or a Box2D thing, but I figured I'd post anyway just in case.
keepee2013-12-24 02:05:07
B
28
S
8
G
1
Posts: 469
Reputation: 4,683

Post » Tue Dec 24, 2013 2:01 am

shameful bump and edited post to be shorter.


whoops i just checked out

http://www.box2d.org/manual.html#_Toc258082972

and so it seems this is a box2d thing.. still seems weird thoughkeepee2013-12-24 02:10:28
B
28
S
8
G
1
Posts: 469
Reputation: 4,683


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests