Trait heron::prelude::AppBuilderExt[][src]

pub trait AppBuilderExt {
    pub fn add_physics_system(
        &mut self,
        system: impl Into<SystemDescriptor>
    ) -> &mut Self; }

Extensions for the app builder

Required methods

pub fn add_physics_system(
    &mut self,
    system: impl Into<SystemDescriptor>
) -> &mut Self
[src]

Add a system to the “physics update” stage so that it runs before each physics step.

This can be used to add systems that modify transform/velocity or other physics components.

Typically (and by default) physics steps run at a fixed rate and are out of sync with the bevy update.

Loading content...

Implementations on Foreign Types

impl AppBuilderExt for AppBuilder[src]

Loading content...

Implementors

Loading content...