TrueSync is resetting contact normals before running the SyncedUpdate function

As it turns out, there's a :very: useful feature to iterate through the current contacts of a TrueSync.Physics2D.Body object.

However... for some inexplicable (to me) reason, the Body.ContactList which has these lovely Manifold objects which let you tell not only if two objects are in contact, but where and what the normal is....

For some reason, these manifold values are zero'd out before the OnSyncedUpdate() call and restored immediately afterwards during the physics update.

Comments

  • Nevermind... tracked this down. Turns out it was the World.Clone() function restoring values out of order. Minor symptom, actual manifolds worked correctly.