Function physx_sys::PxPhysics_createAggregate_mut
source · pub unsafe extern "C" fn PxPhysics_createAggregate_mut(
self_: *mut PxPhysics,
maxActor: u32,
maxShape: u32,
filterHint: u32
) -> *mut PxAggregate
Expand description
Creates an aggregate with the specified maximum size and filtering hint.
The previous API used “bool enableSelfCollision” which should now silently evaluates to a PxAggregateType::eGENERIC aggregate with its self-collision bit.
Use PxAggregateType::eSTATIC or PxAggregateType::eKINEMATIC for aggregates that will only contain static or kinematic actors. This provides faster filtering when used in combination with PxPairFilteringMode.
The new aggregate.