new CapsuleCollider( [radius] [, height])
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
radius |
number |
<optional> |
The radius of the capsule. If omitted, will use the object bounds. |
height |
number |
<optional> |
The height of the capsule. If omitted, will use the object bounds. |