Method, device, and computer program for controlling virtual objects

The method and device enhance virtual object control in fighting games by using mirrored virtual objects to improve interaction efficiency and user engagement through dynamic control mechanisms.

JP2025501061AActive Publication Date: 2025-01-17TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024532485
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-05-31
Filing Date
2023-03-29
Publication Date
2025-01-17
Estimated Expiration
2043-03-29

AI Technical Summary

Technical Problem

Existing virtual object control methods in fighting games lack efficient man-machine interaction, resulting in low user engagement and poor gaming experience due to limited interaction forms between virtual objects.

Method used

A method and device that enable a virtual object to display a mirrored virtual object in response to a mirroring interaction control, allowing the virtual object to move to a specific position and interact with another virtual object upon contact, enhancing interaction forms through the use of mirroring virtual objects.

Benefits of technology

Enriches the interaction form between virtual objects, improving the efficiency of man-machine interaction and enhancing the user's gaming experience by providing more engaging and dynamic control mechanisms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025501061000001_ABST
    Figure 2025501061000001_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment, and storage medium for controlling a virtual object, which belong to the computer technology field. The method includes a step (201) of displaying a virtual scenario in which a first virtual object and a second virtual object are displayed, a step (202) of controlling the first virtual object to move in a first direction in response to a trigger operation on a mirroring interaction control, and displaying a mirrored virtual object of the first virtual object at a first position in the virtual scenario, a step (203) of controlling the first virtual object to move to the first position in response to a re-trigger operation on the mirroring interaction control during the process in which the first virtual object moves in the first direction, a step (204) of controlling the first virtual object and the second virtual object to jointly move to the first position when the first virtual object and the second virtual object come into contact with each other, and a step (205) of controlling the first virtual object to interact with the second virtual object when the first virtual object overlaps with the mirroring virtual object.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application claims priority to a Chinese patent application filed on May 31, 2022, bearing application number 202210611053.1, and entitled "Virtual object control method, device, apparatus, and storage medium," the entire contents of which are incorporated herein by reference.

[0002] The present application relates to the field of computer technology, and in particular to a method, device, apparatus, and storage medium for controlling a virtual object. [Background technology]

[0003] With the development of media technology and the diversification of terminal functions, the types of games that can be run on terminals are becoming more and more numerous. Fighting games are a popular type of game, which provides users with a virtual scenario in which two users respectively control two virtual objects to fight each other.

[0004] In the related art, a user generally controls a virtual object to fight using fists and feet, that is, in the process of fighting, the user can only control the virtual object to attack another virtual object using fists or feet individually, or a combination of fists and feet.

[0005] However, in the related art, the user only has a single mode of controlling virtual objects in a fighting manner, and the user cannot control the virtual objects to complete effective interaction with other virtual objects, resulting in low efficiency of man-machine interaction and a poor user game experience. Summary of the Invention [Problem to be solved by the invention]

[0006] The embodiments of the present application provide a method, device, apparatus and storage medium for controlling a virtual object, which can improve the efficiency of man-machine interaction, and the technical solutions are as follows: [Means for solving the problem]

[0007] According to one aspect, there is provided a method for controlling a virtual object, the method comprising: A step of displaying a virtual scenario, in which a first virtual object and a second virtual object are displayed in the virtual scenario, the first virtual object is a virtual object controlled by a terminal, and the second virtual object belongs to a camp different from that of the first virtual object; in response to a trigger operation on a mirroring interaction control, controlling the first virtual object to move in a first direction to display a mirrored virtual object of the first virtual object at a first position in the virtual scenario; controlling the first virtual object to move to the first position in response to a re-triggering operation on the mirroring interaction control during a process in which the first virtual object moves in the first direction; controlling the first virtual object and the second virtual object to jointly move to the first position when the first virtual object and the second virtual object come into contact with each other; and controlling the first virtual object to interact with the second virtual object when the first virtual object overlaps the mirroring virtual object.

[0008] According to one aspect, there is provided a virtual object-like control device, the device comprising: a virtual scenario display module for displaying a virtual scenario, in which a first virtual object and a second virtual object are displayed in the virtual scenario, the first virtual object is a virtual object controlled by a terminal, and the second virtual object belongs to a camp different from that of the first virtual object; a first virtual object control module that, in response to a trigger operation on a mirroring interaction control, controls the first virtual object to move in a first direction to display a mirrored virtual object of the first virtual object at a first position in the virtual scenario; a second virtual object control module configured to control the first virtual object and the second virtual object to jointly move to the first position when the first virtual object and the second virtual object come into contact with each other; the first virtual object control module further controls the first virtual object to move to the first position in response to a retrigger operation on the mirroring interaction control during a process in which the first virtual object moves in the first direction; The first virtual object control module further controls the first virtual object to interact with the second virtual object when the first virtual object overlaps with the mirroring virtual object.

[0009] According to one aspect, a computer device is provided, the computer device including one or more processors and one or more memories, at least one computer program is stored in the one or more memories, and the computer program is loaded and executed by the one or more processors to realize the method for controlling the virtual object.

[0010] According to one embodiment, a computer-readable storage medium is provided, the computer-readable storage medium having stored therein at least one computer program, the computer program being loaded and executed by a processor to realize the method for controlling the virtual object.

[0011] According to one aspect, there is provided a computer program product or a computer program which, when executed by a processor, implements the above method for controlling a virtual object. Effect of the Invention

[0012] According to the technical solution provided by the embodiment of the present application, a virtual scenario includes a first virtual object and a second virtual object, and a mirroring interaction control is triggered to control the first virtual object to move in a first direction, thereby displaying a mirrored virtual object of the first virtual object in the virtual scenario. During the movement of the first virtual object, in response to a re-triggering operation on the mirroring interaction control, the first virtual object is controlled to move to a position where the mirroring virtual object is located. When the first virtual object and the second virtual object come into contact with each other, the first virtual object and the second virtual object are controlled to jointly move to a position where the mirroring virtual object is located. When the first virtual object overlaps with the mirroring virtual object, the first virtual object is controlled to interact with the second virtual object. By installing the mirroring virtual object, the interaction form between the first virtual object and the second virtual object is enriched, and the user can effectively interact with the second virtual object using the mirroring virtual object, thereby improving the efficiency of man-machine interaction. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a schematic diagram of an implementation environment of a virtual object control method provided by an embodiment of the present application. [Diagram 2] 1 is a flowchart of a method for controlling a virtual object provided by an embodiment of the present application; [Diagram 3] 1 is a flowchart of another virtual object control method provided by an embodiment of the present application. [Figure 4] FIG. 1 is a schematic diagram of one hypothetical scenario provided by an embodiment of the present application. [Diagram 5] FIG. 2 is a schematic diagram of another hypothetical scenario provided by an embodiment of the present application. [Figure 6] FIG. 2 is a schematic diagram of another hypothetical scenario provided by an embodiment of the present application. [Figure 7] FIG. 2 is a schematic diagram of another hypothetical scenario provided by an embodiment of the present application. [Figure 8] FIG. 2 is a schematic diagram of another hypothetical scenario provided by an embodiment of the present application. [Figure 9] 1 is a flowchart of another virtual object control method provided by an embodiment of the present application. [Figure 10] FIG. 2 is a structural schematic diagram of a control device for a virtual object provided by an embodiment of the present application; [Figure 11] FIG. 2 is a structural schematic diagram of a terminal provided by an embodiment of the present application; [Figure 12] FIG. 2 is a structural schematic diagram of a server provided by an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] In order to make the objectives, technical solutions and advantages of the present application more comprehensible, the following detailed description of the embodiments of the present application is provided in conjunction with the drawings.

[0015] In this application, the terms "first", "second", etc. are used to distinguish identical or similar items that have essentially the same actions and functions, and there is no logical or temporal dependency between "first", "second", and "nth", and there are no limitations on the number or execution order.

[0016] Virtual scenario: a virtual scenario displayed (or provided) when an application program is executed on a terminal. The virtual scenario may be a simulation environment for the real world, a semi-simulation semi-virtual virtual environment, or even a full virtual virtual environment. The virtual scenario may be any one of a 2D virtual scenario, a 2.5D virtual scenario, or a 3D virtual scenario, and the embodiments of the present application do not limit the dimension of the virtual scenario. For example, the virtual scenario may include sky, land, sea, etc., the land includes environmental elements such as desert, city, etc., and the user controls a virtual object to move in the virtual scenario. In a fighting game, the virtual scenario is also called a virtual fighting scenario.

[0017] Virtual object: an object that can move in a virtual scenario. The moveable object can be a virtual person, a virtual animal, a cartoon character, etc., such as a person, an animal, a plant, a drum, a wall, a stone, etc., that appears in the virtual scenario. The virtual object can be a virtual elephant that represents the user in the virtual scenario. A virtual scenario includes multiple virtual objects, and each virtual object has its own shape and volume in the virtual scenario and occupies a part of the space of the virtual scenario.

[0018] Optionally, the virtual object is a user character controlled by an operation on a client, or an artificial intelligence (AI) placed in a virtual scenario battle by training, or a non-player character (NPC) placed in a virtual scenario. Optionally, the virtual object is a virtual person competing in a virtual scenario. Optionally, the number of virtual objects participating in an interaction in the virtual scenario is preset or dynamically determined based on the number of clients joining the interaction.

[0019] Herein, all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, data for storage, data for display, etc.) and signals related to this application have been obtained with permission from users or with sufficient permission from various parties, and the collection, use and processing of related data must comply with the laws, regulations and standards of relevant countries and regions.

[0020] The implementation environment of the technical solutions provided in the embodiments of this application is introduced below.

