| Parameter | Description |
|---|---|
| useWorldSpace | Whether to create the shape proxy in world-space or not. World-space will transform by the body origin the shape is attached to. |
Create a shape proxy from the shape.
| Parameter | Description |
|---|---|
| transform | The transform used to position the shape geometry. |
Create a shape proxy from the shape, transformed by the specified transform.
| Parameter | Description |
|---|---|
| transform | The transform used to position the shape geometry. |
| scaleRadius | Whether to scale the radius of the shape. Only affects shape types that carry a radius (Circle, Capsule, Polygon). |
Create a shape proxy from the shape, transformed by the specified transform. The maximum absolute value component from the scale will be used to scale the radius when is true. Shape types without a radius ignore the flag.