azalea_physics

Function ai_step

Source
pub fn ai_step(
    query: Query<'_, '_, (&mut Physics, Option<&Jumping>, &Position, &LookDirection, &Sprinting, &InstanceName), (With<LocalEntity>, With<InLoadedChunk>)>,
    instance_container: Res<'_, InstanceContainer>,
)
Expand description

applies air resistance, calls self.travel(), and some other random stuff.