2024-01-23 18:39:25 +03:00
|
|
|
using Syntriax.Engine.Core;
|
|
|
|
using Syntriax.Engine.Core.Abstract;
|
|
|
|
|
|
|
|
namespace Syntriax.Engine.Physics2D.Abstract;
|
|
|
|
|
|
|
|
public interface IRigidBody2D : IBehaviour, IAssignableTransform
|
|
|
|
{
|
|
|
|
IPhysicsMaterial2D Material { get; set; }
|
|
|
|
|
|
|
|
Vector2D Velocity { get; set; }
|
|
|
|
float AngularVelocity { get; set; }
|
|
|
|
|
|
|
|
float Mass { get; set; }
|
2024-01-24 19:21:53 +03:00
|
|
|
bool IsStatic { get; set; }
|
2024-01-23 18:39:25 +03:00
|
|
|
}
|