Fixes 01 (#26)
Fix #25 Fix replay mover colors Update README Added unit test for CCD move events Avoid Linux crash when OpenGL 4.5 is not present
This commit is contained in:
parent
8441b4a06d
commit
1c5ac42c37
7 changed files with 126 additions and 150 deletions
|
|
@ -563,6 +563,10 @@ static void b3SolveContinuous( b3World* world, int bodySimIndex, b3TaskContext*
|
|||
fastBodySim->rotation0 = q;
|
||||
fastBodySim->center0 = center;
|
||||
|
||||
// The move event was written before CCD, so correct it with the impact pose
|
||||
b3BodyMoveEvent* event = b3Array_Get( world->bodyMoveEvents, bodySimIndex );
|
||||
event->transform = fastBodySim->transform;
|
||||
|
||||
// Prepare AABBs for broad-phase.
|
||||
// Even though a body is fast, it may not move much. So the AABB may not need enlargement.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue