v1.0.20.1 (summer patch)

This commit is contained in:
itchyOwl
2023-06-15 16:46:54 +03:00
parent 6acac1d143
commit 83de72e3d2
209 changed files with 4497 additions and 2488 deletions
@@ -334,6 +334,7 @@ namespace FarseerPhysics.Dynamics
CreateProxies();
// Contacts are created the next time step.
OnEnabled?.Invoke();
}
else
{
@@ -342,6 +343,7 @@ namespace FarseerPhysics.Dynamics
DestroyProxies();
DestroyContacts();
}
OnDisabled?.Invoke();
}
}
}
@@ -1205,6 +1207,8 @@ namespace FarseerPhysics.Dynamics
remove { onSeparationEventHandler -= value; }
}
public Action OnEnabled, OnDisabled;
public float Restitution
{
set { SetRestitution(value); }