diff --git a/interface/resources/meshes/defaultAvatar_full/avatar-animation.json b/interface/resources/meshes/defaultAvatar_full/avatar-animation.json index 9c357ac845..550a95e980 100644 --- a/interface/resources/meshes/defaultAvatar_full/avatar-animation.json +++ b/interface/resources/meshes/defaultAvatar_full/avatar-animation.json @@ -23,6 +23,11 @@ "positionVar": "leftHandPosition", "rotationVar": "leftHandRotation" }, + { + "jointName": "Neck", + "positionVar": "neckPosition", + "rotationVar": "neckRotation" + }, { "jointName": "Head", "positionVar": "headPosition", diff --git a/libraries/animation/src/AnimNode.h b/libraries/animation/src/AnimNode.h index d5da552a0f..e8c611d3e4 100644 --- a/libraries/animation/src/AnimNode.h +++ b/libraries/animation/src/AnimNode.h @@ -61,7 +61,7 @@ public: // hierarchy accessors void addChild(Pointer child) { _children.push_back(child); } void removeChild(Pointer child); - + Pointer getChild(int i) const; int getChildCount() const { return (int)_children.size(); }