Claylike bouncyness

Official forum for the Chipmunk2D Physics Library.
Post Reply
SebastianMecklenburg
Posts: 3
Joined: Wed Mar 30, 2011 10:09 am
Contact:

Claylike bouncyness

Post by SebastianMecklenburg »

Hello,

First I want to say a big Thank You to Mr. Lembcke for this great little framework. It's really fun to use it!
Now to my question: I have some moving platfoms and a ball. I want the ball to stick to a platform when it hits one like if you hit a lump of wet clay with a paddle. I set the elasticity of the ball and the platforms to zero already but the ball still bounces. Will I have to adjust something (force? velocity?) in the collision callback? Or somewhere something else?

Thanks and regards,
Sebastian Mecklenburg
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Claylike bouncyness

Post by slembcke »

Setting elasticity to 0 should remove the bounce from the collision between the ball and the platform. Are there other collisions or joints involved that could be causing the bounce?
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
SebastianMecklenburg
Posts: 3
Joined: Wed Mar 30, 2011 10:09 am
Contact:

Re: Claylike bouncyness

Post by SebastianMecklenburg »

Ah, OK. Since there is definitely nothing else in my space I seem to have some other problem. I'll keep on looking...

Thanks and regards,
Sebastian Mecklenburg
SebastianMecklenburg
Posts: 3
Joined: Wed Mar 30, 2011 10:09 am
Contact:

Re: Claylike bouncyness

Post by SebastianMecklenburg »

Hehe, I was pulling the platforms down faster than the ball could fall according to its gravity, so if the two collided at the right moment it looked like bouncing...
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests