IP Library › Granted Patent US 12,343,623
Granted Patent B2
US 12,343,623 · App. 17/981,320 · Granted Jul 1, 2025

Virtual object control method and apparatus, device, storage medium, and program product

Inventors: Yang Wang (Shenzhen, CN); Lijie Zhang (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
A63F13/52A63F13/56
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 12,343,623
App. No.
17/981,320
Granted
Jul 1, 2025
Kind
B2
Abstract

A virtual object control method is performed by a computer device. The method includes: displaying a virtual scene picture corresponding to a virtual scene, the virtual scene including a first virtual object; controlling the first virtual object to launch a target virtual projectile, the target virtual projectile being configured to trigger a virtual gravitational source in the virtual scene; and, when a distance between a second virtual object and the virtual gravitational source is less than a distance threshold, controlling the second virtual object to move toward the virtual gravitational source. This solution provides a method for quickly gathering second virtual objects to a specified position, so as to realize control on a plurality of second virtual objects by a first virtual object, and shorten a duration of a single-round battle, thereby reducing the power consumption of a terminal and saving data traffic.

Claims (73)

1. A virtual object control method, performed by a computer device, the method comprising:

displaying a virtual scene picture corresponding to a virtual scene, the virtual scene comprising a first virtual object and a second virtual object;

controlling the first virtual object to launch a target virtual projectile at the second virtual object;

generating a virtual gravitational source based on a position of the target virtual projectile in the virtual scene;

determining a distance between the second virtual object and the virtual gravitational source; and

when the distance between the second virtual object and the virtual gravitational source is less than a distance threshold, controlling the second virtual object to move toward the virtual gravitational source, further including:

displaying a linear motion trajectory connecting a position of the second virtual object and a center position of the virtual gravitational source; and

displaying a movement of the second virtual object toward the virtual gravitational source along the linear motion trajectory.

2. The method according to claim 1 , wherein the generating the virtual gravitational source based on a position of the target virtual projectile comprises:

acquiring a first movement trajectory of the target virtual projectile;

determining a first trigger position based on the first movement trajectory of the target virtual projectile, the first trigger position being a maximum range position when no collision occurs during movement of the target virtual projectile along the first movement trajectory, or a position at which the target virtual projectile collides with an obstacle; and

generating the virtual gravitational source at the first trigger position.

3. The method according to claim 2 , wherein the generating the virtual gravitational source at the first trigger position comprises:

generating the virtual gravitational source at the first trigger position when a volume of surrounding space of the first trigger position is greater than or equal to a volume of the virtual gravitational source.

4. The method according to claim 2 , wherein the generating the virtual gravitational source at the first trigger position comprises:

determining a second trigger position when a volume of surrounding space of the first trigger position is less than a volume of the virtual gravitational source, the second trigger position being a position on the first movement trajectory and for which a volume of surrounding space is greater than or equal to the volume of the virtual gravitational source; and

generating the virtual gravitational source at the second trigger position.

5. The method according to claim 1 , wherein the controlling the second virtual object to move toward the virtual gravitational source comprises:

acquiring a first distance between a position of the second virtual object and a center position of the virtual gravitational source;

determining, based on the distance between the second virtual object and the virtual gravitational source, an initial speed at which the second virtual object moves, the initial speed being inversely correlated with the first distance; and

controlling the second virtual object to move toward the center position of the virtual gravitational source at the initial speed and a first acceleration along the linear motion trajectory.

6. The method according to claim 1 , further comprising:

when a duration for which the virtual gravitational source exists in the virtual scene reaches a first duration, displaying an explosion effect at the position corresponding to the virtual gravitational source in the virtual scene, and removing the virtual gravitational source from the virtual scene.

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

modifying a first attribute value of the second virtual object to 0 when the second virtual object moves to the center position of the virtual gravitational source along the linear motion trajectory.

8. The method according to claim 1 , wherein the controlling the second virtual object to move toward the virtual gravitational source comprises:

acquiring a first direction in which a center position of the virtual gravitational source faces relative to the second virtual object;

determining, based on the first direction, a first action of the second virtual object during its movement toward the center position of the virtual gravitational source; and

controlling, based on the first action, the second virtual object to move toward the center position of the virtual gravitational source along the linear motion trajectory.

9. A computer device, comprising a processor and a memory, the memory storing at least one computer program, the computer program being loaded and executed by the processor and causing the computer device to implement a virtual object control method including:

displaying a virtual scene picture corresponding to a virtual scene, the virtual scene comprising a first virtual object and a second virtual object;

controlling the first virtual object to launch a target virtual projectile at the second virtual object;

generating a virtual gravitational source based on a position of the target virtual projectile in the virtual scene;

determining a distance between the second virtual object and the virtual gravitational source; and

when the distance between the second virtual object and the virtual gravitational source is less than a distance threshold, controlling the second virtual object to move toward the virtual gravitational source, further including:

displaying a linear motion trajectory connecting a position of the second virtual object and a center position of the virtual gravitational source; and

displaying a movement of the second virtual object toward the virtual gravitational source along the linear motion trajectory.

10. The computer device according to claim 9 , wherein the generating the virtual gravitational source based on a position of the target virtual projectile comprises:

acquiring a first movement trajectory of the target virtual projectile;

determining a first trigger position based on the first movement trajectory of the target virtual projectile, the first trigger position being a maximum range position when no collision occurs during movement of the target virtual projectile along the first movement trajectory, or a position at which the target virtual projectile collides with an obstacle; and

generating the virtual gravitational source at the first trigger position.

11. The computer device according to claim 10 , wherein the generating the virtual gravitational source at the first trigger position comprises:

generating the virtual gravitational source at the first trigger position when a volume of surrounding space of the first trigger position is greater than or equal to a volume of the virtual gravitational source.

12. The computer device according to claim 10 , wherein the generating the virtual gravitational source at the first trigger position comprises:

determining a second trigger position when a volume of surrounding space of the first trigger position is less than a volume of the virtual gravitational source, the second trigger position being a position on the first movement trajectory and for which a volume of surrounding space is greater than or equal to the volume of the virtual gravitational source; and

generating the virtual gravitational source at the second trigger position.

13. The computer device according to claim 9 , wherein the controlling the second virtual object to move toward the virtual gravitational source comprises:

acquiring a first distance between a position of the second virtual object and a center position of the virtual gravitational source;

determining, based on the distance between the second virtual object and the virtual gravitational source, an initial speed at which the second virtual object moves, the initial speed being inversely correlated with the first distance; and

controlling the second virtual object to move toward the center position of the virtual gravitational source at the initial speed and a first acceleration along the linear motion trajectory.

14. The computer device according to claim 9 , wherein the method further comprises:

when a duration for which the virtual gravitational source exists in the virtual scene reaches a first duration, displaying an explosion effect at the position corresponding to the virtual gravitational source in the virtual scene, and removing the virtual gravitational source from the virtual scene.

15. The computer device according to claim 9 , wherein the method further comprises:

modifying a first attribute value of the second virtual object to 0 when the second virtual object moves to the center position of the virtual gravitational source along the linear motion trajectory.

16. A non-transitory computer-readable storage medium, storing at least one computer program, the computer program being loaded and executed by a processor of a computer device and causing the computer device to implement a virtual object control method including:

displaying a virtual scene picture corresponding to a virtual scene, the virtual scene comprising a first virtual object and a second virtual object;

controlling the first virtual object to launch a target virtual projectile at the second virtual object;

generating a virtual gravitational source based on a position of the target virtual projectile in the virtual scene;

determining a distance between the second virtual object and the virtual gravitational source; and

when the distance between the second virtual object and the virtual gravitational source is less than a distance threshold, controlling the second virtual object to move toward the virtual gravitational source, further including:

displaying a linear motion trajectory connecting a position of the second virtual object and a center position of the virtual gravitational source; and

displaying a movement of the second virtual object toward the virtual gravitational source along the linear motion trajectory.

17. The non-transitory computer-readable storage medium according to claim 16 , wherein the generating the virtual gravitational source based on a position of the target virtual projectile comprises:

acquiring a first movement trajectory of the target virtual projectile;

determining a first trigger position based on the first movement trajectory of the target virtual projectile, the first trigger position being a maximum range position when no collision occurs during movement of the target virtual projectile along the first movement trajectory, or a position at which the target virtual projectile collides with an obstacle; and

generating the virtual gravitational source at the first trigger position.

18. The non-transitory computer-readable storage medium according to claim 16 , wherein the controlling the second virtual object to move toward the virtual gravitational source comprises:

determining, based on the distance between the second virtual object and the virtual gravitational source, an initial speed at which the second virtual object moves, the initial speed being inversely correlated with the first distance; and

controlling the second virtual object to move toward the center position of the virtual gravitational source at the initial speed and a first acceleration along the linear motion trajectory.

19. The non-transitory computer-readable storage medium according to claim 16 , wherein the method further comprises:

when a duration for which the virtual gravitational source exists in the virtual scene reaches a first duration, displaying an explosion effect at the position corresponding to the virtual gravitational source in the virtual scene, and removing the virtual gravitational source from the virtual scene.

20. The non-transitory computer-readable storage medium according to claim 16 , wherein the method further comprises:

modifying a first attribute value of the second virtual object to 0 when the second virtual object moves to the center position of the virtual gravitational source along the linear motion trajectory.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 26, 2023
From: WANG, YANG; ZHANG, LIJIE
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 062499/0008 →
Priority Claims (1)
CN 202110082390.1 · Jan 21, 2021 · national
Continuity (2)
Continuation PCTCN2021141743 · Dec 27, 2021
Related Publication 20230057151A1 · Feb 23, 2023
References Cited (68)
US 4445011A · Hansen · 1984 [cited by examiner]
US 4817950A · Goo · 1989 [cited by examiner]
US 5577185A · Tunnell · 1996 [cited by examiner]
US 5695406A · Park · 1997 [cited by examiner]
US 5846134A · Latypov · 1998 [cited by examiner]
US 5910797A · Beuk · 1999 [cited by examiner]
US 6217449B1 · Kaku · 2001 [cited by examiner]
US 6590536B1 · Walton · 2003 [cited by examiner]
US 7424388B2 · Sato · 2008 [cited by examiner]
US 7872638B2 · Sato · 2011 [cited by examiner]
US 7907838B2 · Nasiri · 2011 [cited by examiner]
US 7988558B2 · Sato · 2011 [cited by examiner]
US 8079251B2 · Miyanaga · 2011 [cited by examiner]
US 8152640B2 · Shirakawa · 2012 [cited by examiner]
US 8337307B2 · Uchida · 2012 [cited by examiner]
US 8395582B2 · Takayama · 2013 [cited by examiner]
US 8523646B2 · Morimoto · 2013 [cited by examiner]
US 8654073B2 · Konishi · 2014 [cited by examiner]
US 8751179B2 · Hayashi · 2014 [cited by examiner]
US 9049948B2 · Jongen · 2015 [cited by examiner]
US 9050525B2 · Dohta · 2015 [cited by examiner]
US 9067137B2 · Ogasawara · 2015 [cited by examiner]
US 9120012B2 · Akimoto · 2015 [cited by examiner]
US 9205327B2 · Hayashi · 2015 [cited by examiner]
US 9421456B2 · Okamoto · 2016 [cited by examiner]
US 9480918B2 · Hayashi · 2016 [cited by examiner]
US 9482554B2 · Cook · 2016 [cited by examiner]
US 9561442B2 · Shimizu · 2017 [cited by examiner]
US 9604136B1 · Ricky · 2017 [cited by examiner]
US 9703417B2 · Taki · 2017 [cited by examiner]
US 9989924B2 · Huang · 2018 [cited by examiner]
US 10010794B2 · Dancau · 2018 [cited by examiner]
US 10124211B2 · Scholl · 2018 [cited by examiner]
US 10307670B2 · Lee · 2019 [cited by examiner]
US 10345896B2 · Schmidt · 2019 [cited by examiner]
US 10729025B1 · Hung · 2020 [cited by examiner]
US 10777006B2 · Bashkirov · 2020 [cited by examiner]
US 10864552B2 · Shoji · 2020 [cited by examiner]
US 10994216B2 · Board · 2021 [cited by examiner]
US 11036299B2 · Choi · 2021 [cited by examiner]
US 11117047B2 · Lin · 2021 [cited by examiner]
US 11117054B2 · Kojima · 2021 [cited by examiner]
US 11819763B2 · Liu · 2023 [cited by examiner]
US 11951407B2 · Song · 2024 [cited by examiner]
US 12034909B2 · Elbakly · 2024 [cited by examiner]
US 12131417B1 · Malia · 2024 [cited by examiner]
US 20190272707A1 · Washington et al. · 2019 [cited by applicant]
US 20190381403A1 · Lin et al. · 2019 [cited by applicant]
US 20200298121A1 · Deng · 2020 [cited by applicant]
US 20220379209A1 · Yao · 2022 [cited by examiner]
CN 105607845A · 2016 [cited by applicant]
CN 108553885A · 2018 [cited by applicant]
CN 111544889A · 2020 [cited by applicant]
CN 111589150A · 2020 [cited by applicant]
CN 111714886A · 2020 [cited by applicant]
CN 112107858A · 2020 [cited by applicant]
CN 112402964A · 2021 [cited by applicant]
CN 112717410A · 2021 [cited by applicant]
JP 2019136358A · 2019 [cited by applicant]
JP 2020039403A · 2020 [cited by applicant]
JP 2020534615A · 2020 [cited by applicant]
TW 200806369A · 2008 [cited by applicant]
Tencent Technology, WO, PCT/CN2021/141743, Mar. 28, 2022, 4 pgs. [cited by applicant]
Tencent Technology, IPRP, PCT/CN2021/141743, Jul. 20, 2023, 5 pgs. [cited by applicant]
Gypsophila, “‘Honkai 3’ Sky Ranger Skill Analysis and Gameplay Recommendation”, Kalvin.cn, Aug. 9, 2019, 6 pgs., Retrieved from the Internet: https://www.kalvin.cn/gl/8617.html. [cited by applicant]
Honkai III 985 Planning, “Collapse 3 Sky Ranger How to Play Sky Ranger Skill Analysis”, Doyo.cn, Jul. 30, 2019, 7 pgs., Retrieved from the Internet: https://www.doyo.cn/news/1642.html. [cited by applicant]
Tencent Technology, ISR, PCT/CN2021/141743, Mar. 28, 2022, 3 pgs. [cited by applicant]
Famitsu.com, “Dissidia: Final Fantasy. Y'shtola Basic Information”, Nov. 2018, Retrieved from the Internet: https://www.famitsu.com/matome/dff/character14.html. [cited by applicant]