Crate bevy_mod_physx

Source
Expand description

 

PhysX is an open-source Physics SDK written in C++ and developed by Nvidia.
This crate is a bridge between Bevy ECS and Rust bindings made by Embark Studios.

Re-exports§

pub use physx;
pub use physx_sys;

Modules§

core
Basic physics parts belonging to PhysicsCore plugin.
plugins
Collection of plugins that sync additional components with PhysX engine.
prelude
Re-exports of commonly imported symbols from this crate.
types
Monomorphized PhysX types used by Bevy plugin.
utils
Various helpers and extension traits.

Structs§

PhysicsCore
Primary physics plugin that manages actor creation, simulation and transforms.
PhysicsPlugins
This plugin group will add all available physics plugins.
PhysicsSchedule
Dedicated schedule for all physics-related systems.
PhysicsTimeInner
This is a specialization of the Time structure that measures execution of PhysicsSchedule, delta corresponds to time advanced from previous PhysicsSchedule execution.

Enums§

PhysicsSet
SystemSet inside PhysicsSchedule where all physics systems live.
TimestepMode
Defines how often physics shall be simulated with respect to bevy time.

Traits§

PhysicsTimeExtensions

Functions§

run_physics_schedule
Runs PhysicsSchedule in PreUpdate.

Type Aliases§

PhysicsTime
A clock that tracks how much time was simulated by the physics engine.