You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like what's happening is that two collisions are happening in the same frame for the same object. The first collision deactivated the object, which let to the KeyError when trying to handle the second collision.
Putting a try/except in to handle the KeyError seems reasonable.
The text was updated successfully, but these errors were encountered:
The indexing by collision_type sometimes fails with a KeyError:
It looks like what's happening is that two collisions are happening in the same frame for the same object. The first collision deactivated the object, which let to the KeyError when trying to handle the second collision.
Putting a try/except in to handle the KeyError seems reasonable.
The text was updated successfully, but these errors were encountered: