1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-31 10:25:20 +01:00

Detach the player from entities on death. (#5077)

This commit is contained in:
red-001
2017-01-21 15:11:55 +00:00
committed by Loïc Blot
parent 0eede97af2
commit 72535d3328
5 changed files with 16 additions and 14 deletions

View File

@@ -49,6 +49,7 @@ public:
void setBonePosition(const std::string &bone, v3f position, v3f rotation);
void getBonePosition(const std::string &bone, v3f *position, v3f *rotation);
void setAttachment(int parent_id, const std::string &bone, v3f position, v3f rotation);
void detachFromParent();
void getAttachment(int *parent_id, std::string *bone, v3f *position, v3f *rotation);
void addAttachmentChild(int child_id);
void removeAttachmentChild(int child_id);