bt.CollisionWorld¶
-
class
bt.
CollisionWorld
¶ Represents: c++ class Wraps: btCollisionWorld Constructors:
-
bt.
CollisionWorld
(bt.Dispatcher dispatcher, bt.BroadphaseInterface broadphasePairCache, bt.CollisionConfiguration collisionConfiguration)¶ -
Параметры: - dispatcher (
bt.Dispatcher
) – - broadphasePairCache (
bt.BroadphaseInterface
) – - collisionConfiguration (
bt.CollisionConfiguration
) –
- dispatcher (
Methods:
-
:
setBroadphase
(bt.BroadphaseInterface pairCache)¶ -
Параметры: pairCache ( bt.BroadphaseInterface
) –
-
:
getBroadphase
()¶ -
Тип результата: bt.BroadphaseInterface
-
:
getDispatcher
()¶ -
Тип результата: bt.Dispatcher
-
:
updateSingleAabb
(bt.CollisionObject colObj)¶ -
Параметры: colObj ( bt.CollisionObject
) –
-
:
updateAabbs
()¶
-
:
computeOverlappingPairs
()¶
-
:
getNumCollisionObjects
()¶ -
Тип результата: int
-
:
addCollisionObject
(bt.CollisionObject collisionObject, int collisionFilterGroup, int collisionFilterMask)¶ -
Параметры: - collisionObject (
bt.CollisionObject
) – - collisionFilterGroup (
int
) – - collisionFilterMask (
int
) –
- collisionObject (
-
:
addCollisionObject
(bt.CollisionObject collisionObject, int collisionFilterGroup) -
Параметры: - collisionObject (
bt.CollisionObject
) – - collisionFilterGroup (
int
) –
- collisionObject (
-
:
addCollisionObject
(bt.CollisionObject collisionObject) -
Параметры: collisionObject ( bt.CollisionObject
) –
-
:
refreshBroadphaseProxy
(bt.CollisionObject collisionObject)¶ -
Параметры: collisionObject ( bt.CollisionObject
) –
-
:
removeCollisionObject
(bt.CollisionObject collisionObject)¶ -
Параметры: collisionObject ( bt.CollisionObject
) –
-
:
performDiscreteCollisionDetection
()¶
-
:
getForceUpdateAllAabbs
()¶ -
Тип результата: bool
-
:
setForceUpdateAllAabbs
(bool forceUpdateAllAabbs)¶ -
Параметры: forceUpdateAllAabbs ( bool
) –
-