support multiple thrown projectiles
This commit is contained in:
@@ -79,9 +79,7 @@ fn move_active(
|
||||
let t = (elapsed - active.start_time) / active.duration;
|
||||
transform.rotation = active.start.rotation.lerp(active.target.rotation, t);
|
||||
} else {
|
||||
info!("movable done");
|
||||
*transform = active.target;
|
||||
|
||||
commands.entity(e).remove::<(ActiveMovable, Movable)>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user