[0021] FIG. 1 is a schematic diagram of an implementation environment of a method for controlling a virtual object provided by an embodiment of the present application. Referring to FIG. 1, the implementation environment includes a terminal 110 and a server 140 .

[0022] The terminal 110 is connected to the server 140 via a wireless or wired network. Optionally, the terminal 110 may be, but is not limited to, a smartphone, a tablet, a laptop, a desktop computer, a smart watch, etc. An application program supporting the display of a virtual scenario is installed and executed on the terminal 110.

[0023] The server 140 may be an independent physical server, or may be a server cluster consisting of multiple physical servers, or a distributed system, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), big data and artificial intelligence platforms, etc. The server 140 provides background services to application programs running on the terminal 110.

[0024] Optionally, the number of terminals 110 and servers 140 may be multiple.

[0025] After introducing the implementation environment of the embodiment of the present application, the application scenario of the embodiment of the present application will be introduced below. In the following description process, the terminal is the terminal 110 in the above implementation environment, and the server is the above server 140.

[0026] The technical solution provided by the embodiments of the present application is applicable to a fighting game, in which a terminal displays a virtual scenario, in which the terminal controls a first virtual object, and the first virtual object and a second virtual object fight in the virtual scenario. The terminal can control the first virtual object to directly attack the second virtual object with a fist or a virtual prop in the virtual scenario, and can control the first virtual object to attack the second virtual object by releasing a virtual skill in the virtual scenario. In the virtual scenario, both the first virtual object and the second virtual object have health points, and when the health points of any virtual object are 0, the virtual object is defeated by an enemy. When the virtual object is hit by an attack, the health points of the virtual object are reduced, and the attack includes a direct attack by a fist or a virtual prop, and also includes an attack by a virtual skill. When a mirroring interaction control displayed on the terminal is triggered, the terminal displays a mirrored virtual object of the first virtual object in the virtual scenario, the mirroring interaction control is also called a skill control, and the mirroring interaction control controls the first virtual object to release a virtual skill in the virtual scenario. The terminal controls the mirroring virtual object to interact with the second virtual object, i.e., to launch an attack on the second virtual object.

[0027] It should be noted that the rendering of the virtual scenario may be completed by the terminal or by the server, which is not limited to the embodiments of the present application.

[0028] After introducing the implementation environment and application scenario of the embodiment of the present application, the following describes the method for controlling a virtual object provided by the embodiment of the present application. Hereinafter, in the following process of describing the technical solution provided by the present application, the terminal is taken as an example to be an execution body. In other possible embodiments, the terminal and the server may jointly execute the technical solution provided by the present application, and the embodiment of the present application does not limit the type of the execution body. Refer to FIG. 2, taking the execution body as a terminal as an example, the method includes the following steps:

[0029] 201: A terminal displays a virtual scenario, in which a first virtual object and a second virtual object are displayed, the first virtual object is a virtual object controlled by the terminal, and the second virtual object belongs to a different camp from the first virtual object.

[0030] The virtual scenario is also called a virtual fighting scenario. In a possible embodiment, the virtual scenario has four boundaries, namely, top, bottom, left, and right, and the virtual object in the virtual scenario moves freely within the four boundaries. The first virtual object is a virtual object controlled by the terminal, and the second virtual object is a virtual object controlled by another terminal or an AI, which is not limited to the embodiment of the present application. The second virtual object and the first virtual object belong to different camps, which indicates that the second virtual object and the first virtual object are in an antagonistic relationship in the virtual scenario, and the first virtual object and the second virtual object can interact with each other in the virtual scenario, i.e., attack each other.

[0031] 202: In response to a trigger operation on the mirroring interaction control, the terminal controls the first virtual object to move in a first direction and displays a mirrored virtual object of the first virtual object at a first position in the virtual scenario.

[0032] In addition, a mirroring interaction control is displayed on the terminal, the mirroring interaction control is a skill control of the first virtual object, and the mirroring interaction control can be triggered to control the first virtual object to release a virtual skill in the virtual scenario. The display position of the mirroring interaction control is set by a technician or a user according to an actual situation, and is not limited thereto in the embodiments of the present application.

[0033] The first direction is set by an engineer according to the actual situation. For example, the first direction may be set in the front direction of the first virtual object, or above the first virtual object, or behind the first virtual object, etc., and the embodiments of the present application are not limited thereto.

[0034] The first position is set by an engineer according to the actual situation. For example, the first position is a position where a first virtual object faces, and the distance between the first position and the first virtual object is a predetermined distance. For example, the first position is related to a contact position, and the contact position is a position where the first virtual object and the second virtual object contact, and the distance between the first position and the contact position is a predetermined distance. For example, the first position is a position where the first virtual object is located. For example, the first position is a predetermined position in the virtual scenario, to which the embodiment of the present application is not limited.

[0035] A mirroring virtual object of a first virtual object is an alter-ego of the first virtual object, and the mirroring virtual object has the same outer shape as the first virtual object.

[0036] 203: In the process of the first virtual object moving in the first direction, in response to a re-trigger operation on the mirroring interaction control, the terminal controls the first virtual object to move to the first position.

[0037] The mirroring interaction control has two layers of functions, the first layer being a function of controlling the first virtual object to move in the first direction, the second layer being a function of controlling the first virtual object to move to a position where the mirrored virtual object is located, and the function of the second layer is triggered only when the function of the first layer is realized.

[0038] 204: The terminal controls the first virtual object and the second virtual object to jointly move to the first position when the first virtual object and the second virtual object come into contact with each other.

[0039] The first virtual object and the second virtual object come into contact, i.e., a model of the first virtual object and a model of the second virtual object come into contact, and the first virtual object and the second virtual object move together to the first location, i.e., the second virtual object is "carried" by the first virtual object to the location where the mirrored virtual object is located.

[0040] 205: When the first virtual object overlaps with the mirroring virtual object, the terminal controls the first virtual object to perform an interaction with the second virtual object.

[0041] Controlling the first virtual object to interact with the second virtual object means controlling the first virtual object to spontaneously interact with the second virtual object, for example to attack the second virtual object.

[0042] In a possible embodiment, when a first virtual object overlaps with a mirrored virtual object and a distance between a second virtual object and the mirrored virtual object meets a first distance condition, the terminal controls the first virtual object to interact with the second virtual object.

[0043] The distance between the second virtual object and the mirroring virtual object meeting the first distance condition means that the distance between the second virtual object and the mirroring virtual object is less than or equal to a first distance threshold, and the first distance threshold is set by a technician according to actual circumstances, for example, the first distance threshold is set to two or three heights, etc., which is not limited to the embodiments of the present application.

[0044] According to the technical solution provided by the embodiment of the present application, a virtual scenario includes a first virtual object and a second virtual object, and when the mirroring interaction control is triggered, the first virtual object is controlled to move in a first direction, so that a mirrored virtual object of the first virtual object can be displayed in the virtual scenario. During the movement of the first virtual object, in response to a re-triggering operation on the mirroring interaction control, the first virtual object is controlled to move to a position where the mirroring virtual object is located. When the first virtual object and the second virtual object come into contact with each other, the first virtual object and the second virtual object are controlled to jointly move to a position where the mirroring virtual object is located. When the first virtual object overlaps with the mirroring virtual object, the first virtual object is controlled to interact with the second virtual object. By installing the mirroring virtual object, the interaction form between the first virtual object and the second virtual object is enriched, and the user can effectively interact with the second virtual object using the mirroring virtual object, thereby improving the efficiency of man-machine interaction.

[0045] The above steps 201 to 205 are a brief introduction to the virtual object control method provided in the embodiments of the present application. Below, several examples will be combined to more clearly explain the virtual object control method provided in the embodiments of the present application. Refer to FIG. 3. Take the execution body as a terminal as an example, the method includes the following steps:

[0046] 301: A terminal displays a virtual scenario, in which a first virtual object and a second virtual object are displayed, the first virtual object is a virtual object controlled by the terminal, and the second virtual object belongs to a different camp from the first virtual object.

[0047] The virtual scenario is also called a virtual fighting scenario, and the virtual fighting scenario is the background of a fighting game. Virtual objects can fight in the virtual scenario, and fighting is an interaction act between two virtual objects, and the two virtual objects can fight in the form of fists, virtual props, virtual skill releases, etc.

[0048] The second virtual object and the first virtual object belong to different camps, which means that the second virtual object and the first virtual object are in an antagonistic relationship in the virtual scenario, and the first virtual object and the second virtual object can interact with each other, i.e., fight with each other in the virtual scenario. In the virtual scenario, the first virtual object and the second virtual object have a certain number of initial health points, respectively, and in the process of the interaction between the first virtual object and the second virtual object, the health points of the first virtual object and the second virtual object are continuously decreased, and the initial health points of the first virtual object may be the same as or different from the second virtual object, which is not limited in the embodiment of the present application. When the health points of any virtual object are reduced to a target value, for example, 0, the virtual object is defeated by another virtual object, and the health points are also called life values ​​or hit points. The first virtual object is selected by the user before the virtual scenario is loaded.

[0049] In a possible embodiment, in the virtual scenario, the first virtual object always faces the second virtual object, and the orientation of the second virtual object always faces the first virtual object, i.e., when the relative positions of the first virtual object and the second virtual object change, the first virtual object and the second virtual object always face each other. Of course, when an interaction is performed, the orientations of the first virtual object and the second virtual object are not changed, and when the interaction is finished, the orientations are automatically adjusted.

