text: [{"Owner":"oschakravarthi","Date":"2018-10-01T14:21:04Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tHi_co_\n_lt_/p_gt_\n\n_lt_p_gt_\n\t \n_lt_/p_gt_\n\n_lt_p_gt_\n\tThank you all for your support. I am progressing well with my POC.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tI am stuck on a problem.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tOn a click on a mesh_co_ I am populating few buttons into CylinderPanel. The panel is being displayed somewhere else. not even in the viewport.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tThis panel should be shown to the user in front of the camera so that user can click on any of the buttons.\n_lt_/p_gt_\n\n_lt_p_gt_\n\tHow can I bring the panel in front of the camera (or make it appear in the viewport).\n_lt_/p_gt_\n\n_lt_p_gt_\n\t \n_lt_/p_gt_\n\n_lt_p_gt_\n\tThanks in advance.\n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"brianzinn","Date":"2018-10-01T15:35:56Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tThe easiest way I know is to use an anchor and then move the anchor.\n_lt_/p_gt_\n\n_lt_pre_gt_\n_lt_code_gt_let anchor _eq_ new BABYLON.TransformNode(_qt__qt_) // this can be a mesh_co_ too\nanchor.position _eq_ new BABYLON.Vector3(0_co_ 0_co_ 0)_sm_ // or whereeverr\ncylinderPanel.linkToTransformNode(anchor)_lt_/code_gt__lt_/pre_gt_\n\n_lt_p_gt_\n\tTo bring in front of the camera_co_ you can use the camera position and facing direction (getForwardRay())_co_ but I imagine you have a set place in the scene.\n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"},{"Owner":"oschakravarthi","Date":"2018-10-01T16:01:38Z","Content":"_lt_div class_eq__qt_mages_qt__gt_\n\t\t\t\n_lt_p_gt_\n\tThank you _lt_a contenteditable_eq__qt_false_qt_ data-ipshover_eq__qt__qt_ data-ipshover-target_eq__qt_http_dd_//www.html5gamedevs.com/profile/25365-brianzinn/?do_eq_hovercard_qt_ data-mentionid_eq__qt_25365_qt_ href_eq__qt_http_dd_//www.html5gamedevs.com/profile/25365-brianzinn/_qt_ rel_eq__qt__qt__gt_@brianzinn_lt_/a_gt_\n_lt_/p_gt_\n\n_lt_p_gt_\n\tIt did not work when i try to reposition it to some other position.\n_lt_/p_gt_\n\n_lt_p_gt_\n\t \n_lt_/p_gt_\n\n\n\t\t\t\n\t\t_lt_/div_gt_\n\n\t\t_lt_div class_eq__qt_ipsI_qt__gt__lt_/div_gt__lt_/div_gt_"}]