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