Class: btPairCachingGhostObject
Ammo.btPairCachingGhostObject
Hierarchy
↳
btPairCachingGhostObject
Constructors
Properties
Methods
- setAnisotropicFriction
- getCollisionShape
- setContactProcessingThreshold
- setActivationState
- forceActivationState
- activate
- isActive
- isKinematicObject
- isStaticObject
- isStaticOrKinematicObject
- getRestitution
- getFriction
- getRollingFriction
- setRestitution
- setFriction
- setRollingFriction
- getWorldTransform
- getCollisionFlags
- setCollisionFlags
- setWorldTransform
- setCollisionShape
- setCcdMotionThreshold
- setCcdSweptSphereRadius
- getUserIndex
- setUserIndex
- getUserPointer
- setUserPointer
- getBroadphaseHandle
- getNumOverlappingObjects
- getOverlappingObject
Constructors
constructor
• new btPairCachingGhostObject(): btPairCachingGhostObject
Returns
Overrides
Defined in
Properties
kB
• kB: number
Inherited from
Defined in
Methods
setAnisotropicFriction
▸ setAnisotropicFriction(anisotropicFriction
, frictionMode
): void
Parameters
Name | Type |
---|---|
anisotropicFriction | btVector3 |
frictionMode | number |
Returns
void
Inherited from
btGhostObject.setAnisotropicFriction
Defined in
getCollisionShape
▸ getCollisionShape(): btCollisionShape
Returns
Inherited from
btGhostObject.getCollisionShape
Defined in
setContactProcessingThreshold
▸ setContactProcessingThreshold(contactProcessingThreshold
): void
Parameters
Name | Type |
---|---|
contactProcessingThreshold | number |
Returns
void
Inherited from
btGhostObject.setContactProcessingThreshold
Defined in
setActivationState
▸ setActivationState(newState
): void
Parameters
Name | Type |
---|---|
newState | number |
Returns
void
Inherited from
btGhostObject.setActivationState
Defined in
forceActivationState
▸ forceActivationState(newState
): void
Parameters
Name | Type |
---|---|
newState | number |
Returns
void
Inherited from
btGhostObject.forceActivationState
Defined in
activate
▸ activate(forceActivation?
): void
Parameters
Name | Type |
---|---|
forceActivation? | boolean |
Returns
void
Inherited from
Defined in
isActive
▸ isActive(): boolean
Returns
boolean
Inherited from
Defined in
isKinematicObject
▸ isKinematicObject(): boolean
Returns
boolean
Inherited from
btGhostObject.isKinematicObject
Defined in
isStaticObject
▸ isStaticObject(): boolean
Returns
boolean
Inherited from
Defined in
isStaticOrKinematicObject
▸ isStaticOrKinematicObject(): boolean
Returns
boolean
Inherited from
btGhostObject.isStaticOrKinematicObject
Defined in
getRestitution
▸ getRestitution(): number
Returns
number
Inherited from
Defined in
getFriction
▸ getFriction(): number
Returns
number
Inherited from
Defined in
getRollingFriction
▸ getRollingFriction(): number
Returns
number
Inherited from
btGhostObject.getRollingFriction
Defined in
setRestitution
▸ setRestitution(rest
): void
Parameters
Name | Type |
---|---|
rest | number |
Returns
void
Inherited from
Defined in
setFriction
▸ setFriction(frict
): void
Parameters
Name | Type |
---|---|
frict | number |
Returns
void
Inherited from
Defined in
setRollingFriction
▸ setRollingFriction(frict
): void
Parameters
Name | Type |
---|---|
frict | number |
Returns
void
Inherited from
btGhostObject.setRollingFriction
Defined in
getWorldTransform
▸ getWorldTransform(): btTransform
Returns
Inherited from
btGhostObject.getWorldTransform
Defined in
getCollisionFlags
▸ getCollisionFlags(): number
Returns
number
Inherited from
btGhostObject.getCollisionFlags
Defined in
setCollisionFlags
▸ setCollisionFlags(flags
): void
Parameters
Name | Type |
---|---|
flags | number |
Returns
void
Inherited from
btGhostObject.setCollisionFlags
Defined in
setWorldTransform
▸ setWorldTransform(worldTrans
): void
Parameters
Name | Type |
---|---|
worldTrans | btTransform |
Returns
void
Inherited from
btGhostObject.setWorldTransform
Defined in
setCollisionShape
▸ setCollisionShape(collisionShape
): void
Parameters
Name | Type |
---|---|
collisionShape | btCollisionShape |
Returns
void
Inherited from
btGhostObject.setCollisionShape
Defined in
setCcdMotionThreshold
▸ setCcdMotionThreshold(ccdMotionThreshold
): void
Parameters
Name | Type |
---|---|
ccdMotionThreshold | number |
Returns
void
Inherited from
btGhostObject.setCcdMotionThreshold
Defined in
setCcdSweptSphereRadius
▸ setCcdSweptSphereRadius(radius
): void
Parameters
Name | Type |
---|---|
radius | number |
Returns
void
Inherited from
btGhostObject.setCcdSweptSphereRadius
Defined in
getUserIndex
▸ getUserIndex(): number
Returns
number
Inherited from
Defined in
setUserIndex
▸ setUserIndex(index
): void
Parameters
Name | Type |
---|---|
index | number |
Returns
void
Inherited from
Defined in
getUserPointer
▸ getUserPointer(): unknown
Returns
unknown
Inherited from
Defined in
setUserPointer
▸ setUserPointer(userPointer
): void
Parameters
Name | Type |
---|---|
userPointer | unknown |
Returns
void
Inherited from
Defined in
getBroadphaseHandle
▸ getBroadphaseHandle(): btBroadphaseProxy
Returns
Inherited from
btGhostObject.getBroadphaseHandle
Defined in
getNumOverlappingObjects
▸ getNumOverlappingObjects(): number
Returns
number
Inherited from
btGhostObject.getNumOverlappingObjects
Defined in
getOverlappingObject
▸ getOverlappingObject(index
): btCollisionObject
Parameters
Name | Type |
---|---|
index | number |
Returns
Inherited from
btGhostObject.getOverlappingObject