Add attribute system with core stats and gameplay components
This commit is contained in:
14
GameCore/Physics/VelocityComponent.cs
Normal file
14
GameCore/Physics/VelocityComponent.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using GameCore.ECS.Interfaces;
|
||||
using GameCore.Math;
|
||||
|
||||
namespace GameCore.Physics;
|
||||
|
||||
/// <summary>
|
||||
/// Stores the 3D velocity of an entity.
|
||||
/// This component is used by the PhysicsSystem to update the PositionComponent.
|
||||
/// </summary>
|
||||
public class VelocityComponent : IComponent
|
||||
{
|
||||
public Vector3 ActualVelocity;
|
||||
public Vector3 DesiredVelocity;
|
||||
}
|
||||
Reference in New Issue
Block a user