using Engine.Core;
namespace Engine.Physics2D;
/// 
/// Represents a 2D rigid body in the engine.
/// 
public interface IRigidBody2D : IBehaviour2D
{
    /// 
    /// The physics material of the .
    /// 
    IPhysicsMaterial2D Material { get; set; }
    /// 
    /// The velocity of the .
    /// 
    Vector2D Velocity { get; set; }
    /// 
    /// The angular velocity (rotation rate) of the .
    /// 
    float AngularVelocity { get; set; }
    /// 
    /// The mass of the .
    /// 
    float Mass { get; set; }
    /// 
    /// The value indicating whether the  is static/immovable.
    /// 
    bool IsStatic { get; set; }
}