Updates movement functionality from camera (renamed movement.rs -> camera.rs) to player.
The new movement system adds a new Bevy plugin called SteeringPlugin which handles movement of all of the SteeringBundles.
Also added a trait called SteeringBehavior which allows to define new behaviors. There are several examples, e.g. SteerArrival. It might be useful when enemies and projectiles are added.
All the changes to the SteeringHost entities are immediately reflected by the update systems.
For example, you can change max_velocity which indicates the maximum speed of an entity.
Closes #2.
Updates movement functionality from camera (renamed
movement.rs
->camera.rs
) to player.The new movement system adds a new Bevy plugin called
SteeringPlugin
which handles movement of all of theSteeringBundle
s.Also added a trait called
SteeringBehavior
which allows to define new behaviors. There are several examples, e.g. SteerArrival. It might be useful when enemies and projectiles are added.All the changes to the
SteeringHost
entities are immediately reflected by the update systems. For example, you can changemax_velocity
which indicates the maximum speed of an entity.An example usage is here.