Skip to content

PhysicsBodyComponent.Restitution Property

Definition

Namespace: Brine2D.ECS.Components

Bounciness of this body's primary shape \(0–1\). Changes on a live body apply immediately without a full rebuild.

C#
public float Restitution { get; set; }

Property Value

System.Single