14 lines
359 B
C#
14 lines
359 B
C#
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;
|
|
} |