Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何让相机从屏幕左侧开始跟踪我的演员;不是当他到达中间?
如您所见,跟踪区域位于屏幕中间,我无法移动它,因此它可以与屏幕最左侧的演员对齐,即当演员开始移动时,我希望相机移动立即开始跟踪他,而不是等到他到达中间。
我过去这样做的方法是创建一个不可见的actor并将其约束到actor的位置+屏幕宽度的50%,然后用相机跟踪那个不可见的actor