feat: Initial Physics Code From Previous Repo

This commit is contained in:
2024-01-23 18:39:25 +03:00
parent d08495afbb
commit a9485475c7
22 changed files with 1184 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
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; }
}