2024-01-23 12:16:58 +03:00
|
|
|
using Syntriax.Engine.Core;
|
2023-11-30 17:52:09 +03:00
|
|
|
using Syntriax.Engine.Core.Abstract;
|
|
|
|
|
|
|
|
namespace Syntriax.Engine.Physics2D.Abstract;
|
|
|
|
|
|
|
|
public interface IRigidBody2D : IBehaviour, IAssignableTransform
|
|
|
|
{
|
|
|
|
IPhysicsMaterial2D Material { get; set; }
|
|
|
|
|
2024-01-23 12:16:58 +03:00
|
|
|
Vector2D Velocity { get; set; }
|
2023-11-30 17:52:09 +03:00
|
|
|
float AngularVelocity { get; set; }
|
|
|
|
|
|
|
|
float Mass { get; set; }
|
|
|
|
}
|