Virtual scene display method, electronic device, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsShuohuan Wu, Zhihong Liu
Life of this patent
Estimating the term…
Abstract
A virtual scene display method, includes obtaining, an adsorption region of a target virtual object in response to detection of a viewing-angle adjustment operation. The method further includes obtaining, in response to a determination that an aiming point is located in the adsorption region of the target virtual object, a target rotation speed of a viewing angle of a virtual scene according to a location of the aiming point, a location of the target virtual object, and the viewing-angle adjustment operation. Further, the method includes displaying, with the circuitry of the electronic device, a target virtual scene based on the target rotation speed of the viewing angle.
Claims20
A virtual scene display method, comprising:
- obtaining an adsorption region corresponding to a location of a target virtual object such that the adsorption region moves along with movement of the target virtual object;
- obtaining, with circuitry of an electronic device, in response to a determination that an aiming point is located in the adsorption region corresponding to the location of the target virtual object, a target rotation speed of a viewing angle of a virtual scene based on a detected viewing-angle adjustment operation by applying a magnetic force toward the target virtual object based on a location of the aiming point and a location of the target virtual object, wherein, when the detected viewing-angle adjustment operation has an operation direction toward the target virtual object, the applied magnetic force is greater than a magnetic force applied when the detected viewing-angle adjustment operation has an operation direction away from the target virtual object;
- and
- executing the detected viewing-angle adjustment operation based on the target rotation speed of the viewing angle.
An electronic device, comprising:
- processing circuitry configured to:
- obtain, an adsorption region corresponding to a location of a target virtual object such that the adsorption region moves along with movement of the target virtual object;
- obtain, in response to a determination that an aiming point is located in the adsorption region corresponding to the location of the target virtual object, a target rotation speed of a viewing angle of a virtual scene based on a detected viewing-angle adjustment operation by applying a magnetic force toward the target virtual object based on a location of the aiming point and a location of the target virtual object wherein, when the detected viewing-angle adjustment operation has an operation direction toward the target virtual object, the applied magnetic force is greater than a magnetic force applied when the detected viewing-angle adjustment operation has an operation direction away from the target virtual object;
- and
- executing the detected viewing-angle adjustment operation based on the target rotation speed of the viewing angle.
A non-transitory computer-readable storage medium storing computer-readable instructions thereon, which, when executed by processing circuitry, cause the processing circuitry to perform a virtual scene display method comprising:
- obtaining an adsorption region corresponding to a location of a target virtual object such that the adsorption region moves along with movement of the target virtual object;
- obtaining, in response to a determination that an aiming point is located in the adsorption region corresponding to the location of the target virtual object, a target rotation speed of a viewing angle of a virtual scene based on a detected viewing-angle adjustment operation by applying a magnetic force toward the target virtual object based on a location of the aiming point, and a location of the target virtual object, wherein, when the detected viewing-angle adjustment operation has an operation direction toward the target virtual object, the applied magnetic force is greater than a magnetic force applied when the detected viewing-angle adjustment operation has an operation direction away from the target virtual object;
- and
- executing the detected viewing-angle adjustment operation based on the target rotation speed of the viewing angle.
Dependencies are inferred from the claim text.