Logo Search packages:      
Sourcecode: blender version File versions  Download package

virtual void btGImpactCompoundShape::setChildTransform ( int  index,
const btTransform transform 
) [inline, virtual]

Sets the children transform.

Postcondition:
You must call updateBound() for update the box set.

Implements btGImpactShapeInterface.

Definition at line 458 of file btGImpactShape.h.

References btGImpactShapeInterface::postUpdate(), and btAlignedObjectArray< T >::size().

      {
            btAssert(m_childTransforms.size() == m_childShapes.size());
            m_childTransforms[index] = transform;
            postUpdate();
      }


Generated by  Doxygen 1.6.0   Back to index