idmillington / cyclone-physics

The Physics engine that accompanies the book "Game Physics Engine Design"
MIT License
946 stars 265 forks source link

Bugs: #24

Closed daves2552 closed 11 years ago

daves2552 commented 11 years ago

Sorry if some of these are reported. Will update if/when I find more.

contacts.cpp 516, 525

setIterations(iterations, iterations); setIterations(velocityIterations); should be setIterations(iterations); setIterations(velocityIterations, positionIterations);

contacts.h 346, 347 (tautology)

positionEpsilon >= 0.f && positionEpsilon >= 0.f

contacts.h 319 (unused variable)

bool validSettings;

collide_coarse.h 291 (suspicious delete)

delete children[1];

collide_fine.cpp 685-687 (calculation overwritten)

contact->contactPoint = plane.direction; contact->contactPoint *= (vertexDistance-plane.offset); contact->contactPoint = vertexPos;