[0050] In a possible embodiment, in response to a user starting a competitive match, the terminal displays a virtual scenario of the competitive match of the station, in which the first virtual object and the second virtual object are displayed, and the first virtual object and the second virtual object are displayed on both sides of the virtual scenario. A competitive match of the station is a fighting game, and the virtual scenario displayed on the terminal may be a complete virtual scenario or a part of a virtual scenario. When the virtual scenario displayed on the terminal is a part of a virtual scenario, the virtual scenario displayed on the terminal moves as the first virtual object moves, for example, the first virtual object is always displayed on the left side of the virtual scenario.

[0051] In a possible embodiment, a plurality of controls are further displayed on the terminal, the plurality of controls control the movement of the first virtual object in the virtual scenario, and the user clicks or drags the plurality of controls to realize control over the first virtual object. For example, the plurality of controls are divided into movement-type controls and interaction-type controls, the movement-type controls control the movement of the first virtual object in the virtual scenario, for example, controlling the first virtual object to move left, move right, crouch, and jump in the virtual scenario. The interaction-type controls control the first virtual object to attack and capture enemies using virtual skills in the virtual scenario.

[0052] For example, referring to Fig. 4, a virtual scenario 400 is displayed on a terminal, in which a first virtual object 401 and a second virtual object 402 are displayed, and a movement control 403, a movement control 404, and an interaction control 405 are further displayed on the terminal. In a possible embodiment, a user controls the first virtual object 401 to move in the virtual scenario 400 by dragging the movement control 403, and controls the first virtual object 401 to jump in the virtual scenario 400 by clicking the movement control 404.

[0053] 302: In response to a trigger operation on the mirroring interaction control, the terminal controls the first virtual object to move in a first direction and displays a mirrored virtual object of the first virtual object at a first position in the virtual scenario.

[0054] A mirroring interaction control is displayed on the terminal, the mirroring interaction control is a skill control of the first virtual object, the mirroring interaction control belongs to the above-mentioned interaction type control, and when the mirroring interaction control is triggered, the first virtual object can be controlled to release a virtual skill in the virtual scenario. The display position of the mirroring interaction control is set by an engineer or a user according to an actual situation, which is not limited in the embodiment of the present application. The first direction is set by an engineer according to an actual situation, for example, the first direction may be set in front of the first virtual object, above the first virtual object, or behind the first virtual object, which is not limited in the embodiment of the present application. The first position may be a position where the first virtual object is located when the mirroring interaction control is triggered, or another position in the virtual scenario, which is not limited in the embodiment of the present application.

[0055] Hereinafter, a method for controlling a first virtual object such that the terminal moves in a first direction in response to a trigger operation on a mirroring interaction control will be described.

[0056] In a possible embodiment, in response to a click operation on the mirroring interaction control, the terminal controls the first virtual object to move in the first direction. If the mirroring interaction control is a skill control of the first virtual object, clicking the mirroring interaction control is to control the first virtual object to release a corresponding virtual skill in the virtual scenario, and one of the effects of the virtual skill is that the first virtual object moves toward the first direction. For example, referring to FIG. 4, in response to a click operation on the mirroring interaction control 4051, the terminal controls the first virtual object 401 to move in a first direction.

[0057] Here, the click operation described in the above embodiment includes a click operation on a touch screen and a click operation using an external device such as a mouse, but the embodiments of the present application are not limited thereto.

[0058] For example, the first direction is a front direction of the first virtual object, and in response to a click operation on the mirroring interaction control, the terminal controls the first virtual object to move in a front direction. When the first virtual object moves in a front direction, the movement manner includes running, jumping, jumping kicking, etc., which are not limited to the embodiments of the present application.

[0059] In a possible embodiment, the distance that the first virtual object moves in the first direction is a target distance, i.e., the distance that the first virtual object moves automatically after clicking the mirroring interaction control is the target distance, and when the distance that the first virtual object moves automatically reaches the target distance, the movement of the first virtual object stops. The target distance is set by a technician according to the actual situation, and the embodiments of the present application are not limited thereto.

[0060] Hereinafter, a method will be described in which, in response to a trigger operation on a mirroring interaction control, the terminal displays a mirroring virtual object of the first virtual object at a first position in the virtual scenario.

[0061] The mirrored virtual object of a first virtual object is a clone of the first virtual object, and the mirrored virtual object has the same external shape as the first virtual object. For example, if the first virtual object has a virtual prop, the mirrored virtual prop also has the same virtual prop. In a possible embodiment, the transparency of the mirrored virtual object is different from that of the first virtual object, and the user can quickly distinguish the mirrored virtual object from the first virtual object based on the transparency, and the efficiency of man-machine interaction is high. After the terminal displays the mirrored virtual object of the first virtual object at the first position, the position of the mirrored virtual object is fixed at the first position, that is, the position of the mirrored virtual object does not change. In a possible embodiment, the mirrored virtual object is also called the clone of the first virtual object, and in this case, the first virtual object may also be called the main body.

[0062] In a possible embodiment, in response to a trigger operation on the mirroring interaction control, the terminal loads a model of the mirrored virtual object and renders the model of the mirrored virtual object at the first position, thereby displaying the mirrored virtual object at the first position. For example, referring to Fig. 5, a first virtual object 501 moves forward and generates a mirrored virtual object 502 at the position.

[0063] In a possible embodiment, when the terminal displays the mirroring virtual object at the first position, it may use a direct display form or a gradient display form, and the embodiments of the present application are not limited thereto.

[0064] In a possible embodiment, after triggering the mirroring interaction control, the terminal can directly display a mirrored virtual object of the first virtual object, and can further display a mirrored virtual object of the first virtual object after the first virtual object and the second virtual object come into contact with each other, which is not limited to the embodiments of the present application.

[0065] Here, after the above step 302, the terminal may execute the following steps 303 to 304, or may execute the following steps 305 to 307, to which the embodiment of the present application is not limited.

[0066] 303: In the process of the first virtual object moving in the first direction, in response to a re-trigger operation on the mirroring interaction control, the terminal controls the first virtual object to move to the first position.

[0067] In a possible embodiment, in the process of the first virtual object moving in the first direction, in response to a click operation on the mirroring interaction control again, the terminal controls the first virtual object to move to the first position, and the first virtual object moves to the first position, i.e., moves to the mirrored virtual object of the first virtual object.

[0068] For example, referring to FIG. 6 , in the process of the first virtual object moving in the first direction, in response to a re-click operation on the mirroring interaction control, the terminal controls the first virtual object 601 to move to the first position, that is, controls the first virtual object 601 to move to the position where the mirroring virtual object 602 is located.

[0069] In a possible embodiment, after the first virtual object makes contact with the second virtual object for the first time during the process of the first virtual object moving in the first direction, the terminal controls the first virtual object to continue moving in the first direction. The terminal controls the second virtual object to maintain the first virtual object at a current position. In response to a click operation on the mirroring interaction control again, the terminal controls the first virtual object to move to the first position.

[0070] The contact between the first virtual object and the second virtual object refers to the contact between a model of the first virtual object and a model of the second virtual object. In a possible embodiment, an invisible collision detection box is bound to the model of the first virtual object and the model of the second virtual object, and the terminal can determine whether the model of the first virtual object and the model of the second virtual object contact each other through the collision detection box. In a possible embodiment, when the first virtual object and the second virtual object contact each other, it indicates that the virtual skill triggered by the mirroring interaction control is enabled. In a possible embodiment, the contact between the first virtual object and the second virtual object is one of the interaction modes between the first virtual object and the second virtual object, or one of the modes in which the first virtual object attacks the second virtual object in the virtual scenario, and when the first virtual object and the second virtual object contact each other, the health points of the second virtual object are reduced. The mirroring interaction control controls the first virtual object to move to the first position.

[0071] From the user's perspective, after the first virtual object and the second virtual object come into contact, the first virtual object continues to move "through" the second virtual object, and the second virtual object is "bound" to its location. In a possible embodiment, the period during which the terminal controls the second virtual object to keep it at its current location is a first period, which is set by a technician according to the actual situation, and the embodiments of the present application are not limited thereto.

[0072] In a possible embodiment, if no trigger operation on the mirrored interaction control is detected within the target period, the terminal cancels the display of the mirrored virtual object.

[0073] 304: When the first virtual object and the second virtual object come into contact with each other, the terminal controls the first virtual object and the second virtual object to jointly move to the first position.

[0074] Controlling the second virtual object and the first virtual object to move jointly to the first position refers to controlling the second virtual object and the first virtual object to move to the first position at the same speed and direction, that is, in the process of the second virtual object and the first virtual object moving jointly to the first position, the second virtual object and the first virtual object are overlapped.

[0075] In the process of moving to the first position, the first virtual object may or may not come into contact with the second virtual object, the reason being that the timing of the first virtual object moving to the first position depends on the timing of re-triggering the mirroring interaction control, and if the timing of the second triggering of the mirroring interaction control is correct, the first virtual object can come into contact with the second virtual object again when moving to the first position; if the timing of the second triggering of the mirroring interaction control is incorrect, the first virtual object cannot come into contact with the second virtual object again when moving to the first position, the correct timing and the incorrect timing are set by engineers according to the actual situation, and the embodiments of the present application are not limited thereto. For example, referring to FIG. 7 , when the first virtual object 701 and the second virtual object 702 come into contact with each other, the first virtual object 701 and the second virtual object 702 are controlled to move together to the first position, that is, the first virtual object 701 and the second virtual object 702 are controlled to move together to the position where the mirroring virtual object 703 is located.

[0076] In a possible embodiment, when the first virtual object and the second virtual object come into contact with each other, the terminal displays a movement control, which controls the first virtual object to move to the first position, and in response to a trigger operation on the movement control, the terminal controls the first virtual object and the second virtual object to jointly move to the first position.

