IP Library Granted Patent US 12678696
Granted Patent B2
US 12678696 · App. 18/578,759 · Granted Jul 14, 2026

Virtual object interaction method, non-transitory storage medium and electronic device

Inventor: Qichuan Zhang (Hangzhou, CN)
Assignee: NETEASE (HANGZHOU) NETWORK CO., LTD.
A63F13/577A63F13/2145A63F13/537A63F13/837
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12678696
App. No.
18/578,759
Granted
Jul 14, 2026
Kind
B2
Abstract

A virtual object interaction method, a non-transitory computer-readable storage medium, and an electronic device are provided. The method includes: displaying an adsorbable area on a graphical user interface in response to a touch operation acting on a first short-range interaction skill control, wherein the graphical user interface is provided by a terminal device and comprises a virtual scene and at least one short-range interaction skill control; locking a target virtual object in the virtual scene according to an orientation of a crosshair in the adsorbable area; adsorbing the target virtual object in response to a release operation acting on the first short-range interaction skill control; and performing collision detection for the target virtual object, and initiating interaction with the target virtual object according to a result of the detection.

Claims (63)

1 . A virtual object interaction method, comprising:

displaying an adsorbable area on a graphical user interface in response to a touch operation acting on a first short-range interaction skill control, wherein the graphical user interface is provided by a terminal device and comprises a virtual scene and at least one short-range interaction skill control;

locking a target virtual object in the virtual scene according to an orientation of a crosshair in the adsorbable area;

adsorbing the target virtual object in response to a release operation acting on the first short-range interaction skill control; and

performing collision detection for the target virtual object, and initiating interaction with the target virtual object according to a result of the detection,

wherein adsorbing the target virtual object in response to the release operation acting on the first short-range interaction skill control comprises:

in response to the release operation acting on the first short-range interaction skill control, and in response to detecting that a distance between a first virtual object and the target virtual object is greater than a first distance, performing ray detection in a direction of a current orientation of the crosshair; and

in response to determining that a virtual object that is first detected by the ray detection in the virtual scene is the target virtual object, controlling the first virtual object to move toward the target virtual object.

2 . The virtual object interaction method according to claim 1 , wherein locking the target virtual object in the virtual scene according to the orientation of the crosshair in the adsorbable area comprises:

aiming at the target virtual object in the virtual scene according to the orientation of the crosshair in the adsorbable area; and

locking the target virtual object in response to determining that an angle between the target virtual object and the orientation of the crosshair meets a starting condition of a locking function.

3 . The virtual object interaction method according to claim 2 , wherein aiming at the target virtual object in the virtual scene according to the orientation of the crosshair in the adsorbable area comprises:

controlling the crosshair to deflect in acceleration in response to detecting a touch operation that brings the crosshair close to the target virtual object; and

controlling the crosshair to deflect in deceleration in response to detecting a touch operation that brings the crosshair away from the target virtual object.

4 . The virtual object interaction method according to claim 2 , wherein aiming at the target virtual object in the virtual scene according to the orientation of the crosshair in the adsorbable area further comprises:

in response to detecting that the target virtual object moves in a direction away from the crosshair, controlling the crosshair to move in a same direction as the target virtual object moves and to aim at the target virtual object.

5 . The virtual object interaction method according to claim 2 , wherein the method further comprises:

in response to locking the target virtual object in the virtual scene according to the orientation of the crosshair in the adsorbable area, displaying, on the graphical user interface, a charging progress control used for triggering an interaction skill; and

automatically initiating the interaction with the target virtual object when the charging progress control indicates that charging is completed.

6 . The virtual object interaction method according to claim 1 , wherein the first virtual object is equipped with a collision detection box, and wherein performing the collision detection for the target virtual object and initiating the interaction with the target virtual object according to the result of the detection comprises:

performing the collision detection for the first virtual object and the target virtual object through the collision detection box; and

adjusting the interaction with the target virtual object according to a real-time detection result.

7 . The virtual object interaction method according to claim 1 , further comprising:

automatically searching for the target virtual object in the virtual scene according to the orientation of the crosshair in the adsorbable area; and

displaying an interface of the adsorbable area with identification in response to determining that the target virtual object appears in the adsorbable area.

8 . The virtual object interaction method according to claim 1 , further comprising:

automatically searching for and locking the target virtual object in the virtual scene in response to a trigger operation acting on a second short-range interaction skill control; and

adsorbing the target virtual object to initiate the interaction with the target virtual object.

