chore: forgotten test physics material
This commit is contained in:
@@ -8,7 +8,7 @@ public class RigidBody2D : Behaviour2D, IRigidBody2D, IFirstFrameUpdate, ILastFr
|
|||||||
{
|
{
|
||||||
private const float LOWEST_ALLOWED_MASS = 0.00001f;
|
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 Vector2D Velocity { get; set; } = Vector2D.Zero;
|
||||||
public float AngularVelocity { get; set; } = 0f;
|
public float AngularVelocity { get; set; } = 0f;
|
||||||
|
|||||||
Reference in New Issue
Block a user