Vector3f labelPosition = new Vector3f(position.x, position.y + 3, position.z);
Arrow arrow = new Arrow("Arrow", 3, 0.5f);
Node rotatedOnX = new Node("Rotated For Arrow");
rotatedOnX.setLocalRotation(new Quaternion().fromAngleAxis(90*FastMath.DEG_TO_RAD, new Vector3f(1, 0, 0)));
rotatedOnX.attachChild(arrow);
rotatedOnX.setLocalTranslation(position);
// arrow.setLocalTranslation(position);
label.setLocalTranslation(labelPosition);
arrow.lookAt(direction, new Vector3f(0,1,0));
rootNode.attachChild(label);