21 class Body3D:
public Mbs3DComponent
24 Body3D(MbsWorld3D *world_3d,
const char* name, glm::mat4
const& abs_mat = glm::mat4(1.0f));
28 void AddMbsShape3D(
MbsShape3D *new_shape_3d) { shape_3d_list.push_back(new_shape_3d); }
30 void UpdateShapes3DMat();
32 AnchorPoint3D* AddAnchor(
const char* name, glm::vec3
const& anchor_pos = glm::vec3(0.0f));
34 virtual void UpdateAbsMatTree();
36 virtual void PrintTree(
int level);
38 AnchorPoint3D* GetChildAnchor(
const char* name);
41 std::vector<AnchorPoint3D*> anchor_child_list;
43 std::vector<MbsShape3D*> shape_3d_list;