Hi,
I'm working on a third person adventure game and wrote a script that zooms the Camera in on the Press of L-trigger on the controller and calls an actionlist.
Now what i want to do is to enable the hotspot higlighting only in this Mode and be able to cycle through them (in the actionlist, right now i constrain the character and i'm already able to cycle through the Hotspots, but i want them only to be highlighted when i'm in the zoom mode)
What would be the best way to achieve this? mabe a general method or so to call once i Press the Button?
And also AC.Kickstarter.mainCamera.GetFocalDistance (); works really great! Is there also a way to use this to rack the focus to the currently highlighted/selected Hotspot?
Maybe even a checkbox in the Hotspot component in a future version of AC to set focus on higlighting or something like that?
Thank you
Comments
By "hotspot highlighting", are you referring to just the highlight effect of Hotspots, or the ability for them to be interactive? I'm assuming the latter, i.e. when not zoomed in, Hotspots are not interactive. If this is the case, you could try using the Engine: Manage systems Action to enable/disable the Interaction system as necessary.
AC.KickStarter.player.SetHeadTurnTarget