[0077] In a possible embodiment, when the first virtual object and the second virtual object come into contact with each other during the process of the first virtual object moving to the first position, the terminal determines the state of the second virtual object. If the second virtual object is not in the second state, the terminal controls the first virtual object and the second virtual object to move to the first position together. The second state is also called a defense state or a block state. If the first virtual object and the second virtual object come into contact with each other and the second virtual object is not in the second state, the virtual skill of the mirrored interaction control successfully hits the second virtual object, and the second virtual object is "carried" by the first virtual object to the location where the mirrored virtual object is located.

[0078] When the above two embodiments are combined, after the terminal determines that the first virtual object and the second virtual object have contacted, the terminal can further determine the state of the second virtual object. Only if the state of the second virtual object is not the second state, the terminal can control the first virtual object and the second virtual object to move to the first position together. That is, only if the virtual skill corresponding to the mirroring interaction control successfully hits the second virtual object, the terminal displays a movement control and controls the first virtual object and the second virtual object to move to the first position together.

[0079] The above step 304 is described as an example in which the first virtual object and the second virtual object come into contact with each other. In other possible embodiments, the first virtual object and the second virtual object do not come into contact with each other. In the following, a non-contact situation will be described.

[0080] In a possible embodiment, if the first virtual object and the second virtual object are not in contact, the terminal controls the first virtual object to move to the first position, and if the first virtual object overlaps with the mirrored virtual object, cancels the display of the mirrored virtual object.

[0081] In a possible embodiment, if the first virtual object and the second virtual object are not in contact, the terminal controls the first virtual object to keep it at its current position.

[0082] The above embodiment provides a punishment method, when the first virtual object does not successfully contact the second virtual object, the terminal holds the first virtual object at its current position, and the holding time is set by the technician according to the actual situation, which is not limited in the embodiment of the present application. When the holding time is sustained, the first virtual object cannot move in the virtual scenario.

[0083] 305: When the first virtual object comes into contact with the second virtual object while the first virtual object is moving in the first direction, the terminal controls the first virtual object to move to a second position in the virtual scenario, and the second virtual object is positioned between the first position and the second position.

[0084] In a possible embodiment, the second position is associated with the position of the second virtual object in the virtual scenario, and the distance between the second position and the position of the second virtual object in the virtual scenario is equal to or less than a second distance threshold, that is, the second position is in the vicinity of the second virtual object, and the second distance threshold is set by an engineer according to the actual situation, which is not limited by the embodiment of the present application. The second virtual object is located between the first position and the second position, and when the first position is the left side of the virtual scenario, the second position is the right side of the virtual scenario. When the second virtual object faces the left side of the virtual scenario, the second position is the back of the second virtual object, for example, see FIG. 4, the first virtual object 401 is located behind the second virtual object 402.

[0085] In a possible embodiment, when the first virtual object and the second virtual object come into contact with each other during the process of the first virtual object moving in the first direction, the terminal determines the state of the second virtual object. If the second virtual object is not in the second state, the terminal controls the first virtual object to move to the second location of the virtual scenario, and the second state is also called a defense state or a block state. When the second virtual object is in the second state, the first virtual object cannot successfully interact with the second virtual object, that is, the attack of the first virtual object is not effective against the second virtual object. During the process of the first virtual object moving to the second location, the second virtual object is in an immovable state. When the orientation of the first virtual object is toward the second virtual object and the orientation of the second virtual object is toward the first virtual object, when the first virtual object and the second virtual object are in contact with each other and the second virtual object is not in a second state, the terminal controls the first virtual object to move behind the second virtual object. When the second virtual object is in the second state, the terminal does not control the first virtual object to move to the second position, interrupts the process of the first virtual object moving in the first direction, and determines the final position of the first virtual object to be a position where the first virtual object contacts the second virtual object.

[0086] In this embodiment, after the terminal determines that the first virtual object and the second virtual object have come into contact with each other, the terminal can further determine the state of the second virtual object. Only if the state of the second virtual object is not the second state, the terminal controls the first virtual object to move to the second location. From the user's perspective, if the first virtual object moves to the second location, it indicates that the virtual skill corresponding to the mirroring interaction control is successfully triggered, and the efficiency of man-machine interaction is high. In addition, the second state provides the second virtual object with a way to counterattack the first virtual object, so as to avoid the game being unbalanced due to the virtual skill being too strong.

[0087] To more clearly describe the above embodiment, a description will now be given of an embodiment in which a terminal controls the first virtual object to move to the second location in the virtual scenario.

[0088] Mode 1: The terminal controls the first virtual object so that the first virtual object reaches the second position from a position where it contacts the second virtual object, over the second virtual object.

[0089] In this embodiment, the terminal controls the first virtual object to reach the second position according to a specific trajectory, and the moving process of the first virtual object is smooth. For example, when the first virtual object and the second virtual object are in contact with each other and the second virtual object is not in the second state, the terminal generates a first trajectory starting from a contact position between the first virtual object and the second virtual object, and the first trajectory is a trajectory that passes through the second virtual object from the starting point and reaches the second position. The terminal controls the first virtual object to reach the second position along the first trajectory.

[0090] Mode 2: The terminal controls the first virtual object to reach the second position directly through the second virtual object.

[0091] In this manner, the terminal controls the first virtual object to move in the shortest distance, and the first virtual object reaches the second position at a fast speed, so that the efficiency of man-machine interaction is high.

[0092] Mode 3: The terminal controls a position of the first virtual object so that the first virtual object moves directly to the second position from a position where the first virtual object is in contact with the second virtual object.

[0093] In this manner, the terminal controls the first virtual object to disappear at the touch position and then directly appear at the second position, thereby achieving the highest position conversion efficiency of the first virtual object.

[0094] Here, the terminal may control the first virtual object to move to the second position in any one of the above manners, and the embodiment of the present application is not limited thereto.

[0095] In a possible embodiment, when the first virtual object is equipped with a virtual prop, the terminal controls the first virtual object to interact with the second virtual object using the equipped virtual prop when the first virtual object and the second virtual object come into contact with each other, i.e., to attack the second virtual object using the virtual prop. If the first virtual object successfully interacts with the second virtual object using the virtual prop, the terminal moves the first virtual object to the second position, and if the first virtual object does not successfully interact with the second virtual object using the virtual prop, the terminal does not move the first virtual object to the second position. Whether the first virtual object successfully interacts with the second virtual object using the virtual prop depends on whether the second virtual object is in the second state. If the second virtual object is in the second state, the first virtual object cannot successfully interact with the second virtual object using the virtual prop, and if the second virtual object is not in the second state, the first virtual object can successfully interact with the second virtual object using the virtual prop.

[0096] 306: The terminal controls the first virtual object to interact with the second virtual object at the second location.

[0097] The first virtual object interacting with the second virtual object at the second location means that the first virtual object attacks the second virtual object at the second location. The purpose of the first virtual object interacting with the second virtual object at the second location is to change the location of the second virtual object. In a possible embodiment, the purpose of the interaction further includes reducing health points of the second virtual object.

[0098] In a possible embodiment, when the first virtual object is equipped with a virtual prop, the terminal controls the first virtual object to interact with the second virtual object using the virtual prop at the second position, i.e., to attack the second virtual object using the virtual prop at the second position, for example, the terminal controls the first virtual object to swing the virtual prop at the second position toward the second virtual object or to attack the second virtual object in the manner of a "flying kick" at the second position.

[0099] Here, in the embodiment of the present application, an example is simply described in which the terminal controls a first virtual object to interact with a second virtual object at a second location, and in other embodiments, the terminal may not perform step 306.

[0100] 307: The terminal controls the first virtual object and the second virtual object to jointly move to the first position.

[0101] The first position is a position at which the terminal displays a mirroring virtual object of the first virtual object, and controlling the second virtual object to move to the first position means controlling the second virtual object to move to a position where the mirroring virtual object is located.

[0102] In a possible embodiment, the terminal generates a second trajectory based on the current position of the second virtual object and the first position, and the start point of the second trajectory is the current position of the second virtual object and the end point is the first position. The terminal controls the second virtual object to move to the first position along the second trajectory. The function of generating a trajectory based on two positions is set by an engineer according to the actual situation, and the embodiment of the present application is not limited thereto. When the second virtual object moves to the first position along the second trajectory, the geometric center of the model of the second virtual object is always located on the second trajectory.

[0103] 308: When the first virtual object overlaps with the mirroring virtual object and a distance between the second virtual object and the mirroring virtual object satisfies a first distance condition, the terminal controls the first virtual object to interact with the second virtual object.

[0104] The first virtual object overlapping with the mirroring virtual object refers to a model of the first virtual object overlapping with a model of the mirroring virtual object.

[0105] In a possible embodiment, when the first virtual object overlaps with the mirrored virtual object and the distance between the second virtual object and the mirrored virtual object is equal to or less than a first distance threshold, the terminal interacts with the second virtual object, i.e. attacks the second virtual object, for example by controlling the first virtual object to attack the second virtual object using a virtual prop.

[0106] For example, referring to FIG. 8 , when the first virtual object 801 overlaps with the mirroring virtual object and the distance between the second virtual object 802 and the mirroring virtual object meets a first distance condition, the terminal controls the first virtual object 801 to interact with the second virtual object 802.

[0107] In a possible embodiment, when the first virtual object overlaps with the mirrored virtual object and the distance between the second virtual object and the mirrored virtual object is equal to or less than a first distance threshold, the terminal controls the mirrored virtual object and the first virtual object to simultaneously interact with the second virtual object.

[0108] In this embodiment, the terminal controls the mirroring virtual object and the first virtual object to simultaneously interact with the second virtual object, i.e., to simultaneously attack the second virtual object, thereby providing a user with more abundant attack forms and improving the efficiency of man-machine interaction.

