Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 531 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 531 Bytes

Movement Visualisation

A bevy plugin to visualise the movements of a player.

Demo

use move_vis::MoveVisPlugin;

fn main() {
   App::new()
       .add_plugin(MoveVisPlugin)
       .add_system(spawn_player);
   // ...
}

fn spawn_player(mut commands: Commands){
    commands
        .spawn()
        .insert(RigidBody::Dynamic)
        ..
        .insert(TrackMovement);
}

For more details on usage see Examples