feat: Initial Physics Code From Previous Repo
This commit is contained in:
14
Engine.Physics2D/Abstract/IRigidBody2D.cs
Normal file
14
Engine.Physics2D/Abstract/IRigidBody2D.cs
Normal 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; }
|
||||
}
|
Reference in New Issue
Block a user