IP Library Granted Patent US 12,296,268
Granted Patent B2
US 12,296,268 · App. 18/484,093 · Granted May 13, 2025

Predictive display of thrown projectile

Inventor: Bojun Liu (Shenzhen, CN)
Assignee: Tencent Technology (Shenzhen) Company Limited
A63F13/573A63F13/53G06F3/011G06T7/246G06T7/73G06T2207/30241
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,296,268
App. No.
18/484,093
Granted
May 13, 2025
Kind
B2
Abstract

Embodiments of this disclosure describe a method and an apparatus for controlling a virtual object to interact with a projectile. The method includes: determining a shooting direction of a camera of the virtual scene as a throwing direction of a projectile controlled by the virtual object; determining a motion trajectory of the projectile according to an initial position, the throwing direction, an initial throwing speed of the projectile, and a motion law of an object under an influence of gravity acceleration, so that the motion trajectory conforms to the motion law; displaying, in the virtual scene, the motion trajectory; adjusting the shooting direction of the camera of the virtual scene, to obtain an adjusted throwing direction of the projectile; updating the motion trajectory of the projectile based on the adjusted throwing projectile; and displaying, in the virtual scene, an updated motion trajectory.

Claims (74)

1. A method for controlling a virtual object to interact with a projectile in a virtual scene, applied to a terminal, the method comprising:

determining a shooting direction of a camera of the virtual scene as a throwing direction of a projectile controlled by the virtual object;

determining an initial position of the projectile via:

projecting the projectile to a horizontal plane of a three-dimensional coordinates of the virtual object;

moving the projectile to a right rear side of the virtual object by adjusting an X-axis coordinate and a Y-axis coordinate of the projectile based on a preset angle to the virtual object and preset distance from the virtual object, respectively;

adjusting a Z-axis coordinate of the projectile based on a pre-configured value;

determining a motion trajectory of the projectile according to the initial position, the throwing direction, an initial throwing speed of the projectile, and a motion law of an object under an influence of gravity acceleration, so that the motion trajectory conforms to the motion law;

displaying, in the virtual scene, the motion trajectory;

adjusting the shooting direction of the camera of the virtual scene, to obtain an adjusted throwing direction of the projectile;

updating the motion trajectory of the projectile based on the adjusted throwing projectile; and

displaying, in the virtual scene, an updated motion trajectory.

2. The method of claim 1 , further comprising:

adjusting a viewing angle of the virtual scene based on the adjusted shooting direction of the camera.

3. The method of claim 1 , wherein adjusting the shooting direction of the camera of the virtual scene comprises is achieved via at least one of:

a press position, a press force, or a press time of a press operation applied to a viewing angle adjustment control area of the terminal;

a rotation or a tilt operation on the terminal; or

a sliding direction, a sliding distance, and a sliding speed of a sliding operation on the terminal.

4. The method of claim 3 , wherein the sliding speed and a rotation speed of shooting direction of the camera are positively correlated, and wherein the sliding distance and a rotation angle of the shooting direction of the camera are positively correlated.

5. The method of claim 1 , further comprising determine the initial of the projectile via one of:

determining the initial position as a location from which the projectile is picked up by the virtual object;

determining the initial position based on a position of the virtual object, and adjusting a height of the initial position to be a height of a hand of the virtual object; or

determining the initial position based on a preset angle to the virtual object and a preset distance to the virtual object.

6. The method of claim 1 , further comprising:

displaying, in the virtual scene, a dynamic image of the projectile moving to an end position of the motion trajectory along the motion trajectory.

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

controlling the virtual object to perform a throwing operation on the projectile and displaying a dynamic image of the projectile moving to an end position along the motion trajectory, wherein a movement of the projectile ends in response to the projectile colliding with an obstacle.

8. The method of claim 7 , further comprising:

in response to the projectile colliding with the obstacle, simulating, at the end position of the motion trajectory in the virtual scene, an effect of the projectile hitting the obstacle.

9. A device for controlling a virtual object to interact with a projectile in a virtual scene, the device comprising a memory for storing computer instructions and a processor in communication with the memory, wherein, when the processor executes the computer instructions, the processor is configured to cause the device to perform:

determining a shooting direction of a camera of the virtual scene as a throwing direction of a projectile controlled by the virtual object;

determining an initial position of the projectile via:

projecting the projectile to a horizontal plane of a three-dimensional coordinates of the virtual object;

moving the projectile to a right rear side of the virtual object by adjusting an X-axis coordinate and a Y-axis coordinate of the projectile based on a preset angle to the virtual object and preset distance from the virtual object, respectively;

adjusting a Z-axis coordinate of the projectile based on a pre-configured value;

determining a motion trajectory of the projectile according to the initial position, the throwing direction, an initial throwing speed of the projectile, and a motion law of an object under an influence of gravity acceleration, so that the motion trajectory conforms to the motion law;

displaying, in the virtual scene, the motion trajectory;

