pub unsafe extern "C" fn PxAggregate_removeActor_mut(
    self_: *mut PxAggregate,
    actor: *mut PxActor
) -> bool
Expand description

Removes an actor from the aggregate object.

A warning is output if the incoming actor does not belong to the aggregate. Otherwise the actor is removed from the aggregate. If the aggregate belongs to a scene, the actor is reinserted in that scene. If you intend to delete the actor, it is best to call PxActor::release directly. That way the actor will be automatically removed from its aggregate (if any) and not reinserted in a scene.