bt.CompoundShape

class bt.CompoundShape
Represents:c++ class
Wraps:btCompoundShape
Bases:bt.CollisionShape

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)

Параметры:
: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) –
:updateChildTransform(int childIndex, bt.Transform newChildTransform)

Параметры: