[][src]Trait physx::simulation_event_callback::WakeSleepCallback

pub trait WakeSleepCallback<L: ArticulationLink, S: RigidStatic, D: RigidDynamic>: Sized {
    pub fn on_wake_sleep(
        &mut self,
        actors: &[&ActorMap<L, S, D>],
        is_waking: bool
    ); }

A trait for onWake() and onSleep() callbacks. Parametrized by the ArticulationLink, RigidStatic, and RigidDynamic types of the scene it is in.

Required methods

pub fn on_wake_sleep(&mut self, actors: &[&ActorMap<L, S, D>], is_waking: bool)[src]

Loading content...

Implementors

Loading content...