Function physx_sys::PxActor_setDominanceGroup_mut
source · pub unsafe extern "C" fn PxActor_setDominanceGroup_mut(
self_: *mut PxActor,
dominanceGroup: u8
)
Expand description
Assigns dynamic actors a dominance group identifier.
PxDominanceGroup is a 5 bit group identifier (legal range from 0 to 31).
The PxScene::setDominanceGroupPair() lets you set certain behaviors for pairs of dominance groups. By default every dynamic actor is created in group 0.
Default: 0
Sleeping: Changing the dominance group does NOT wake the actor up automatically.