Class: btMultiSphereShape
Ammo.btMultiSphereShape
Hierarchy
↳
btMultiSphereShape
Constructors
Methods
Constructors
constructor
• new btMultiSphereShape(positions, radii, numPoints): btMultiSphereShape
Parameters
| Name | Type |
|---|---|
positions | btVector3 |
radii | readonly number[] |
numPoints | number |
Returns
Overrides
Defined in
Methods
setLocalScaling
▸ setLocalScaling(scaling): void
Parameters
| Name | Type |
|---|---|
scaling | btVector3 |
Returns
void
Inherited from
btCollisionShape.setLocalScaling
Defined in
getLocalScaling
▸ getLocalScaling(): btVector3
Returns
Inherited from
btCollisionShape.getLocalScaling
Defined in
calculateLocalInertia
▸ calculateLocalInertia(mass, inertia): void
Parameters
| Name | Type |
|---|---|
mass | number |
inertia | btVector3 |
Returns
void
Inherited from
btCollisionShape.calculateLocalInertia
Defined in
setMargin
▸ setMargin(margin): void
Parameters
| Name | Type |
|---|---|
margin | number |
Returns
void
Inherited from
Defined in
getMargin
▸ getMargin(): number
Returns
number

