Remove rotation from steering behavior
This commit is contained in:
@@ -47,19 +47,14 @@ extern ECS_COMPONENT_DECLARE(Owner);
|
||||
typedef BzSpatialGridID SpatialGridID;
|
||||
extern ECS_COMPONENT_DECLARE(SpatialGridID);
|
||||
|
||||
typedef Vector2 Position, Size, Velocity, TargetPosition;
|
||||
typedef Vector2 Position, Size, Velocity, TargetPosition, Steering;
|
||||
extern ECS_COMPONENT_DECLARE(Position);
|
||||
extern ECS_COMPONENT_DECLARE(Size);
|
||||
extern ECS_COMPONENT_DECLARE(Velocity);
|
||||
extern ECS_COMPONENT_DECLARE(TargetPosition);
|
||||
typedef f32 Rotation, AngularVelocity;
|
||||
extern ECS_COMPONENT_DECLARE(Steering);
|
||||
typedef f32 Rotation;
|
||||
extern ECS_COMPONENT_DECLARE(Rotation);
|
||||
extern ECS_COMPONENT_DECLARE(AngularVelocity);
|
||||
typedef struct SteeringOutput {
|
||||
Vector2 linear;
|
||||
f32 angular;
|
||||
} SteeringOutput;
|
||||
extern ECS_COMPONENT_DECLARE(SteeringOutput);
|
||||
|
||||
typedef struct TextureRegion {
|
||||
Texture2D texture;
|
||||
|
||||
Reference in New Issue
Block a user