Page 1 of 1

velocityDamping to control ball rolling speed

PostPosted: Mon Jan 08, 2018 4:03 am
by eeieeio
Hi,

Lately I have discovered that velocityDamping is a better tool for controlling (slowing) the forward speed of a rolling ball. Is there anyone out there that can explain exactly what velocityDamping is. Keep in mind that I am not a physicist nor did I do well in Physics class in school.

Thanks, Dave (eeieeio)

Re: velocityDamping to control ball rolling speed

PostPosted: Wed Jan 10, 2018 12:10 am
by Kilinich
It's [D_x, D_y, D_rot] list where:

D_x - X velocity damping, 0.9 means object will loose 90% of it's speed every second. 0.5 - 50% and so on.
D_y - same for Y velocity
D_rot - same for angular velocity.

Re: velocityDamping to control ball rolling speed

PostPosted: Wed Jan 10, 2018 7:02 pm
by eeieeio
You are, sir, a wealth of knowlege. Thanks