bt.CompoundShape¶
- class bt.CompoundShape¶
- Represents:
c++ class
- Wraps:
btCompoundShape
- Bases:
Constructors:
- bt.CompoundShape(bool enableDynamicAabbTree, int initialChildCapacity)¶
-
- Параметры:
enableDynamicAabbTree (
bool) –initialChildCapacity (
int) –
- bt.CompoundShape(bool enableDynamicAabbTree)
-
- Параметры:
enableDynamicAabbTree (
bool) –
- bt.CompoundShape()
Methods:
- :addChildShape(bt.Transform localTransform, bt.CollisionShape shape)¶
-
- Параметры:
localTransform (
bt.Transform) –shape (
bt.CollisionShape) –
- :removeChildShape(bt.CollisionShape shape)¶
-
- Параметры:
shape (
bt.CollisionShape) –
- :getNumChildShapes()¶
-
- Тип результата:
int
- :getChildShape(int index)¶
-
- Параметры:
index (
int) –- Тип результата:
- :getChildTransform(int index)¶
-
- Параметры:
index (
int) –- Тип результата:
- :updateChildTransform(int childIndex, bt.Transform newChildTransform, bool shouldRecalculateLocalAabb)¶
-
- Параметры:
childIndex (
int) –newChildTransform (
bt.Transform) –shouldRecalculateLocalAabb (
bool) –
- :updateChildTransform(int childIndex, bt.Transform newChildTransform)
-
- Параметры:
childIndex (
int) –newChildTransform (
bt.Transform) –