dotnet-ad / Humper

Collision detection for Axis-Aligned-Bounding-Boxes (aka AABB) in C#.
MIT License
104 stars 19 forks source link

IBox.Simulate() moves instead of simulating #8

Open Pyroglyph opened 5 years ago

Pyroglyph commented 5 years ago

For reference I'm using Humper 0.5.8 from Nuget.

I've been using Simulate() to test if an IBox is colliding with another, but I've just realized that calling Simulate() also moves the IBox. To test, I switched all my Move() calls to Simulate() and there was no change in functionality.