Class: btCollisionShape
Ammo.btCollisionShape
Hierarchy
btCollisionShape
Constructors
Methods
Constructors
constructor
• new btCollisionShape(): btCollisionShape
Returns
Methods
setLocalScaling
▸ setLocalScaling(scaling
): void
Parameters
Name | Type |
---|---|
scaling | btVector3 |
Returns
void
Defined in
getLocalScaling
▸ getLocalScaling(): btVector3
Returns
Defined in
calculateLocalInertia
▸ calculateLocalInertia(mass
, inertia
): void
Parameters
Name | Type |
---|---|
mass | number |
inertia | btVector3 |
Returns
void
Defined in
setMargin
▸ setMargin(margin
): void
Parameters
Name | Type |
---|---|
margin | number |
Returns
void
Defined in
getMargin
▸ getMargin(): number
Returns
number