[0109] In a possible embodiment, when the first virtual object overlaps with the mirrored virtual object and the distance between the second virtual object and the mirrored virtual object meets a first distance condition, the terminal can individually control the mirrored virtual object to directly interact with the second virtual object when controlling the first virtual object to interact with the second virtual object, whereby the embodiments of the present application are not limited thereto, and in the embodiments of the present application, the interaction between the first virtual object and the second virtual object is described as an example.

[0110] The above embodiment will be described below in conjunction with FIG. 9. Referring to FIG. 9, the main body is a first virtual object, the other self is a mirrored virtual object of the first virtual object, and the enemy is a second virtual object. In response to a click operation on the mirroring interaction control of the terminal, the main body releases a virtual skill in the virtual scenario to move in a first direction and displays a mirrored virtual object of the first virtual object at a first position in the virtual scenario. The user reactivates the mirroring interaction control, and in response to another click operation on the mirroring interaction control, the terminal controls the first virtual object to move to a position where the mirrored virtual object is located. When the first virtual object and the second virtual object come into contact with each other, the first virtual object and the second virtual object are controlled to move together to a position where the mirrored virtual object is located. When a first virtual object overlaps with the mirrored virtual object and the distance between the second virtual object and the mirrored virtual object is equal to or less than a first distance threshold, the first virtual object is controlled to interact with the second virtual object. When the first virtual object and the second virtual object are not in contact with each other, the first virtual object is controlled to move to a position where the mirrored virtual object is located, and the display of the mirrored virtual object is canceled. When the mirrored interaction control is not clicked twice, the terminal cancels the display of the mirrored virtual object.

[0111] In a possible embodiment, after step 308, the terminal may further perform the following steps 309-310, or the following steps 311-312, or the following steps 313-314, or the following steps 315-317, to which the embodiments of the present application are not limited.

[0112] 309: If the first virtual object successfully interacts with the second virtual object, the terminal adjusts a position of the first virtual object to a third position, and controls the second virtual object to move to the third position, where the third position is a position when the first virtual object and the second virtual object come into contact with each other.

[0113] In addition, the first virtual object successfully interacts with the second virtual object means that the attack of the first virtual object hits the second virtual object successfully. The first virtual object successfully hits the second virtual object means that the fist or the equipped virtual prop of the first virtual object contacts the second virtual object. In a possible embodiment, an invisible collision detection box is bound to the fist or the equipped virtual prop of the first virtual object, and an invisible collision detection box is bound to the second virtual object, so that the terminal can determine whether the attack of the first virtual object hits the second virtual object successfully through the collision detection box. If the collision detection box corresponding to the first virtual object and the collision detection box corresponding to the second virtual object contact each other, it is determined that the attack of the first virtual object hits the second virtual object successfully, that is, the first virtual object successfully interacts with the second virtual object. If the collision detection box corresponding to the first virtual object and the collision detection box corresponding to the second virtual object are not in contact with each other, it is determined that the attack of the first virtual object has not successfully hit the second virtual object, i.e., the first virtual object has not successfully interacted with the second virtual object.

[0114] In step 309, if the interaction between the first virtual object and the second virtual object is successful, the terminal moves the first virtual object to a third position in the virtual scenario so that the user can again interact with the second virtual object based on the first virtual object.

[0115] 310: The terminal displays a continuous interaction control, which controls the first virtual object to interact with the second virtual object.

[0116] The continuous interaction control is displayed if the first virtual object successfully interacts with the second virtual object and may be considered as a "bonus" for controlling the first virtual object to successfully interact with the second virtual object, and the continuous interaction control controls the first virtual object to interact with the second virtual object, i.e., controls the first virtual object to attack the second virtual object in the virtual scenario.

[0117] In a possible embodiment, after step 310, the terminal further implements the following solution.

[0118] First solution: In response to a trigger operation on the continuous interaction control, the terminal controls the first virtual object to move to a position where the second virtual object is located. If the distance between the first virtual object and the second virtual object meets a second distance condition, the terminal controls the first virtual object to interact with the second virtual object.

[0119] When the first virtual object successfully interacts with the second virtual object, the health points of the second virtual object are reduced.

[0120] In this embodiment, by triggering the successive interaction control, the first virtual object is controlled to automatically move to a location where the second virtual object is located, and when a distance between the first virtual object and the second virtual object meets a second distance condition, an interaction is automatically performed with the second virtual object, and the user only needs to trigger the successive interaction control once during the interaction process, thereby improving the efficiency of man-machine interaction.

[0121] For example, in response to a click operation on the continuous interaction control, the terminal controls the first virtual object to move to a position where the second virtual object is located, and since the second virtual object is "hit" by the mirroring virtual object to the position where the first virtual object is located, the second virtual object is also in the process of moving and the position where the second virtual object is located is continuously changing; in this manner, controlling the first virtual object to move to the position where the second virtual object is located is a process of continuously reducing the distance between the first virtual object and the second virtual object. If the distance between the first virtual object and the second virtual object is equal to or less than a second distance threshold, the terminal controls the first virtual object to interact with the second virtual object, i.e., controls the first virtual object to attack the second virtual object in the virtual scenario, where the second distance threshold is the maximum attack distance of the first virtual object, and the second distance threshold is set by a technician according to actual circumstances, and the embodiments of the present application are not limited thereto.

[0122] Second solution: In response to a trigger operation on the continuous interaction control, the terminal displays a target virtual prop enlarged around the first virtual object, and the target virtual prop is a virtual prop attached to the first virtual object. When the second virtual object and the target virtual prop come into contact with each other, the terminal controls the second virtual object to move above the first virtual object, thereby reducing the health points of the second virtual object.

[0123] In this embodiment, by triggering the continuous interaction control, the terminal displays a target virtual prop enlarged around the first virtual object, the target virtual prop is a virtual prop equipped on the first virtual object, and the terminal enlarges and displays the target virtual prop, i.e., displays a virtual obstacle in the virtual scenario. When the second virtual object and the target virtual prop come into contact with each other, the terminal controls the second virtual object to change its moving direction, i.e., changes the movement of the second virtual object from a third position to an upward movement of the first virtual object, and presents the visual effect of being "shot away by the target virtual prop", thereby enriching the interaction between the first virtual object and the second virtual object and improving the efficiency of man-machine interaction.

[0124] For example, in response to a click operation on the continuous interaction control, the terminal displays a target virtual prop enlarged around the first virtual object, including the left side, right side, or a position where the first virtual object is located, and when a model of the second virtual object and a model of the target virtual prop come into contact with each other, the terminal controls the second virtual object to move above the first virtual object, thereby reducing the health points of the second virtual object.

[0125] 311: When the first virtual object successfully interacts with the second virtual object, the terminal determines a second direction based on a target portion of the second virtual object, where the second direction indicates a movement direction of the second virtual object in the virtual scenario, and the target portion is a portion that successfully interacts with the mirrored virtual object.

[0126] The target portion of the second virtual object is a portion where an interaction with the mirrored virtual object is successful, or a portion where the mirrored virtual object is hit when attacking the second virtual object. In a possible embodiment, invisible collision detection boxes are respectively bound to a plurality of portions of the second virtual object, and when an interaction between the first virtual object and the second virtual object is successful, the terminal determines a target collision detection box on the second virtual object that contacts the mirrored virtual object during the interaction, and the portion where the target collision detection box is bound is the target portion of the second virtual object.

[0127] In a possible embodiment, when the target part is the head of the second virtual object, the terminal determines below the mirrored virtual object in the second direction.

[0128] In this embodiment, when the second virtual object needs to be moved below the mirrored virtual object, the user only needs to control the mirrored virtual object to interact with the head of the second virtual object, which improves the efficiency of man-machine interaction.

[0129] In a possible embodiment, when the target part is a torso of the second virtual object, the terminal determines a second direction in which the second virtual object moves towards the first virtual object.

[0130] In this embodiment, when the second virtual object needs to be moved in the direction of the first virtual object, the user only needs to control the mirroring virtual object to interact with the torso of the second virtual object, which improves the efficiency of man-machine interaction.

[0131] In a possible embodiment, when the target part is a foot of the second virtual object, the terminal determines the top of the mirrored virtual object as the second direction.

[0132] In this embodiment, when the second virtual object is required to be moved above the mirrored virtual object, the user only needs to control the mirrored virtual object to interact with the foot of the second virtual object, which improves the efficiency of man-machine interaction.

[0133] Here, the above three embodiments are merely illustrative, and in other possible embodiments, the engineer may subdivide the second virtual object into more parts and set a movement direction for each part, which is not limited to the examples of the present application.

[0134] Through the above step 311, the user can control the mirrored virtual object to interact with different parts of the second virtual object, thereby achieving the purpose of controlling the second virtual object to move in different directions. The user can select different moving directions according to actual situations to complete different interaction combinations, providing the user with more choices and improving the user's game experience.

[0135] 312: The terminal controls the second virtual object to move in the virtual scenario according to a second direction.

[0136] 313: When the first virtual object successfully interacts with the second virtual object, the terminal controls the first virtual object to be in a first state.

[0137] The first state is also called a counterattack state or a counterattack state, and when the first virtual object is in the first state, if the second virtual object interacts with the first virtual object, the second virtual object will automatically interact with the first virtual object, that is, if the second virtual object attacks the first virtual object, the first virtual object in the first state can automatically counterattack. The first state has a certain duration, which is set by the engineer according to the actual situation.

[0138] 314: If the second virtual object successfully interacts with the first virtual object within the duration of the first state, the terminal controls the first virtual object to automatically interact with the second virtual object.

