dop down menu in HUD with items help pls
chicop
Member Posts: 263
hi there
ive stumbled up on a tricky one for me,
i have a drop down menu/box with items in there that drag and drop onto the screen and you can place them .. all good. However now i have a level where the user can scroll the camera up or down.. left right... i would like for the drop down menu and its items to be in my HUD and stay on screen where ever the user goes while the drop down box is open.. and when the user closes the drop down the items left in the drop down box disappear/hide..
how can i constrain my items to the drop down box only when they are touching the drop down box and not follow the HUD when they are not touching the drop down box...
i think the scene--> scrollable is overwriting my constrain rules..
thanks
ive stumbled up on a tricky one for me,
i have a drop down menu/box with items in there that drag and drop onto the screen and you can place them .. all good. However now i have a level where the user can scroll the camera up or down.. left right... i would like for the drop down menu and its items to be in my HUD and stay on screen where ever the user goes while the drop down box is open.. and when the user closes the drop down the items left in the drop down box disappear/hide..
how can i constrain my items to the drop down box only when they are touching the drop down box and not follow the HUD when they are not touching the drop down box...
i think the scene--> scrollable is overwriting my constrain rules..
thanks
Comments
I tried constraining the drop down menu to the camera but i do not know how to give it x,y coordinates(offset) to set it to the correct position on screen... also it seems to lag behind a bit to the cam for some reason...