using Syntriax.Engine.Core;
using Syntriax.Engine.Core.Abstract;
namespace Syntriax.Engine.Physics2D.Abstract;
///
/// Represents a 2D rigid body in the engine.
///
public interface IRigidBody2D : IBehaviour, IAssignableTransform
{
///
/// 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; }
}