chore: forgotten test physics material

This commit is contained in:
2026-04-04 21:21:57 +03:00
parent 4255cc4893
commit 3893a1d249

View File

@@ -8,7 +8,7 @@ public class RigidBody2D : Behaviour2D, IRigidBody2D, IFirstFrameUpdate, ILastFr
{
private const float LOWEST_ALLOWED_MASS = 0.00001f;
public IPhysicsMaterial2D Material { get; set; } = new PhysicsMaterial2D(0f, 0f);
public IPhysicsMaterial2D Material { get; set; } = ReadOnlyPhysicsMaterial2D.Default;
public Vector2D Velocity { get; set; } = Vector2D.Zero;
public float AngularVelocity { get; set; } = 0f;