Static
Private
ball_Static
ball_Small high speed ball collides into very thin walls and fixed circle.
Static
Private
ball_Static
Private
ball_Static
ball_Static
Private
commonStatic
Private
small_Static
small_High speed collision of two small objects, the goal is to have the fast object pass entirely thru the small object in a time step, so that just checking if the objects are penetrating will not detect the collision. Note that if using Runge-Kutta solver that the state is evaluated at mid-time step also. Therefore, use modified Euler here instead.
To check that this test is working: in Polygon.checkVertexes
set
travelDist = 0
(the distance travelled by the vertex), and in ImpulseSim
set
PROXIMITY_TEST = false
. Note that if trying this interactively, be sure to use the
same large time step used here
Generated using TypeDoc
Tests high speed collisions. Some are between small object and thin walls. Some are between two small objects.