useamethyst_core::math::Vector3;usecrate::PtReal;/// This is the interface that contains all functionalities to manipulate the world.
/// The object that implement this interface is wrapped by `WorldPhysicsServer`.
/// It's stored as resource in the world.
pubtraitWorldPhysicsServerTrait<N: PtReal> {/// This function is responsible to perform the stepping of the world.
/// This must be called at a fixed rate
fnstep(&self);/// Set the time step
fnset_time_step(&self, delta_time: N);/// Set world gravity
fnset_gravity(&self, gravity:&Vector3<N>);/// get world gravity
fngravity(&self)->Vector3<N>;}