Physics · function
validateClothSetup
Refuse a set-up whose arrays disagree, naming the array and both lengths.
Explained in Your first game, Rigid bodies.
function validateClothSetup(setup: SkinnedClothSetup): voidimport { validateClothSetup } from '@driftengine/physics';Parameters
| Parameter | Type | Description |
|---|---|---|
setup | SkinnedClothSetup |