[0139] In a possible embodiment, in response to an attack of the second virtual object hitting the first virtual object within the duration of the first state, the terminal controls the first virtual object to automatically counterattack the second virtual object.

[0140] 315: If the first virtual object successfully interacts with the second virtual object, the terminal adjusts a position of the first virtual object to a third position and displays a position exchange control, where the third position is a position where the first virtual object is located when it comes into contact with the second virtual object.

[0141] The function of the position swap control is to swap the positions of the first virtual object and the mirroring virtual object, and the display position of the position swap control is set by a technician according to the actual situation, and the embodiment of the present application is not limited thereto.

[0142] 316: In response to a trigger operation on the position exchange control, the terminal exchanges positions of the first virtual object and the mirroring virtual object in the virtual scenario.

[0143] In a possible embodiment, in response to a click operation on the position swap control, the terminal swaps positions of the first virtual object and the mirrored virtual object in the virtual scenario.

[0144] 317: In response to a re-trigger operation on the mirroring interaction control, the terminal controls the first virtual object to perform an interaction with the second virtual object.

[0145] In a possible embodiment, in response to a re-click operation on the mirroring interaction control, the terminal controls the first virtual object to interact with the second virtual object, i.e., to attack the second virtual object, for example by controlling the first virtual object to attack the second virtual object using a virtual prop.

[0146] Here, after clicking the mirroring interaction control again, the first virtual object directly executes an interaction action on the second virtual object, but the execution of the action does not necessarily result in a successful interaction with the second virtual object, and the interaction may fail. For example, the first virtual object interacts with the second virtual object, which means that the first virtual object attacks the second virtual object in the virtual scenario, and then, after clicking the mirroring interaction control, the first virtual object executes an attack action, for example, swinging an equipped virtual prop. However, the attack action executed by the first virtual object may hit the second virtual object, but may not hit it. There are two reasons for this situation: the first reason is that the interaction distance by the first virtual object has a certain limit, and the second reason is that the second virtual object is moved to the first position, and the second virtual object is in a moving state. The prerequisite for successful interaction between the first virtual object and the second virtual object is that the trigger timing of the mirroring interaction control is within a target time range, which is determined by the terminal based on parameters such as the moving speed of the second virtual object, the size information of the second virtual object, and the interaction distance of the first virtual object. From the user's perspective, the prerequisite for controlling the first virtual object to successfully interact with the second virtual object is that the timing of re-clicking the mirroring interaction control is accurate, which can be achieved by the user through multiple training sessions.

[0147] In a possible embodiment, apart from the above description of step 317, after triggering the mirroring interaction control again, the terminal can further perform the following steps:

[0148] First solution: In response to a re-trigger operation on the mirroring interaction control, the terminal controls the mirroring virtual object to move to a position where the first virtual object is located. When the mirroring virtual object and the second virtual object come into contact with each other, the terminal reduces the health points of the second virtual object. Of course, in the process of controlling the mirroring virtual object to move to a position where the first virtual object is located, the terminal may simultaneously control the first virtual object to interact with the second virtual object. The trigger operation is a click operation.

[0149] In this embodiment, the terminal controls the mirrored virtual object to move to a position where the first virtual object is located, thereby providing another form of interaction between the first virtual object and the second virtual object; that is, when the second virtual object comes into contact with the mirrored virtual object, the health points of the second virtual object are reduced, so as to enrich the user's choices and improve the efficiency of man-machine interaction.

[0150] Second solution: If the mirroring virtual object overlaps with the first virtual object, the terminal cancels the display of the mirroring virtual object.

[0151] In a possible embodiment, after step 317, the terminal can further perform the following steps:

[0152] First solution: When the first virtual object successfully interacts with the second virtual object, the terminal controls the second virtual object to move to the position where the mirrored virtual object is located. In response to a re-trigger operation on the position exchange control, the terminal again exchanges the positions of the first virtual object and the mirrored virtual object in the virtual scenario. In response to a re-trigger operation on the mirrored interaction control, the terminal again controls the first virtual object to interact with the second virtual object. Note that the trigger operation is a click operation.

[0153] In this embodiment, the position swap control also provides a double-trigger function, and by triggering the position swap control twice, the positions of the first virtual object and the mirroring virtual object can be swapped again, and interaction with the second virtual object can be performed again based on the first virtual object.

[0154] Here, the above steps 301 to 317 are described as an example in which the terminal is the execution body. In other possible embodiments, the server may execute the data processing steps in the above steps 301 to 317, and the terminal may display the data processing result, which is not limited to the embodiments of the present application.

[0155] All the preferred technical solutions mentioned above may be combined in any way to form the preferred embodiments of the present application, which will not be described again here.

[0156] According to the technical solution provided by the embodiment of the present application, a virtual scenario includes a first virtual object and a second virtual object, and when the mirroring interaction control is triggered, the first virtual object is controlled to move in a first direction to display a mirrored virtual object of the first virtual object in the virtual scenario. During the movement of the first virtual object, in response to a re-trigger operation on the mirroring interaction control, the first virtual object is controlled to move to a position where the mirrored virtual object is located. When the first virtual object and the second virtual object come into contact with each other, the first virtual object and the second virtual object are controlled to move together to a position where the mirrored virtual object is located. When the first virtual object overlaps with the mirroring virtual object, the first virtual object is controlled to interact with the second virtual object. By installing the mirroring virtual object, the interaction form between the first virtual object and the second virtual object is enriched, and the user can effectively interact with the second virtual object using the mirroring virtual object, thereby improving the efficiency of man-machine interaction.

[0157] 10 is a structural schematic diagram of a virtual object control device provided by an embodiment of the present application, the device is disposed in a computer device, for example, the computer device is a terminal. Referring to FIG. 10, the device includes: a virtual scenario display module 1001, a first virtual object control module 1002 and a second virtual object control module 1003.

[0158] The virtual scenario display module 1001 displays a virtual scenario, in which a first virtual object and a second virtual object are displayed, the first virtual object is a virtual object controlled by a terminal, and the second virtual object belongs to a different camp from the first virtual object.

[0159] In response to a trigger operation on the mirroring interaction control, the first virtual object control module 1002 controls the first virtual object to move in a first direction and displays a mirrored virtual object of the first virtual object at a first position in the virtual scenario.

[0160] The first virtual object control module 1002 further controls the first virtual object to move to the first position in response to a retriggering operation on the mirroring interaction control while the first virtual object moves in the first direction.

[0161] The second virtual object control module 1003 controls the first virtual object and the second virtual object to move together to the first position when the first virtual object and the second virtual object come into contact with each other.

[0162] The first virtual object control module 1002 further controls the first virtual object to interact with the second virtual object when the first virtual object overlaps with the mirroring virtual object.

[0163] In a possible embodiment, the first virtual object control module 1002 controls the first virtual object to move to the first position if the first virtual object and the second virtual object are not in contact, and cancels display of the mirrored virtual object if the first virtual object overlaps the mirrored virtual object.

[0164] In a possible embodiment, the first virtual object control module 1002 controls the first virtual object to interact with the second virtual object when the first virtual object overlaps with the mirrored virtual object and the distance between the second virtual object and the mirrored virtual object meets a first distance condition.

[0165] In a possible embodiment, the first virtual object control module 1002 controls the mirrored virtual object and the first virtual object to simultaneously interact with the second virtual object when the first virtual object overlaps the mirrored virtual object and the distance between the second virtual object and the mirrored virtual object is less than or equal to a first distance threshold.

[0166] In a possible embodiment, the second virtual object control module 1003 further determines a second direction based on a target portion of the second virtual object when the first virtual object successfully interacts with the second virtual object, the second direction indicating a moving direction of the second virtual object in the virtual scenario, the target portion of the second virtual object being a portion where the interaction with the first virtual object is successful, and controls the second virtual object to move in the virtual scenario according to the second direction.

[0167] In a possible embodiment, the second virtual object control module 1003 further comprises: determining a second direction below the mirrored virtual object when the target portion is a head of the second virtual object; determining a second direction in which the second virtual object moves toward the first virtual object when the target portion is a torso of the second virtual object; and if the target part is a foot of the second virtual object, determining an upward direction of the mirroring virtual object as a second direction.

[0168] In a possible embodiment, the first virtual object control module 1002 further controls the first virtual object to enter a first state if the first virtual object successfully interacts with the second virtual object, and controls the first virtual object to automatically interact with the second virtual object if the second virtual object successfully interacts with the first virtual object within the duration of the first state.

[0169] In a possible embodiment, the second virtual object control module 1003 controls the first virtual object to move to a second location in the virtual scenario when the first virtual object and the second virtual object come into contact, and the second virtual object is located between the first location and the second location, and controls the first virtual object and the second virtual object to jointly move to the first location.

[0170] In a possible embodiment, the second virtual object control module 1003 controls the first virtual object to interact with the second virtual object at the second location.

[0171] In a possible embodiment, the first virtual object control module 1002 further adjusts a position of the first virtual object to a third position when the first virtual object successfully interacts with the second virtual object, and controls the second virtual object to move to the third position in the virtual scenario, the third position being the position of the first virtual object when it comes into contact with the second virtual object.

[0172] The device comprises: The system further includes a continuous interaction control display module for displaying a continuous interaction control, the continuous interaction control controlling the first virtual object to interact with the second virtual object.

