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 inverse mass (1 / Mass) of the . /// float InverseMass { get; } /// /// The Invertia of the . /// float Inertia { get; } /// /// The inverse Invertia (1 / Invertia) of the . /// float InverseInertia { get; } /// /// The value indicating whether the is static/immovable. /// bool IsStatic { get; set; } }