Hello. I have two HUDs, one to display the Player's object variable HP, and one to display the HP value of whatever object is currently the "Selected Object," either enemy or Player. The Makinom menu setup for each is exactly the same, except for two things: 1) the "HUD User" for the Player HUD is "Player" and for the Selected Object HUD is "None." 2) The "Game Object" for the Object variable source is "Player" for the Player HUD, and "Selected Object" for the other. The result is the Player HUD displays correctly, but the Selected Object HUD always shows zero as the HP variable value, whether I've selected the Player or enemy. The selection of the objects is registering because I can see the cursor object above the selected object, and the HP variables on Player and enemy can be reduced by collision impact, so the issue seems to be my menu set-up. How do I make the HUD show the current HP of a selected object?
Also, another question about selected objects.....remind me how can I exclude certain colliders from the mouse click that "selects" an object? I want only the Mesh collider on one object in the Hierarchy to trigger the selection, but not--for example--the large trigger colliders I have attached to other child objects throughout the Hierarchy.
Thanks for any advice!