PhysicsWorld.SetRestitutionThreshold(float) Method
Definition
Namespace: Brine2D.Physics
Sets the minimum impact speed \(pixels/s\) required for restitution \(bounciness\) to be applied. Below this threshold contacts are treated as inelastic. Set to 0 to always apply restitution. Leave unset to use the Box2D default.
Parameters
threshold System.Single