9 . A non-transitory computer-readable storage medium having stored thereon a computer program which, when being executed by a processor of an electronic device, causes the electronic device to:

display an adsorbable area on a graphical user interface in response to a touch operation acting on a first short-range interaction skill control, wherein the graphical user interface is provided by a terminal device and comprises a virtual scene and at least one short-range interaction skill control;

lock a target virtual object in the virtual scene according to an orientation of a crosshair in the adsorbable area;

adsorb the target virtual object in response to a release operation acting on the first short-range interaction skill control; and

perform collision detection for the target virtual object, and initiate interaction with the target virtual object according to a result of the detection,

wherein adsorbing the target virtual object in response to the release operation acting on the first short-range interaction skill control comprises:

in response to the release operation acting on the first short-range interaction skill control, and in response to detecting that a distance between a first virtual object and the target virtual object is greater than a first distance, performing ray detection in a direction of a current orientation of the crosshair; and

in response to determining that a virtual object that is first detected by the ray detection in the virtual scene is the target virtual object, controlling the first virtual object to move toward the target virtual object.

10 . The non-transitory computer-readable storage medium according to claim 9 , wherein locking the target virtual object in the virtual scene according to the orientation of the crosshair in the adsorbable area comprises:

aiming at the target virtual object in the virtual scene according to the orientation of the crosshair in the adsorbable area; and

locking the target virtual object in response to determining that an angle between the target virtual object and the orientation of the crosshair meets a starting condition of a locking function.

11 . The non-transitory computer-readable storage medium according to claim 10 , wherein aiming at the target virtual object in the virtual scene according to the orientation of the crosshair in the adsorbable area comprises:

controlling the crosshair to deflect in acceleration in response to detecting a touch operation that brings the crosshair close to the target virtual object; and

controlling the crosshair to deflect in deceleration in response to detecting a touch operation that brings the crosshair away from the target virtual object.

12 . The non-transitory computer-readable storage medium according to claim 10 , wherein aiming at the target virtual object in the virtual scene-according to the orientation of the crosshair in the adsorbable area further comprises:

in response to detecting that the target virtual object moves in a direction away from the crosshair, controlling the crosshair to move in a same direction as the target virtual object moves and to aim at the target virtual object.

13 . An electronic device, comprising:

a processor; and

a memory configured to store instructions executable by the processor;

wherein the processor is configured to execute the executable instructions to cause the electronic device to:

display an adsorbable area on a graphical user interface in response to a touch operation acting on a first short-range interaction skill control, wherein the graphical user interface is provided by a terminal device and comprises a virtual scene and at least one short-range interaction skill control;

lock a target virtual object in the virtual scene according to an orientation of a crosshair in the adsorbable area;

adsorb the target virtual object in response to a release operation acting on the first short-range interaction skill control; and

perform collision detection for the target virtual object, and initiate interaction with the target virtual object according to a result of the detection,

wherein adsorbing the target virtual object in response to the release operation acting on the first short-range interaction skill control comprises:

in response to the release operation acting on the first short-range interaction skill control, and in response to detecting that a distance between a first virtual object and the target virtual object is greater than a first distance, performing ray detection in a direction of a current orientation of the crosshair; and

in response to determining that a virtual object that is first detected by the ray detection in the virtual scene is the target virtual object, controlling the first virtual object to move toward the target virtual object.

14 . The electronic device according to claim 13 , wherein locking the target virtual object in the virtual scene according to the orientation of the crosshair in the adsorbable area comprises:

aiming at the target virtual object in the virtual scene according to the orientation of the crosshair in the adsorbable area; and

locking the target virtual object in response to determining that an angle between the target virtual object and the orientation of the crosshair meets a starting condition of a locking function.

15 . The electronic device according to claim 14 , wherein aiming at the target virtual object in the virtual scene according to the orientation of the crosshair in the adsorbable area comprises:

controlling the crosshair to deflect in acceleration in response to detecting a touch operation that brings the crosshair close to the target virtual object; and

controlling the crosshair to deflect in deceleration in response to detecting a touch operation that brings the crosshair away from the target virtual object.

16 . The electronic device according to claim 14 , wherein aiming at the target virtual object in the virtual scene according to the orientation of the crosshair in the adsorbable area further comprises:

in response to detecting that the target virtual object moves in a direction away from the crosshair, controlling the crosshair to move in a same direction as the target virtual object moves and to aim at the target virtual object.