use bevy::*; use bevy::{render::*, asset::{Asset, AssetStorage, Handle}, math::{Mat4, Quat, Vec3}, Schedulable, Parent}; use rand::{rngs::StdRng, Rng, SeedableRng, random}; use std::collections::VecDeque; fn build_wander_system() -> Box { let mut rng = StdRng::from_entropy(); SystemBuilder::new("Wander") .read_resource::