Container-based virtual camera rotation

    公开(公告)号:US11436811B2

    公开(公告)日:2022-09-06

    申请号:US15636359

    申请日:2017-06-28

    摘要: Methods and systems for controlling a view of a virtual camera in a virtual world. A view of user viewing a virtual world may be controlled or changed while accounting for a user's head position. For example, a virtual camera may be wrapped in a container such that rotation of the container causes rotation of the virtual camera relative to a global coordinate system. Based on a position of a head-mounted display, an initial virtual camera rotation angle relative to a global coordinate system of the virtual world may be identified. An indication to change to view to particular direction may be received. A desired rotation angle relative to the global coordinate system for a view to correspond to the particular direction is then determined. The container is then rotated by a rotation value based at least on both the desired rotation angle and the initial virtual camera rotation angle.