16 lines
338 B
C#
16 lines
338 B
C#
using Microsoft.Xna.Framework;
|
|
|
|
using Syntriax.Engine.Core.Abstract;
|
|
|
|
namespace Syntriax.Engine.Physics2D.Abstract;
|
|
|
|
public interface IRigidBody2D : IBehaviour, IAssignableTransform
|
|
{
|
|
IPhysicsMaterial2D Material { get; set; }
|
|
|
|
Vector2 Velocity { get; set; }
|
|
float AngularVelocity { get; set; }
|
|
|
|
float Mass { get; set; }
|
|
}
|