PxScene_setGravity_mut

Function PxScene_setGravity_mut 

Source
pub unsafe extern "C" fn PxScene_setGravity_mut(
    self_: *mut PxScene,
    vec: *const PxVec3,
)
Expand description

Sets a constant gravity for the entire scene.

Do not use this method while the simulation is running.

Sleeping: Does NOT wake the actor up automatically.