PxMultiActor

Represents a destructible physical object simulated using PhysX.

Inherit:
GameBase

Description

Usually it is prefered to use PhysicsShape and not PxMultiActor because it is not PhysX specific and much easier to setup.

Methods

void PxMultiActor::listMeshes(enum Hidden, enum Shown, enum All)

Lists all meshes of the provided type in the console window.

Parameters:
  • All – Lists all of the PxMultiActor’s meshes.
  • Hidden – Lists all of the PxMultiActor’s hidden meshes.
  • Shown – Lists all of the PxMultiActor’s visible meshes.
void PxMultiActor::setAllHidden()

Hides or unhides all meshes contained in the PxMultiActor . Hidden meshes will not be rendered.

void PxMultiActor::setBroken()

Sets the PxMultiActor to a broken or unbroken state.

void PxMultiActor::setMeshHidden(string meshName, bool isHidden)

Prevents the provided mesh from being rendered.

Fields

bool PxMultiActor::broken
bool PxMultiActor::debugRender