amethyst / evoli

An ecosystem-simulation game made with Amethyst
https://community.amethyst.rs/t/evoli-introduction/770
Other
217 stars 33 forks source link

Change enforce bounds to use velocity instead of position #74

Closed sunreef closed 5 years ago

sunreef commented 5 years ago

Addresses issue #70.

marotili commented 5 years ago

We can merge this, but I'd like to know what the problem could be. It shouldn't be a race condition or related to synchronization since WriteStorage should lock the storage.

Is there any chance it is related to NaN or Infty occurring in the transforms? My initial would guess that the problem happens somewhere else (invalid data write) but the error is thrown in the enforce bounds system (invalid read).

marotili commented 5 years ago

@sunreef I think we can close this, as #83 should fix the error

sunreef commented 5 years ago

Yes, I'll close it.