CPC A63F 13/44 (2014.09) [A63F 13/42 (2014.09); G06F 18/2431 (2023.01); G06N 20/00 (2019.01)] | 20 Claims |
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.
|