Page 1 of 1

(almost) perfect ball collisions

PostPosted: Fri Jun 19, 2009 11:15 pm
by jimmynewguy
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