[0173] In a possible embodiment, the first virtual object control module 1002 further comprises: controlling the first virtual object to move to a position where the second virtual object is located in response to a trigger operation on the continuous interaction control, and controlling the first virtual object to interact with the second virtual object when a distance between the first virtual object and the second virtual object satisfies a second distance condition; a step of displaying a target virtual prop enlarged around the first virtual object in response to a trigger operation on the continuous interaction control, the target virtual prop being a virtual prop attached to the first virtual object, and a step of controlling the second virtual object to move above the first virtual object when the second virtual object and the target virtual prop come into contact with each other, thereby reducing a health point of the second virtual object.

[0174] In a possible embodiment, the first virtual object control module 1002 further adjusts a position of the first virtual object to a third position when the first virtual object successfully interacts with the second virtual object, and displays a position swap control, the third position being the position of the first virtual object when it contacts the second virtual object. In response to a triggering operation on the position swap control, the first virtual object and the mirrored virtual object swap positions in the virtual scenario. In response to a re-triggering operation on the mirrored interaction control, the first virtual object is controlled to interact with the second virtual object.

[0175] In a possible embodiment, the mirrored virtual object control module further controls the mirrored virtual object to move to a location where the first virtual object is located, and reduces health points of the second virtual object when the mirrored virtual object and the second virtual object come into contact with each other.

[0176] In a possible embodiment, the first virtual object control module 1002 further controls the second virtual object to move to a position where the mirrored virtual object is located when the first virtual object successfully interacts with the second virtual object, again exchanges positions of the first virtual object and the mirrored virtual object in the virtual scenario in response to a re-triggering operation on the position exchange control, and again controls the first virtual object to interact with the second virtual object in response to a re-triggering operation on the mirrored interaction control.

[0177] In a possible embodiment, the first virtual object control module 1002 further maintains the first virtual object at a current position if the first virtual object does not successfully interact with the second virtual object.

[0178] In a possible embodiment, the mirrored virtual object control module further cancels display of the mirrored virtual object when the first virtual object and the second virtual object are in contact and the second virtual object is in a second state.

[0179] In a possible embodiment, the mirrored virtual object control module further cancels display of the mirrored virtual object in response to a situation in which a trigger operation on the mirrored interaction control is not detected in a target time period.

[0180] Here, when the virtual object control device provided in the above embodiment controls a virtual object, only the partition of each of the above functional modules is described as an example, and in actual application, the above functions can be assigned to be completed by different functional modules according to needs, that is, all or part of the above functions can be completed by partitioning the internal structure of a computer device into different functional modules. In addition, the virtual object control device provided in the above embodiment belongs to the same concept as the embodiment of the virtual object control method, and the specific implementation process can be referred to the method embodiment, and will not be described here in detail.

[0181] According to the technical solution provided by the embodiment of the present application, a virtual scenario includes a first virtual object and a second virtual object, and when the mirroring interaction control is triggered, the first virtual object is controlled to move in a first direction, so that a mirrored virtual object of the first virtual object can be displayed in the virtual scenario. During the movement of the first virtual object, in response to a re-triggering operation on the mirroring interaction control, the first virtual object is controlled to move to a position where the mirroring virtual object is located. When the first virtual object and the second virtual object come into contact with each other, the first virtual object and the second virtual object are controlled to jointly move to a position where the mirroring virtual object is located. When the first virtual object overlaps with the mirroring virtual object, the first virtual object is controlled to interact with the second virtual object. By installing the mirroring virtual object, the interaction form between the first virtual object and the second virtual object is enriched, and the user can effectively interact with the second virtual object using the mirroring virtual object, thereby improving the efficiency of man-machine interaction.

[0182] An embodiment of the present application provides a computer device, the computer device including one or more processors and one or more memories, at least one computer program stored in the one or more memories, the computer program being loaded and executed by the one or more processors to realize the above-mentioned method for controlling a virtual object.

[0183] The computer device can be implemented as a terminal or a server. The structure of the terminal is as follows: 11 is a structural schematic diagram of a terminal provided by an embodiment of the present application. The terminal 1100 may be a smartphone, a tablet, a notebook computer or a desktop computer. The terminal 1100 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal, or other names.

[0184] Generally, the terminal 1100 includes one or more processors 1101 and one or more memories 1102 .

[0185] The processor 1101 includes one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1101 may include a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), The processor 1101 may be realized in at least one of the following hardware forms: a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA). The processor 1101 further includes a main processor, also called a CPU (Central Processing Unit), which processes data in a wake-up state, and a coprocessor, which is a low-power consumption processor, which processes data in a standby state. In a possible embodiment, the processor 1101 is integrated with a GPU (Graphics Processing Unit), which renders and draws contents to be displayed on the display. The processor 1101 further includes an AI (Artificial Intelligence) processor, which processes computing operations related to machine learning.

[0186] The memory 1102 includes one or more computer-readable storage media, which may be non-transitory. The memory 1102 may further include a high-speed random access memory and a non-volatile memory, such as one or more magnetic disk storage devices, flash storage devices. In a possible embodiment, the non-transitory computer-readable storage medium in the memory 1102 stores at least one computer program, which is executed by the processor 1101 to realize the method for controlling a virtual object provided by the method embodiment of the present application.

[0187] In a possible embodiment, the terminal 1100 preferably includes a peripheral interface 1103 and at least one peripheral device. The processor 1101, the memory 1102, and the peripheral device interface 1103 are connected via a bus or signal lines. Each peripheral device is connected to the peripheral device interface 1103 via a bus, signal lines, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 1104, a display 1105, a camera component 1106, an audio circuit 1107, and a power supply 1108.

[0188] The peripheral interface 1103 connects at least one peripheral associated with I / O (Input / Output) to the processor 1101 and the memory 1102. In a possible embodiment, the processor 1101, the memory 1102, and the peripheral interface 1103 are integrated on the same chip or circuit board, and in some other embodiments, any one or two of the processor 1101, the memory 1102, and the peripheral interface 1103 may be realized on separate chips or circuit boards, to which the present embodiment is not limited.

[0189] The radio frequency circuitry 1104 receives and transmits RF (Radio Frequency) signals (also called electromagnetic signals). The radio frequency circuitry 1104 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuitry 1104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuitry 1104 includes an antenna system, an RF transceiver, one or more amplifiers, tuners, oscillators, a digital signal processor, a codec chipset, a subscriber identity module card, and the like.

[0190] The display 1105 displays a UI (User Interface). The UI may include patterns, text, icons, videos, and any combination thereof. If the display 1105 is a touch display, the display 1105 is further capable of collecting touch signals on or above the surface of the display 1105. The touch signals are input as control signals to the processor 1101 for processing. In this case, the display 1105 further provides virtual buttons and / or a virtual keyboard (also called soft buttons and / or a soft keyboard).

[0191] The camera component 1106 collects images or videos. Optionally, the camera component 1106 includes a front camera and a back camera. Typically, the front camera is located on the front panel of the terminal, and the back camera is located on the back side of the terminal.

[0192] The audio circuit 1107 includes a microphone and a speaker. The microphone collects sound waves from the user and the environment, and converts the sound waves into electrical signals that are input to the processor 1101 for processing, or input to the radio frequency circuit 1104 for voice communication.

[0193] The power source 1108 provides power to each component in the terminal 1100. The power source 1108 may be an AC, DC, primary battery, or a rechargeable battery.

[0194] In a possible embodiment, the terminal 1100 further includes one or more sensors 1109, including, but not limited to, an acceleration sensor 1110, a gyro sensor 1111, a pressure sensor 1112, a light sensor 1113, and a proximity sensor 1114.

[0195] The acceleration sensor 1110 detects the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1100 .

[0196] The gyro sensor 1111 cooperates with the acceleration sensor 1110 to collect the user's 3D movements relative to the terminal 1100 in terms of the body orientation and rotation angle of the terminal 1100 .

[0197] The pressure sensor 1112 is provided on a side frame of the terminal 1100 and / or below the display 1105. When provided on the side frame of the terminal 1100, the pressure sensor 1112 detects a user's grip signal on the terminal 1100, and the processor 1101 performs left hand / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 1112. When the pressure sensor 1112 is provided below the display 1105, the processor 1101 realizes control over operable controls on the UI interface based on the user's pressure operation on the display 1105.

[0198] The light sensor 1113 collects the ambient light intensity. In one embodiment, the processor 1101 controls the display brightness of the display 1105 based on the ambient light intensity collected by the light sensor 1113.

[0199] The proximity sensor 1114 collects the distance between the user and the front of the terminal 1100 .

[0200] As will be appreciated by those skilled in the art, the structure of FIG. 11 does not limit terminal 1100 and may include more or fewer components than shown, or may combine some components, or may be configured using different components.