adjusting the shooting direction of the camera of the virtual scene, to obtain an adjusted throwing direction of the projectile;

updating the motion trajectory of the projectile based on the adjusted throwing projectile; and

displaying, in the virtual scene, an updated motion trajectory.

10. The device of claim 9 , wherein, when the processor executes the computer instructions, the processor is configured to further cause the device to perform:

adjusting a viewing angle of the virtual scene based on the adjusted shooting direction of the camera.

11. The device of claim 9 , wherein adjusting the shooting direction of the camera of the virtual scene comprises is achieved via at least one of:

a press position, a press force, or a press time of a press operation applied to a viewing angle adjustment control area of the device;

a rotation or a tilt operation on the device; or

a sliding direction, a sliding distance, and a sliding speed of a sliding operation on the device.

12. The device of claim 11 , wherein the sliding speed and a rotation speed of shooting direction of the camera are positively correlated, and wherein the sliding distance and a rotation angle of the shooting direction of the camera are positively correlated.

13. The device of claim 9 , wherein, when the processor executes the computer instructions, the processor is configured to further cause the device to determine the initial of the projectile via one of:

determining the initial position as a location from which the projectile is picked up by the virtual object;

determining the initial position based on a position of the virtual object, and adjusting a height of the initial position to be a height of a hand of the virtual object; or

determining the initial position based on a preset angle to the virtual object and a preset distance to the virtual object.

14. The device of claim 9 , wherein, when the processor executes the computer instructions, the processor is configured to further cause the device to perform:

displaying, in the virtual scene, a dynamic image of the projectile moving to an end position of the motion trajectory along the motion trajectory.

15. The device according to claim 14 , wherein, when the processor executes the computer instructions, the processor is configured to further cause the device to perform:

controlling the virtual object to perform a throwing operation on the projectile and displaying a dynamic image of the projectile moving to an end position along the motion trajectory, wherein a movement of the projectile ends in response to the projectile colliding with an obstacle.

16. The device of claim 15 , wherein, when the processor executes the computer instructions, the processor is configured to further cause the device to:

in response to the projectile colliding with the obstacle, simulating, at the end position of the motion trajectory in the virtual scene, an effect of the projectile hitting the obstacle.

17. A non-transitory storage medium for storing computer readable instructions, the computer readable instructions, when executed by a processor in a device for controlling a virtual object to interact with a projectile in a virtual scene, causing the processor to:

determining a shooting direction of a camera of the virtual scene as a throwing direction of a projectile controlled by the virtual object;

determining an initial position of the projectile via:

projecting the projectile to a horizontal plane of a three-dimensional coordinates of the virtual object;

moving the projectile to a right rear side of the virtual object by adjusting an X-axis coordinate and a Y-axis coordinate of the projectile based on a preset angle to the virtual object and preset distance from the virtual object, respectively;

adjusting a Z-axis coordinate of the projectile based on a pre-configured value;

determining a motion trajectory of the projectile according to the initial position, the throwing direction, an initial throwing speed of the projectile, and a motion law of an object under an influence of gravity acceleration, so that the motion trajectory conforms to the motion law;

displaying, in the virtual scene, the motion trajectory;

adjusting the shooting direction of the camera of the virtual scene, to obtain an adjusted throwing direction of the projectile;

updating the motion trajectory of the projectile based on the adjusted throwing projectile; and

displaying, in the virtual scene, an updated motion trajectory.

18. The non-transitory storage medium of claim 17 , wherein, when the computer readable instructions, when executed by a processor, further cause the device to perform:

adjusting a viewing angle of the virtual scene based on the adjusted shooting direction of the camera.

19. The non-transitory storage medium of claim 17 , wherein adjusting the shooting direction of the camera of the virtual scene comprises is achieved via at least one of:

a press position, a press force, or a press time of a press operation applied to a viewing angle adjustment control area of the device;

a rotation or a tilt operation on the device; or

a sliding direction, a sliding distance, and a sliding speed of a sliding operation on the device.

