40 #ifndef _physicsmultispherecollisionshape_h
41 #define _physicsmultispherecollisionshape_h
43 #include "Physics/primitivecollisionshape.h"
45 class btMultiSphereShape;
68 void Construct(
const String& Name,
const std::vector<Vector3>& Locations,
const std::vector<Real>& Radii);
73 void Construct(
const String& Name, btMultiSphereShape* BulletShape);
91 virtual Vector3 GetSphereLocation(
const Whole& Index)
const;
95 virtual Real GetSphereRadius(
const Whole& Index)
const;
98 virtual Whole GetNumSpheres()
const;
102 virtual btMultiSphereShape* GetMultiSphereShape()
const;
105 virtual void ProtoSerialize(
XML::Node& CurrentRoot)
const;
107 virtual void ProtoDeSerialize(
const XML::Node& OneNode);
110 static String SerializableName();