I can’t figure out the class name of the orbit camera to access it from my verse code. It’s not listed anywhere in the Fortnite.Digest file, and I can’t find much help online either. Does anyone know what it’s class is called, how to obtain that information, or a workaround I could use? (Other than making an orbit camera per person ideally)
Thanks in advance!
1 Like
don’t think they can be touched in verse atm.
i’ve been managing them using triggers using a class of triggers for each function of the device.
EDIT : if there is a function on the orbit camera to switch or reassign targets this should work for that as well
you’d have to write something that can handle both players for detaching and attaching though
Orbit_Cam_Manager := class<concrete>:
@editable Attach : trigger_device = trigger_device{}
@edtiable Detach : trigger_device = trigger_device{}
#add more for each function on the device
Cam_Device := class(creative_device):
@editable Cam_Managers : []Orbit_Cam_Manager = array{}
OnBegin<override>()<suspends>:void=
AllPlayers := GetPlayspace().GetPlayers()
for(Index := 0..AllPlayers.Length - 1):
if(Player := AllPlayers[i]):
if(Cam_Class_Instance := Cam_Managers[i]):
Attach_Cam := Cam_Class_Instance.Attach
Attach_Cam.Trigger(Player) #have each orbit cam event binded to attach the cam to player on triggered / same for detached etc..