20. The non-transitory storage medium of claim 19 , wherein the sliding speed and a rotation speed of shooting direction of the camera are positively correlated, and wherein the sliding distance and a rotation angle of the shooting direction of the camera are positively correlated.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 10, 2023
From: LIU, BOJUN
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 065173/0573 →
Priority Claims (1)
CN 201810870034.4 · Aug 2, 2018 · national
Continuity (3)
Continuation 17081508 · Oct 27, 2020
Continuation PCTCN2019096602 · Jul 18, 2019
Related Publication 20240033636A1 · Feb 1, 2024
References Cited (35)
US 6336864B1 · Nakanishi · 2002 [cited by examiner]
US 20160250559A1 · Sogabe et al. · 2016 [cited by applicant]
US 20170151484A1 · Reilly et al. · 2017 [cited by applicant]
US 20170216729A1 · Onishi · 2017 [cited by examiner]
US 20180345148A1 · Matsumiya · 2018 [cited by examiner]
CN 1173379A · 1998 [cited by applicant]
CN 101110173A · 2008 [cited by applicant]
CN 101898042A · 2010 [cited by applicant]
CN 105597315A · 2016 [cited by applicant]
CN 106621312A · 2017 [cited by applicant]
CN 107158701A · 2017 [cited by applicant]
CN 108037827A · 2018 [cited by applicant]
CN 109200582A · 2019 [cited by applicant]
JP 200587325A · 2005 [cited by applicant]
JP 2015196042A · 2015 [cited by applicant]
“Tom Clancy's The Division”. From Wikipedia. [online], [retrieved on Mar. 23, 2022]. Retrieved from the Internet <URL:https://en.wikipedia.org/w/index.php?title=Tom_Clancy%27s_The_Division&oldid=849088761>. 5 pages. (Ye… [cited by examiner]
“The Division How to Throw Grenades” [online], [retrieved Mar. 23, 2022]. Retrieved from the Internet <URL https://www.youtube.com/watch?v=jxuebwq1pFw>. 1 page. (Year: 2016). [cited by examiner]
“The Division Guide: How”. From attackofthefanboy.com via The Way Back Machine. [online], [retrieved on Mar. 23, 2022]. Retrieved from the Internet <URL: https://web.archive.org/web/20160430235131/http://attackofthefanb… [cited by examiner]
“Guide: How to Properly throw Grenades in PlayerUnknown's Battlegrounds (PUBG)” [online], [retrieved Mar. 6, 2023]. Retrieved from the Internet <URL https://www.youtube.com/watch?v=Mn3uR4bzfSk>. 1 page. V (Year: 2017). [cited by examiner]
International Search Report and Written Opinion with English Translation for International Application No. PCT/CN2019/096602 dated Oct. 9, 2019; 13 pages. [cited by applicant]
Office Action for Chinese Patent Application No. 201810870034.4 dated Oct. 11, 2019; 9 pages. [cited by applicant]
Office Action for Chinese Patent Application No. 201810870034.4 dated Dec. 9, 2019, 6 pages. [cited by applicant]
Japanese Office Action with English Translation of Notice of Reasons for Refusal for Japanese Patent Application No. 2021-510519 dated Dec. 28, 2021, 10 pages. [cited by applicant]
Scott Rogers, “Level up” Game Design, first edition, Omorea Japan, Jan. 22, 2012, p. 271 to 275, pp. 08 to. [cited by applicant]
“Metal Gear Solid Peace Walker”, Electric Shock, vol. 2, Nihon, ASC11 Media Works, Dec. 1, 2009, vol. 9, No. 22, pp. 24-31 (documents showing well-known arts). [cited by applicant]
WackyJacky101, “Guide: How to Properly throw Grenades in PlayerUnknown's Battlegrounds(PUBG)”, Oct. 21, YouTube [online] [video], 2017, and in particular, refer to pp. 1:02 to 1:18, and 3″43 to 4:19. https://www.youtube… [cited by applicant]
David M. Bourg, introduction of Physical simulation for the development of game, first edition, Ohmssha Co., Ltd., Jan. 25, 2003, pp. 1 to 2, 34 (documents showing well-known arts), pp. 07 to 44 (well-known arts). [cited by applicant]
Basica knowledge of the physical knowledge of Tanijiri Yoshini, Tanijiri Dorcule, and a game, first edition, Japan, Kabushiki Kaisha, Jan. 25, 2011, pp. 71 to 86, 104 (documents showing well-known arts), pp. 02 to, and … [cited by applicant]
Japanese Office Action with English Translation of Notice of Reasons for Refusal for Japanese Patent Application No. 2021-510519 dated Aug. 29, 2022, 11 pages. [cited by applicant]
“[PUBG mobile] “throw—beginner escape”—the 5 [cited by applicant]
[PUBG Mobile] the smart phone version—at last—appearance! [ an operation method ] [ check and ] That is saw, YouTube [online] [video], May 16, 2018, https://www.youtube.com/watch?v=jX0n09lmHk, [Aug. 29, 2022 search]. [cited by applicant]
“Tom Clancy's The Divison”, https://en.wikipedia.org/w/index.php?title=Tom_Clancy%27s_The_Division&oldid=849088761, retrieved on Mar. 23, 2022, 5 pages, 2018. [cited by applicant]
“The Division How to Throw Grenades”, https://www.youtube.com/watch?v=jxuebwq1pFw, retrieved on Mar. 23, 2022, 1 page, 2016. [cited by applicant]
“The Division Guide: How,” https://web.archive.org/web/20160430235131/http://attackofthefanboy.com/guides/division-guide-throw-grenade, retrieved on Mar. 23, 2022, 1 page, 2016. [cited by applicant]
“Guide: How to Properly throw Grenades in PlayerUnknown's Battlegrounds (PUBG)”, https://www.youtube.com/watch?v=Mn3uR4bzfSk, 1 page, 2017. [cited by applicant]