//MultiSphere public MultiSphereShape AddMultiSphereShape(float3[] positions, float[] radi) { IMultiSphereShapeImp iMultiSphereShapeImp = _dwi.AddMultiSphereShape(positions, radi); var retval = new MultiSphereShape(); retval._multiSphereShapeImp = iMultiSphereShapeImp; iMultiSphereShapeImp.UserObject = retval; return(retval); }
/// <summary> /// Adds a multi-sphere as a child shape. /// </summary> /// <param name="localTransform">The local transformation of the child shape.</param> /// <param name="childShape">The child shape.</param> public void AddChildShape(float4x4 localTransform, MultiSphereShape childShape) { _compoundShapeImp.AddChildShape(localTransform, childShape._multiSphereShapeImp); }