Skip to content

SubShape.Restitution Property

Definition

Namespace: Brine2D.ECS.Components

Restitution \(bounciness\) for this sub-shape \(0–1\). When null, inherits Restitution from the owning body. Changes on a live body apply immediately via a lightweight material update.

C#
public System.Nullable<float> Restitution { get; set; }

Property Value

System.Nullable<System.Single>