Trait heron::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]
&mut self,
system: impl Into<SystemDescriptor>
) -> &mut Self
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.
Implementations on Foreign Types
impl AppBuilderExt for AppBuilder
[src]
pub fn add_physics_system(
&mut self,
system: impl Into<SystemDescriptor>
) -> &mut AppBuilder
[src]
&mut self,
system: impl Into<SystemDescriptor>
) -> &mut AppBuilder