(almost) perfect ball collisions
Posted: Fri Jun 19, 2009 11:15 pm
I got bored and made this almost perfect ball physics demo, it's only almost perfect because i haven't found any problem so i know there must be
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Red - stationary
white - moves with no gravity
blue - moves with gravity (sometimes go crazy)
EDIT:
actually on the collision on any actor for x2 it should be +(width/2) not - srry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Red - stationary
white - moves with no gravity
blue - moves with gravity (sometimes go crazy)
EDIT:
actually on the collision on any actor for x2 it should be +(width/2) not - srry