Class: btCapsuleShapeX
Ammo.btCapsuleShapeX
Hierarchy
↳
btCapsuleShapeX
Constructors
Methods
- setLocalScaling
- getLocalScaling
- calculateLocalInertia
- getUpAxis
- getRadius
- getHalfHeight
- setMargin
- getMargin
Constructors
constructor
• new btCapsuleShapeX(radius
, height
): btCapsuleShapeX
Parameters
Name | Type |
---|---|
radius | number |
height | number |
Returns
Overrides
Defined in
Methods
setLocalScaling
▸ setLocalScaling(scaling
): void
Parameters
Name | Type |
---|---|
scaling | btVector3 |
Returns
void
Inherited from
btCapsuleShape.setLocalScaling
Defined in
getLocalScaling
▸ getLocalScaling(): btVector3
Returns
Inherited from
btCapsuleShape.getLocalScaling
Defined in
calculateLocalInertia
▸ calculateLocalInertia(mass
, inertia
): void
Parameters
Name | Type |
---|---|
mass | number |
inertia | btVector3 |
Returns
void
Inherited from
btCapsuleShape.calculateLocalInertia
Defined in
getUpAxis
▸ getUpAxis(): number
Returns
number
Inherited from
Defined in
getRadius
▸ getRadius(): number
Returns
number
Inherited from
Defined in
getHalfHeight
▸ getHalfHeight(): number
Returns
number
Inherited from
Defined in
setMargin
▸ setMargin(margin
): void
Parameters
Name | Type |
---|---|
margin | number |
Returns
void
Overrides
Defined in
getMargin
▸ getMargin(): number
Returns
number