Skip to content

Latest commit

 

History

History
71 lines (38 loc) · 2.56 KB

PxCloth.rst

File metadata and controls

71 lines (38 loc) · 2.56 KB

PxCloth

Rectangular patch of cloth simulated by PhysX.

Inherit:

GameBase

Description

PxCloth is affected by other objects in the simulation but does not itself affect others, it is essentially a visual effect. Eg, shooting at cloth will disturb it but will not explode the projectile.

Be careful with the cloth size and resolution because it can easily become performance intensive to simulate. A single piece of cloth that is very large or high resolution is also much more expensive than multiple pieces that add up to the same number of verts.

Note that most field docs have been copied from their PhysX counterpart.

Fields