[0201] The above computer device can also be implemented as a server, and the structure of the server is introduced below: FIG. 12 is a schematic diagram of a server structure provided by an embodiment of the present application. The server 1200 may vary greatly due to different configurations or performances. It may include one or more processors (Central Processing The server 1200 includes a processor (CPU, CPU) 1201 and one or more memories 1202, in which at least one computer program is stored, and the at least one computer program is read and executed by the one or more processors 1201 to realize the method provided by each of the above method embodiments. Of course, the server 1200 may include components such as a wired or wireless network interface for input and output, a keyboard, and an input and output interface, and the server 1200 may include other components for realizing device functions, which are not described here in detail.

[0202] In an exemplary embodiment, a computer-readable storage medium, such as a memory containing a computer program, is further provided, and the computer program is executed by a processor to complete the method for controlling a virtual object in the above embodiment. For example, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a read-only optical disk, a (Compact Disc Read-Only Memory, CD-ROM), magnetic tape, flexible disk, and optical data storage devices.

[0203] In an exemplary embodiment, a computer program product or computer program is further provided, the computer program product or computer program including program code, the program code being stored in a computer-readable storage medium, and a processor of a computing device reading and executing the program code from the computer-readable storage medium, thereby causing the computing device to perform the above-mentioned method for controlling a virtual object.

[0204] In some embodiments, the computer programs according to the embodiments of the present application may be executed on one computer device, or on multiple computer devices at one location, or on multiple computer devices distributed at multiple locations and connected to each other via a communication network, and the multiple computer devices distributed at multiple locations and connected to each other via a communication network constitute a blockchain system.

[0205] As can be understood by those skilled in the art, the realization of all or part of the steps in the above embodiments may be completed by hardware, or may be completed by a program instructing related hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, etc.

[0206] The above does not limit the present application, but is merely a preferred embodiment of the present application, and any modifications, equivalent replacements, improvements, etc. completed within the spirit and principles of the present application should fall within the protection scope of the present application.

Claims

1. 1. A method for controlling a virtual object, executed by a computing device, the method comprising: displaying a virtual scenario, wherein a first virtual object and a second virtual object are displayed in the virtual scenario, the first virtual object being a virtual object controlled by the computing device, and the second virtual object belonging to a different faction than the first virtual object; in response to a trigger operation on a mirroring interaction control, controlling the first virtual object to move in a first direction to display a mirrored virtual object of the first virtual object at a first position in the virtual scenario; controlling the first virtual object to move to the first position in response to a re-triggering operation on the mirroring interaction control during a process in which the first virtual object moves in the first direction; controlling the first virtual object and the second virtual object to jointly move to the first position when the first virtual object and the second virtual object come into contact with each other; and controlling the first virtual object to interact with the second virtual object when the first virtual object overlaps the mirrored virtual object.

2. After controlling the first virtual object to move to the first position in response to a retriggering operation on the mirroring interaction control, the method further comprises: controlling the first virtual object to move to the first position if the first virtual object and the second virtual object are not in contact; The method of claim 1 , further comprising: canceling display of the mirroring virtual object if the first virtual object overlaps the mirroring virtual object.

3. The step of controlling the first virtual object to perform an interaction with the second virtual object when the first virtual object overlaps with the mirrored virtual object includes:

2. The method of claim 1, further comprising: controlling the first virtual object to perform an interaction with the second virtual object when the first virtual object overlaps the mirrored virtual object and a distance between the second virtual object and the mirrored virtual object meets a first distance condition.

4. When the first virtual object overlaps with the mirroring virtual object and a distance between the second virtual object and the mirroring virtual object satisfies a first distance condition, the step of controlling the first virtual object to perform an interaction with the second virtual object includes:

4. The method of claim 3, further comprising: controlling the mirroring virtual object and the first virtual object to simultaneously interact with the second virtual object when the first virtual object overlaps the mirroring virtual object and a distance between the second virtual object and the mirroring virtual object is less than or equal to a first distance threshold.

5. When the first virtual object overlaps with the mirrored virtual object, the computing device controls the first virtual object to perform an interaction with the second virtual object, and then the method further comprises: the computing device determines a second direction based on a target part of the second virtual object when the first virtual object successfully interacts with the second virtual object, the second direction indicating a moving direction of the second virtual object in the virtual scenario, and the target part being a part where the interaction with the first virtual object was successful; The method of claim 1 , further comprising: the computing device controlling the second virtual object to move in the virtual scenario according to the second direction.

6. The step of determining a second direction based on a target portion of the second virtual object includes: When the target part is a head of the second virtual object, determining a downward direction of the mirroring virtual object as the second direction; determining a direction in which the second virtual object moves toward the first virtual object as the second direction when the target part is a torso of the second virtual object; and if the target part is a foot of the second virtual object, determining an upward direction of the mirroring virtual object as the second direction.

7. When the first virtual object overlaps with the mirrored virtual object, the computing device controls the first virtual object to perform an interaction with the second virtual object, and then the method further comprises: controlling the first virtual object to be in a first state when the first virtual object successfully interacts with the second virtual object; 2. The method of claim 1, further comprising: controlling the first virtual object to automatically interact with the second virtual object if the second virtual object successfully interacts with the first virtual object within a duration of the first state.

8. The step of controlling the first virtual object and the second virtual object to jointly move to the first position when the first virtual object and the second virtual object come into contact with each other, comprises:

2. The method of claim 1, further comprising: controlling the first virtual object to move to a second location in the virtual scenario when the first virtual object and the second virtual object come into contact; and controlling the first virtual object and the second virtual object to jointly move to the first location, the second virtual object being located between the first location and the second location.

9. Before the computing device controls the first virtual object and the second virtual object to jointly move to the first location, the method further comprises: The method of claim 8 , further comprising the step of: the computing device controlling the first virtual object to interact with the second virtual object at the second location.

10. When the first virtual object overlaps with the mirrored virtual object, the computing device controls the first virtual object to perform an interaction with the second virtual object, and then the method further comprises: the computing device controls the second virtual object to move to a third position by adjusting a position of the first virtual object when the first virtual object successfully interacts with the second virtual object, the third position being a position where the first virtual object is located when the first virtual object comes into contact with the second virtual object; The method of claim 1 , further comprising: the computing device displaying a continuous interaction control, the continuous interaction control controlling the first virtual object to interact with the second virtual object.

11. After the computing device displays the continuous interaction control, the method further comprises: The computer device controls the first virtual object in response to a trigger operation on the continuous interaction control so as to move to a position where the second virtual object is located; the computing device controls the first virtual object to perform an interaction with the second virtual object when a distance between the first virtual object and the second virtual object meets a second distance condition; a step of displaying a target virtual prop enlarged around the first virtual object in response to a trigger operation on the continuous interaction control, the computer device, the target virtual prop being a virtual prop attached to the first virtual object; and controlling the second virtual object to move above the first virtual object when the second virtual object and the target virtual prop come into contact with each other, thereby reducing a health point of the second virtual object.

12. When the first virtual object overlaps with the mirrored virtual object, the computing device controls the first virtual object to perform an interaction with the second virtual object, and then the method further comprises: the computing device adjusts a position of the first virtual object to a third position and displays a position exchange control when the first virtual object successfully interacts with the second virtual object, the third position being a position where the first virtual object is located when it comes into contact with the second virtual object; the computing device exchanging positions of the first virtual object and the mirroring virtual object in response to a trigger operation on the position exchange control; The method of claim 1 , further comprising: the computing device controlling the first virtual object to interact with the second virtual object in response to a re-triggering operation on the mirroring interaction control.

13. After the computing device responds to a retriggering operation on the mirroring interaction control, the method further comprises: The computing device controls the mirrored virtual object to move to a location where the first virtual object is located; The method of claim 12 , further comprising the computing device decreasing health points of the second virtual object when the mirrored virtual object and the second virtual object come into contact.

14. After the computing device controls the first virtual object to perform an interaction with the second virtual object in response to a re-triggering operation on the mirroring interaction control, the method further comprises: the computing device controls the second virtual object to move to a location where the mirrored virtual object is located when the first virtual object successfully interacts with the second virtual object; the computing device, in response to a re-triggering operation on the position swap control, again swapping positions in the virtual scenario of the first virtual object and the mirroring virtual object; 13. The method of claim 12, further comprising: in response to a re-triggering operation on the mirroring interaction control, the computing device again controls the first virtual object to interact with the second virtual object.

15. When the first virtual object overlaps with the mirrored virtual object, the computing device controls the first virtual object to perform an interaction with the second virtual object, and then the method further comprises: The method of claim 1 , further comprising: the computing device: holding the first virtual object at a current position if the first virtual object has not successfully interacted with the second virtual object.

16. After the computing device controls the first virtual object to move in a first direction in response to a trigger operation on a mirroring interaction control, the method further comprises:

2. The method of claim 1, further comprising: canceling display of the mirrored virtual object when the first virtual object and the second virtual object are in contact and the second virtual object is in a second state.

17. and wherein the computing device, in response to a trigger operation on a mirroring interaction control, controls the first virtual object to move in a first direction to display a mirrored virtual object of the first virtual object at a first position in the virtual scenario. The method then further comprises: The method of claim 1 , further comprising: canceling display of the mirrored virtual object if the computing device does not detect a trigger operation on the mirrored interaction control within a target time period.

18. A control device for a virtual object provided in a computing device, the device comprising: a virtual scenario display module for displaying a virtual scenario, the virtual scenario display module displaying a first virtual object and a second virtual object, the first virtual object being a virtual object controlled by the computer device, and the second virtual object belonging to a different faction from the first virtual object; a first virtual object control module that, in response to a trigger operation on a mirroring interaction control, controls the first virtual object to move in a first direction to display a mirrored virtual object of the first virtual object at a first position in the virtual scenario; a second virtual object control module configured to control the first virtual object and the second virtual object to jointly move to the first position when the first virtual object and the second virtual object come into contact with each other; the first virtual object control module further controls the first virtual object to move to the first position in response to a re-trigger operation on the mirroring interaction control during a process in which the first virtual object moves in the first direction; The first virtual object control module further controls the first virtual object to interact with the second virtual object when the first virtual object overlaps the mirrored virtual object.

19. A computer device comprising one or more processors and one or more memories, at least one computer program stored in the one or more memories, the computer program being loaded and executed by the one or more processors to realize the method for controlling a virtual object according to any one of claims 1 to 17.

20. A computer program, which, when executed by a processor, realizes the method for controlling a virtual object according to any one of claims 1 to 17.

Citation Information

Patent Citations

  • Method for controlling virtual object in battle game and device thereof and electronic equipment

    CN113769383A

  • Method for processing game, program thereof and storage medium thereof

    JP2003334381A

  • Method for game processing, game apparatus, game program, and storage medium for the game program

    JP2005095403A