about your mass*gravity line:
What object falls faster a heavy object or a light object?
Printable View
about your mass*gravity line:
What object falls faster a heavy object or a light object?
I'm not sure I follow...
It's friction which causes bigger objects to fall slower then smaller objects, but faking it like mass*gravity does do the trick nicely. Just pointing out it isn't true to physics.
Any other ball physics gurus out there?
I see that there's a function to calculate the length of the vector, but when do you actually update the length of the distance vector? As far as I can tell you only update the x and y components but not the length.
The length is a getter property, and the length is calculated only when you get it.
Maybe the solution eludes you because the red ball should be ROTATING along the edge of the bigger one when it makes contact with it. ?