this term is mentioned in the docs but lacks a clear definition.
Is it:
a) the thing you are looking at.
or
b) the camera to be set.
??
View target is actor that is currently viewed by camera, each actor can have itâs own scripted camera setup and if itâs become view target, it uses those camera scripts. In other words you can switch camera between actors and you can make camera behave differently for each each type of actor.
ah, so it is both a) and b)
WAAAAAT! Shouldnât view target be a point in space where your camera is focused instead of an entity
No it shouldnt, because then you will not know what your camera is looking at. Instead, replace that point in space with entity at the same location, and name that entity something that makes sense.
How can this be changed? I donât see any âviewtargetâ on the PlayerCameraManager object in the editor. I just want to show debug info on an NPC via DisplayDebug but it appears that it wonât show up unless I can do this.
I think you cant access view target varable direcly in blueprints you need to use get and set functions
By default, a PlayerCameraManager
maintains a âview targetâ, which
is the primary actor the camera is
associated with. It can also apply
various âpostâ effects to the final
view state, such as camera animations,
shakes, post-process effects or
special effects such as dirt on the
lens.
(just for remark)