US 12,102,916 B2
Ability aiming method and apparatus in three-dimensional virtual environment, device, and storage medium
Xun Hu, Shenzhen (CN); Yulin Wan, Shenzhen (CN); Shandong Su, Shenzhen (CN); Yu Chen, Shenzhen (CN); and Le Wang, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by Tencent Technology (Shenzhen) Company Limited, Shenzhen (CN)
Filed on Oct. 26, 2021, as Appl. No. 17/511,396.
Application 17/511,396 is a continuation of application No. PCT/CN2020/128772, filed on Nov. 13, 2020.
Claims priority of application No. 202010093196.9 (CN), filed on Feb. 14, 2020.
Prior Publication US 2022/0047946 A1, Feb. 17, 2022
Int. Cl. A63F 9/24 (2006.01); A63F 13/2145 (2014.01); A63F 13/533 (2014.01); A63F 13/5372 (2014.01)
CPC A63F 13/533 (2014.09) [A63F 13/2145 (2014.09); A63F 13/5372 (2014.09)] 20 Claims
OG exemplary drawing
 
1. An ability aiming method in a three-dimensional virtual environment performed by a computer device, the method comprising:
displaying a user interface (UI) of an application program, the UI comprising a virtual environment picture and an ability aiming control, the virtual environment picture being a picture obtained by observing the three-dimensional virtual environment from the perspective of a third-person point of view, the ability aiming control being a two-dimensional control configured to cast an ability, and the ability aiming control being located on an upper layer of the virtual environment picture;
receiving a drag operation on the ability aiming control, the drag operation comprising a first operating point and a second operating point that are located on the ability aiming control, the first operating point being an initial operating point of the drag operation, and the second operating point being a current operating point of the drag operation; and
in response to receiving the drag operation on the ability aiming control:
displaying a three-dimensional ability aiming indicator in the virtual environment picture, the three-dimensional ability aiming indicator having an ability aiming direction that is parallel to a drag direction of the drag operation in the UI, the drag direction corresponding to an aiming vector on the ability aiming control and pointing from the first operating point to the second operating point;
determining an ability aiming vector in the three-dimensional virtual environment picture, corresponding to an aiming vector on the ability aiming control, according to an inverse transformation matrix; and
casting a first ability to a target position in the virtual environment picture according to the ability aiming vector.