US 11,938,400 B2
Object control method and apparatus, storage medium, and electronic apparatus
Xiongfei Huang, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Guangdong (CN)
Filed by TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Guangdong (CN)
Filed on May 13, 2021, as Appl. No. 17/320,051.
Application 17/320,051 is a continuation of application No. PCT/CN2020/072635, filed on Jan. 17, 2020.
Claims priority of application No. 201910130187.X (CN), filed on Feb. 21, 2019.
Prior Publication US 2021/0260478 A1, Aug. 26, 2021
Int. Cl. A63F 13/42 (2014.01); A63F 13/44 (2014.01); G06F 18/2431 (2023.01); G06N 20/00 (2019.01)
CPC A63F 13/44 (2014.09) [A63F 13/42 (2014.09); G06F 18/2431 (2023.01); G06N 20/00 (2019.01)] 20 Claims
OG exemplary drawing
 
1. An object control method, comprising:
detecting, by processing circuitry of a client, long-press operations on a first virtual key and a second virtual key in an interaction interface, the first virtual key being configured to adjust a movement direction of a target object in a virtual environment, the second virtual key being configured to trigger the target object to perform a drift action in the virtual environment;
controlling the target object to perform the drift action in a current path in the virtual environment in response to the long-press operations;
determining a target angle of the target object in a process of performing the drift action, the target angle being an angle between the movement direction of the target object and a sliding direction of the target object; and
adjusting, by the processing circuitry of the client, key responsiveness states of the first virtual key and the second virtual key to invalid states in the interaction interface in response to a determination that the target angle of the target object in the process of performing the drift action reaches a first angle threshold matching the current path, such that the target object continues to perform the drift action in the virtual environment in a state of passive drift, the invalid states indicating that operations on the first virtual key and the second virtual key do not affect movement of the target object in the virtual environment.