A virtual object control method and device, computer equipment and a storage medium

By linking the poses of virtual objects with those of a virtual camera, the target virtual object is determined and its movement information is calculated. This solves the problem of virtual object interaction failure in third-person perspective, achieving more efficient interaction and better display effects.

CN115970287BActive Publication Date: 2026-06-23BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING ZITIAO NETWORK TECH CO LTD
Filing Date
2023-01-05
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

In a third-person perspective, users have difficulty accurately controlling virtual objects to interact with other virtual objects, leading to interaction failures and a reduced user experience.

Method used

By linking the pose of the virtual object with that of the virtual camera, the system responds to target-triggered operations, identifies the target virtual object, calculates its movement information, moves the virtual object within the interaction range, and terminates the linkage between pose orientation to ensure successful interaction.

Benefits of technology

It improves the success rate of virtual object interaction, avoids excessively rapid screen rotation, and enhances user experience and display effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115970287B_ABST
    Figure CN115970287B_ABST
Patent Text Reader

Abstract

The present disclosure provides a virtual object control method and device, computer equipment and a storage medium, wherein the method comprises: displaying a virtual scene and a first virtual object controlled by a current user terminal in a display interface of a terminal device; wherein a first pose of the first virtual object in the virtual scene is linked with a second pose of a virtual camera in the virtual scene; in response to a target trigger operation, determining a target virtual object in the virtual scene that meets a preset interaction condition based on the first pose of the first virtual object; and terminating the linkage between a first orientation of the first pose and a second orientation of the second pose; determining movement information of the first virtual object based on a third pose of the target virtual object and the first pose; controlling the first virtual object to move according to the movement information, and controlling the first virtual object to perform an interaction action corresponding to the target trigger operation on the target virtual object after the movement ends.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and more specifically, to a virtual object control method, apparatus, computer device, and storage medium. Background Technology

[0002] Currently, applications such as games and social software allow users to control a virtual object to interact with other virtual objects, such as controlling the virtual object to attack other virtual objects with a sword. When the virtual object performs an interactive action, the interactive action usually has a certain interaction range. If other virtual objects are not within the interaction range, it is impossible to successfully interact with other virtual objects.

[0003] Because in a third-person perspective, the orientation of the virtual object controlled by the user is usually the same as the viewing direction of the screen, it is difficult for the user to see the distance between the virtual object controlled and other virtual objects. This can easily lead to situations where other virtual objects are not within the interaction range when the user is controlling the virtual object to perform an interactive action, resulting in the inability to successfully interact with other virtual objects and reducing the user experience. Summary of the Invention

[0004] This disclosure provides at least one virtual object control method, apparatus, computer device, and storage medium.

[0005] In a first aspect, embodiments of this disclosure provide a virtual object control method, including:

[0006] A virtual scene and a first virtual object controlled by the current user are displayed on the display interface of the terminal device; wherein, the first pose of the first virtual object in the virtual scene is linked with the second pose of the virtual camera in the virtual scene;

[0007] In response to a target trigger operation, based on the first pose of the first virtual object, a target virtual object in the virtual scene that meets the preset interaction conditions is determined; and the linkage between the first orientation of the first pose and the second orientation of the second pose is terminated.

[0008] Based on the third pose and the first pose of the target virtual object, determine the movement information of the first virtual object;

[0009] The first virtual object is controlled to move according to the movement information, and after the movement is completed, the first virtual object is controlled to perform an interactive action on the target virtual object corresponding to the target trigger operation.

[0010] In one possible implementation, the first pose further includes a first position, and the second pose further includes a second position;

[0011] The step of determining the target virtual object in the virtual scene that meets the preset interaction conditions based on the first pose of the first virtual object includes:

[0012] Among the multiple second virtual objects contained in the virtual scene, candidate virtual objects whose distance from the first position of the first virtual object is within a first distance range are identified;

[0013] Determine the target angle between the third orientation and the second orientation of each candidate virtual object relative to the virtual camera;

[0014] Based on the target angle, the target virtual object is determined from the candidate virtual objects.

[0015] In one possible implementation, the response to the target triggering operation includes:

[0016] In response to a target trigger operation for a target item of the first virtual object;

[0017] Determining the movement information of the first virtual object based on the third pose and the first pose of the target virtual object includes:

[0018] Based on the third pose of the target virtual object, the first pose, and the effective range corresponding to the target prop, the movement information of the first virtual object is determined.

[0019] In one possible implementation, the movement information includes movement distance and turning angle, wherein the turning angle is the angle by which the first virtual object needs to turn toward the target virtual object, the third pose includes a third position, and the first pose includes a first position;

[0020] The step of determining the movement information of the first virtual object based on the third pose of the target virtual object, the first pose, and the effective range corresponding to the target prop includes:

[0021] Based on the third position and the first position, the direction of movement is determined, and based on the direction of movement and the first orientation, the turning angle is determined; and,

[0022] The movement distance is determined based on the third position, the first position, and the effective range of the target item.

[0023] Controlling the first virtual object to move according to the movement information includes:

[0024] The first virtual object is controlled to adjust its first orientation according to the stated turning angle and move according to the stated moving distance.

[0025] In one possible implementation, after controlling the first virtual object to perform an interactive action corresponding to the target triggering operation on the target virtual object, the method further includes:

[0026] If no further execution of the target triggering operation is detected within a preset time after responding to the target triggering operation, or if the state of the target virtual object meets preset conditions, the linkage relationship between the first orientation and the second orientation is re-established.

[0027] In one possible implementation, after terminating the linkage between the first orientation of the first pose and the second orientation of the second pose, the method further includes:

[0028] In response to a movement control operation on the first virtual object, the system controls the first virtual object to move according to the movement control operation and re-establishes the linkage between the first orientation and the second orientation.

[0029] In one possible implementation, after re-establishing the linkage between the first orientation and the second orientation, the method further includes:

[0030] If the first orientation of the first virtual object is found to be inconsistent with the second orientation of the virtual camera, the first orientation of the first virtual object is adjusted, or the second orientation of the virtual camera is adjusted.

[0031] Secondly, embodiments of this disclosure also provide a virtual object control device, comprising:

[0032] The display module is used to display a virtual scene and a first virtual object controlled by the current user terminal in the display interface of the terminal device; wherein, the first pose of the first virtual object in the virtual scene is linked with the second pose of the virtual camera in the virtual scene;

[0033] The first determining module is configured to respond to a target triggering operation, determine a target virtual object in the virtual scene that meets preset interaction conditions based on the first pose of the first virtual object; and terminate the linkage between the first orientation of the first pose and the second orientation of the second pose.

[0034] The second determining module is used to determine the movement information of the first virtual object based on the third pose and the first pose of the target virtual object;

[0035] The control module is used to control the first virtual object to move according to the movement information, and after the movement is completed, control the first virtual object to perform an interactive action on the target virtual object corresponding to the target trigger operation.

[0036] In one possible implementation, the first pose further includes a first position, and the second pose further includes a second position;

[0037] The first determining module, when determining a target virtual object in the virtual scene that meets preset interaction conditions based on the first pose of the first virtual object, is used to:

[0038] Among the multiple second virtual objects contained in the virtual scene, candidate virtual objects whose distance from the first position of the first virtual object is within a first distance range are identified;

[0039] Determine the target angle between the third orientation and the second orientation of each candidate virtual object relative to the virtual camera;

[0040] Based on the target angle, the target virtual object is determined from the candidate virtual objects.

[0041] In one possible implementation, the first determining module, in response to a target triggering operation, is configured to:

[0042] In response to a target trigger operation for a target item of the first virtual object;

[0043] The second determining module, when determining the movement information of the first virtual object based on the third pose and the first pose of the target virtual object, is used to:

[0044] Based on the third pose of the target virtual object, the first pose, and the effective range corresponding to the target prop, the movement information of the first virtual object is determined.

[0045] In one possible implementation, the movement information includes movement distance and turning angle, wherein the turning angle is the angle by which the first virtual object needs to turn toward the target virtual object, the third pose includes a third position, and the first pose includes a first position;

[0046] The second determining module, when determining the movement information of the first virtual object based on the third pose of the target virtual object, the first pose, and the effective range corresponding to the target prop, is used to:

[0047] Based on the third position and the first position, the direction of movement is determined, and based on the direction of movement and the first orientation, the turning angle is determined; and,

[0048] The movement distance is determined based on the third position, the first position, and the effective range of the target item.

[0049] The control module, when controlling the first virtual object to move according to the movement information, is used for:

[0050] The first virtual object is controlled to adjust its first orientation according to the stated turning angle and move according to the stated moving distance.

[0051] In one possible implementation, after controlling the first virtual object to perform an interactive action corresponding to the target triggering operation on the target virtual object, the device is further configured to:

[0052] If no further execution of the target triggering operation is detected within a preset time after responding to the target triggering operation, or if the state of the target virtual object meets preset conditions, the linkage relationship between the first orientation and the second orientation is re-established.

[0053] In one possible implementation, after terminating the linkage between the first orientation of the first pose and the second orientation of the second pose, the device is further configured to:

[0054] In response to a movement control operation on the first virtual object, the system controls the first virtual object to move according to the movement control operation and re-establishes the linkage between the first orientation and the second orientation.

[0055] In one possible implementation, after re-establishing the linkage between the first orientation and the second orientation, the device is further used to:

[0056] If the first orientation of the first virtual object is found to be inconsistent with the second orientation of the virtual camera, the first orientation of the first virtual object is adjusted, or the second orientation of the virtual camera is adjusted.

[0057] Thirdly, embodiments of this disclosure also provide a computer device, including: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor communicates with the memory via the bus, and when the machine-readable instructions are executed by the processor, the steps of the first aspect above, or any possible implementation of the first aspect, are performed.

[0058] Fourthly, embodiments of this disclosure also provide a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps of the first aspect or any possible implementation of the first aspect.

[0059] The virtual object control method, apparatus, computer device, and storage medium provided in this disclosure can first display a virtual scene and a first virtual object controlled by the current user terminal on the display interface of a terminal device. The first virtual object's first pose in the virtual scene is linked to the second pose of a virtual camera in the virtual scene. Then, in response to a target trigger operation, a target virtual object for interacting with the first virtual object is determined. Based on the third pose of the target virtual object and the first pose of the first virtual object, movement information of the first virtual object is determined. Thus, after controlling the first virtual object to move according to the movement information, it can be ensured that the target virtual object is within the interaction range of the interaction action to be performed by the first virtual object. Therefore, after the first virtual object finishes moving, it can successfully perform the interaction action corresponding to the target trigger operation on the target virtual object.

[0060] Furthermore, after responding to the target trigger operation, the linkage between the first orientation of the first pose and the second orientation of the second pose can be terminated. This prevents the viewing angle of the screen from rotating with the first orientation of the first virtual object, thus avoiding the problem of the screen's viewing angle rotating too quickly to a certain extent. It also allows users to better observe the distance between the first virtual object and the target virtual object and the action details of the first virtual object from other angles, thereby improving the display effect.

[0061] To make the above-mentioned objects, features and advantages of this disclosure more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0062] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the embodiments will be briefly described below. These drawings are incorporated in and constitute a part of this specification. They illustrate embodiments conforming to this disclosure and, together with the specification, serve to explain the technical solutions of this disclosure. It should be understood that the following drawings only show some embodiments of this disclosure and should not be considered as limiting the scope. Those skilled in the art can obtain other related drawings based on these drawings without creative effort.

[0063] Figure 1 A flowchart of a virtual object control method provided in some embodiments of this disclosure is shown;

[0064] Figure 2 A schematic diagram of a display interface provided in some embodiments of this disclosure when the first orientation and the second orientation have a linkage relationship is shown;

[0065] Figure 3A schematic diagram of the display interface after the linkage between the first orientation and the second orientation is terminated, provided in some embodiments of this disclosure, is shown.

[0066] Figure 4 A schematic diagram of the architecture of a virtual object control device provided in some embodiments of this disclosure is shown;

[0067] Figure 5 A schematic diagram of the structure of a computer device provided in some embodiments of this disclosure is shown. Detailed Implementation

[0068] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. The components of the embodiments of this disclosure described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed disclosure, but merely represents selected embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure.

[0069] In third-person perspective games, the orientation of the virtual object controlled by the user is usually the same as the viewing direction of the screen. In this case, it is difficult for the user to see the distance between the virtual object controlled by the user and other virtual objects. As a result, when the user controls the virtual object to use melee weapons to attack other virtual objects, other virtual objects may be out of the attack range of the user-controlled virtual object, resulting in the user-controlled virtual object not hitting other virtual objects, thus reducing the user experience.

[0070] Based on the above research, this disclosure provides a virtual object control method, apparatus, computer device, and storage medium. It first displays a virtual scene and a first virtual object controlled by the current user on the display interface of a terminal device. The first virtual object's first pose in the virtual scene is linked to a virtual camera's second pose in the virtual scene. Then, in response to a target trigger operation, a target virtual object for interacting with the first virtual object is determined. Based on the target virtual object's third pose and the first virtual object's first pose, movement information of the first virtual object is determined. Thus, after controlling the first virtual object to move according to the movement information, it can be ensured that the target virtual object is within the interaction range of the interaction action to be performed by the first virtual object. Therefore, after the first virtual object finishes moving, it can successfully perform the interaction action corresponding to the target trigger operation on the target virtual object.

[0071] Furthermore, after responding to the target trigger operation, the linkage between the first orientation of the first pose and the second orientation of the second pose can be terminated. This prevents the viewing angle of the screen from rotating with the first orientation of the first virtual object, thus avoiding the problem of the screen's viewing angle rotating too quickly to a certain extent. It also allows users to better observe the distance between the first virtual object and the target virtual object and the action details of the first virtual object from other angles, thereby improving the display effect.

[0072] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0073] In this document, the term "and / or" merely describes a relationship, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.

[0074] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0075] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose, based on the prompt message, whether to provide personal information to the computer device, application program, server, or storage medium, or other software or hardware performing the operations of this disclosed technical solution.

[0076] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the computer device.

[0077] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0078] To facilitate understanding of this embodiment, a virtual object control method disclosed in this disclosure will first be described in detail. The execution subject of the virtual object control method provided in this disclosure is generally a terminal device, such as a tablet computer, personal computer, smartphone, and virtual reality / augmented reality device. In some possible implementations, the virtual object control method can be implemented by a processor calling computer-readable instructions stored in memory.

[0079] See Figure 1 The diagram shows a flowchart of a virtual object control method provided in an embodiment of this disclosure. The method includes steps 101 to 104, wherein:

[0080] Step 101: Display a virtual scene and a first virtual object controlled by the current user terminal in the display interface of the terminal device; wherein, the first pose of the first virtual object in the virtual scene is linked with the second pose of the virtual camera in the virtual scene;

[0081] Step 102: In response to the target trigger operation, based on the first pose of the first virtual object, determine the target virtual object in the virtual scene that meets the preset interaction conditions; and terminate the linkage relationship between the first orientation of the first pose and the second orientation of the second pose.

[0082] Step 103: Based on the third pose and the first pose of the target virtual object, determine the movement information of the first virtual object;

[0083] Step 104: Control the first virtual object to move according to the movement information, and after the movement is completed, control the first virtual object to perform an interactive action corresponding to the target trigger operation on the target virtual object.

[0084] The following is a detailed explanation of the steps described above:

[0085] Regarding step 101,

[0086] Specifically, such as Figure 2 As shown, the virtual scene is a three-dimensional virtual scene, which may include at least one virtual object, such as a virtual character (e.g., a cartoon character). The virtual camera is used to represent the starting point of the display view of the virtual scene, and the portion of the virtual scene displayed on the display interface is the part of the virtual scene within the view range corresponding to the second orientation of the virtual camera.

[0087] The first pose may include a first position and a first orientation, and the second pose may include a second position and a second orientation. The first position may be the three-dimensional coordinates of the first virtual object in the virtual scene, and the second position may be the three-dimensional coordinates of the second virtual object in the virtual scene.

[0088] The linkage between the first virtual object's first pose in the virtual scene and the virtual camera's second pose in the virtual scene indicates that: the first position of the first virtual object and the second position of the virtual camera have a preset relative positional relationship, such as the first virtual object being at a 45-degree angle to the left front of the virtual camera, with a distance of 1 meter between them; and the first orientation rotating with the rotation of the second orientation (or the second orientation rotating with the rotation of the first orientation). For example, if the first virtual object is moved 5 meters to the left, the virtual camera will also move 5 meters to the left; if the second orientation of the virtual camera is rotated 10 degrees clockwise, the first orientation of the first virtual object will also rotate 10 degrees clockwise.

[0089] Here, as Figure 2 As shown, the first orientation of the first virtual object and the second orientation of the virtual camera can be the same. Figure 2 The first and second orientations are forward directions. In this way, when the first orientation and the second orientation are linked, the first virtual object will always maintain the same orientation as the virtual camera, making the display effect of the first virtual object more realistic.

[0090] Regarding step 102,

[0091] Specifically, the target trigger operation is used to control the first virtual object to perform an interactive action corresponding to the target trigger operation. The target trigger operation can be a trigger operation for a target button, for example, such as... Figure 2 As shown, the display interface can show an attack button, and the target triggering operation can be a click operation on the attack button.

[0092] The preset interaction conditions may include: virtual object display location conditions, virtual object attribute conditions, etc. The display location conditions may be, for example, being located within the target area and the distance between it and the first location of the first virtual object being within a first distance range, etc. The attribute conditions may be, for example, the attribute information of the virtual object including target attributes (such as "enemy" or "mission").

[0093] After the linkage between the first orientation of the first pose and the second orientation of the second pose is terminated, the second orientation remains unchanged, for example, as shown in... Figure 3 As shown, when the first virtual object rotates, its first orientation changes, but its second orientation remains unchanged and it is still displayed according to the previous second orientation. This avoids rapid rotation of the screen angle (second orientation). Furthermore, when the first orientation of the first virtual object changes but the second orientation does not change, the display interface will show the first virtual object from other angles. This allows the display to show the action details of the first virtual object from other angles, thus improving the user experience.

[0094] In one possible implementation, when the preset interaction condition is that the distance between the first virtual object and the first position is within a first distance range, when determining the target virtual object in the virtual scene that satisfies the preset interaction condition based on the first pose of the first virtual object, a plurality of second virtual objects contained in the virtual scene can be determined first, and then the distance between the plurality of second virtual objects and the first virtual object can be calculated according to the positions of the plurality of second virtual objects and the first position, and then the second virtual object whose distance is within the first distance range is taken as the target virtual object.

[0095] For example, if the distances between each second virtual object and the first virtual object are 70 meters, 10 meters, and 50 meters respectively, and the first distance range is within 30 meters, then the second virtual object corresponding to a distance of 10 meters is determined as the target virtual object.

[0096] Using this method, a second virtual object that is closer to the first virtual object can be identified as the target virtual object and an interactive action can be performed.

[0097] Here, if multiple second virtual objects satisfy the preset interaction conditions, the target virtual object can be further selected from these multiple second virtual objects. Therefore, in another possible implementation, when determining the target virtual object that satisfies the preset interaction conditions in the virtual scene based on the first pose of the first virtual object, the following steps A1 to A3 can be adopted:

[0098] A1. Determine the candidate virtual objects among the multiple second virtual objects contained in the virtual scene, whose distance from the first position of the first virtual object is within a first distance range.

[0099] Specifically, the distances between the plurality of second virtual objects and the first virtual object can be calculated based on the positions of the plurality of second virtual objects and the first position, and then the second virtual objects whose distances are within the first distance range are selected as the candidate virtual objects.

[0100] A2. Determine the target angle between the third orientation and the second orientation of each candidate virtual object relative to the virtual camera.

[0101] The third orientation is the direction in which the virtual camera points towards the candidate virtual object. For example, the center point of each virtual object can be preset, and then the direction in which the virtual camera points towards the center point of the candidate virtual object can be used as the third orientation.

[0102] A3. Based on the target angle, determine the target virtual object from the candidate virtual objects.

[0103] Specifically, the sizes of the included angles of each target can be compared first, and then the candidate virtual object with the smallest included angle can be determined as the target virtual object. For example, if the included angles of each candidate virtual object are 10 degrees, 20 degrees, and 30 degrees, then the candidate virtual object with an included angle of 10 degrees can be determined as the target virtual object.

[0104] Using this method, the candidate virtual object with the smaller angle to the second orientation of the virtual camera can be selected from multiple candidate virtual objects as the target virtual object. In this way, the candidate virtual object closest to the center of the display interface will be the target virtual object from the user's perspective, which is more in line with user habits and improves the user experience.

[0105] Here, if the target virtual object is located outside the field of view of the virtual camera, a second virtual object not displayed on the display interface may be identified as the target virtual object, thus affecting the user experience. Therefore, in one possible implementation, the preset interaction condition may further include: the second virtual object displayed on the display interface of the terminal device may be identified as the target virtual object if it is located within the field of view corresponding to the second orientation of the virtual camera.

[0106] Specifically, candidate virtual objects whose target angles fall within a preset angle range can be identified as the target virtual object. For example, if the target angles corresponding to the candidate virtual objects are 10 degrees, 50 degrees, and 60 degrees, and the preset angle range is 0 degrees to 45 degrees, then the candidate virtual object corresponding to 10 degrees is identified as the target virtual object. If the target angles corresponding to any candidate virtual object are not within the preset angle range, then it is determined that the target virtual object does not exist.

[0107] In one possible implementation, after terminating the linkage between the first orientation of the first pose and the second orientation of the second pose, the second orientation can be adjusted in response to the target sliding operation so that the display device displays the first virtual object at different angles.

[0108] Specifically, after performing a target swipe operation on the display interface, the swipe direction can be determined first, and the camera rotation angle corresponding to the swipe direction can be determined. Then, the second orientation is updated according to the camera rotation angle. For example, if the user swipes 1cm to the left on the display interface, the camera rotation angle can be determined to be 30 degrees. If the second orientation is 80 degrees, it can be gradually increased to 110 degrees as the user's swipe operation continues.

[0109] This method allows users to control the angle of the first virtual object displayed on the screen, enabling them to observe the action details of the first virtual object from other angles and improving the user experience.

[0110] In one possible implementation, after terminating the linkage between the first orientation of the first pose and the second orientation of the second pose, a motion control operation can be initiated for the first virtual object to control the first virtual object to move according to the motion control operation and re-establish the linkage between the first orientation and the second orientation.

[0111] The mobile control operation can be, for example, a trigger operation on the mobile control area displayed on the display interface, or a trigger operation on the mobile button or joystick of the terminal device.

[0112] Specifically, when controlling the first virtual object to move according to the movement control operation, it can move according to the target direction corresponding to the movement control operation. For example, if the movement control operation is to slide to the left within the movement control area, and the target direction corresponding to the movement control operation is left, then the first virtual object can be controlled to move to the left.

[0113] Then, when re-establishing the linkage between the first orientation and the second orientation, the first orientation can be made to rotate with the rotation of the second orientation, or the second orientation can be made to rotate with the rotation of the first orientation.

[0114] In one possible implementation, after re-establishing the linkage between the first orientation and the second orientation, if it is detected that the current first orientation of the first virtual object is inconsistent with the current second orientation of the virtual camera, the first orientation of the first virtual object or the second orientation of the virtual camera can be adjusted.

[0115] Specifically, it can be that the first orientation of the first virtual object is turned to be the same as the second orientation of the virtual camera, or it can be that the second orientation of the virtual camera is turned to be the same as the first orientation of the first virtual object, so as to make the first orientation and the second orientation the same again.

[0116] Here, after responding to the movement control operation for the first virtual object, step 103 may not be executed again, that is, the first virtual object may no longer perform the interactive action.

[0117] Using this method, the linkage between the first orientation and the second orientation can be restored through user control, and / or the first virtual object can be stopped from performing the interactive action, and the movement behavior corresponding to the user's latest triggered movement control operation can be executed. This allows the user to more flexibly control the display view (i.e., the second orientation) and / or the first virtual object, thereby improving the user experience.

[0118] Regarding step 103,

[0119] The third pose may include a third position and the orientation of the target virtual object. The third position may be the three-dimensional coordinates of the target virtual object in the virtual scene. The movement information may include movement distance, turning angle, movement direction, movement speed, etc. The turning angle is the angle that the first virtual object needs to deflect towards the target virtual object.

[0120] In one possible implementation, when determining the movement information of the first virtual object, the movement direction may be determined based on the third position and the first position, and the turning angle may be determined based on the movement direction and the first orientation; and the movement distance may be determined based on the third position and the first position.

[0121] Specifically, when determining the movement direction and the turning angle, the direction of the target virtual object relative to the first virtual object can be determined first based on the first position and the third position, and this direction can be used as the movement direction. Then, the angle between the movement direction and the first orientation can be used as the turning angle. When determining the movement distance, the distance between the first position and the third position can be used as the movement distance. When determining the movement speed, the movement speed can be a preset fixed speed, or the movement speed can be determined based on the virtual props carried by the first virtual object (such as clothing, weapons, etc., and the virtual props can include the target props described below). For example, different types of virtual props can correspond to different movement speeds (e.g., the movement speed corresponding to cold weapons is 1 meter per second, and the movement speed corresponding to firearms is 0.5 meters per second), or different virtual props can correspond to different weights. The movement speed of the first virtual object can be determined based on the total weight of the virtual props (e.g., the movement speed corresponding to 1-5 catties ​​is 1 meter per second, and the movement speed corresponding to 5-10 catties is 0.5 meters per second).

[0122] In practical applications, if the interactive action to be performed by the first virtual object also has a certain execution range (e.g., if the interactive action is a pat on the shoulder, then the length of the arm of the first virtual object is the execution range), or if the models of the first virtual object and the target virtual object each have a certain volume, and the first virtual object should not overlap with the target virtual object when the first virtual object has performed an interactive action on the target virtual object, then after calculating the distance between the first position and the third position, the execution range and / or the possible overlap length between the models of the first virtual object and the second virtual object should also be subtracted from this distance.

[0123] In one possible application scenario, when the first virtual object performs an interactive action, it can typically use a target prop to perform the action, such as using a sword to slash at the target virtual object. The target prop usually has a certain length, such as a sword 1.5 meters long. Therefore, when determining the movement distance, it is also necessary to consider the effective range of the target prop. Specifically, (in step 102) the response to the target trigger operation can also be a response to a target trigger operation targeting the first virtual object's target prop. Then, when determining the movement information of the first virtual object based on its third pose and first pose, the movement information can be determined based on the target virtual object's third pose, first pose, and the effective range of the target prop.

[0124] Specifically, different props can correspond to different trigger locations. For example, the display interface can show buttons for multiple different props. In response to a trigger operation targeting any prop, that prop can be designated as the target prop. Alternatively, the user can pre-change the target prop used by the first virtual object, and then, after the user executes a target trigger operation, it can be determined that the target trigger operation is a target trigger operation targeting that specific prop. The effective range corresponding to the target prop can be pre-set; for example, the effective range of a sword target prop is 1.5 meters, and the effective range of a dagger target prop is 1 meter.

[0125] In one possible implementation, when determining the movement information of the first virtual object based on the third pose, the first pose, and the effective range corresponding to the target prop, the movement direction can be determined based on the third position and the first position, and the turning angle can be determined based on the movement direction and the first orientation; and the movement distance can be determined based on the third position, the first position, and the effective range corresponding to the target prop.

[0126] Specifically, when determining the turning angle, the direction of the target virtual object relative to the first virtual object can be determined based on the first position and the third position, and this direction can be used as the movement direction. Then, the angle between the movement direction and the first orientation can be calculated, and this angle can be used as the turning angle.

[0127] When determining the movement distance, the distance between the first position and the third position can be calculated first, and then the effective range of the target prop (such as 1 meter) can be subtracted from the distance to obtain the movement distance.

[0128] By using this method to calculate the movement distance, the first virtual object can be moved precisely to a position where it can interact with the target virtual object using the target prop, thereby improving the user experience.

[0129] Regarding step 104,

[0130] In one possible implementation, when controlling the first virtual object to move according to the movement information, the first virtual object can be controlled to move the movement distance along the movement direction. After the movement is completed, the distance between the first virtual object and the target virtual object is sufficient for the first virtual object to perform an interactive action corresponding to the target trigger operation on the target virtual object. For example, the first virtual object can move to a position 0.5 meters away from the target virtual object and perform a punching action towards the target virtual object.

[0131] In another possible implementation, when controlling the first virtual object to move according to the movement information, the first virtual object can be controlled to adjust its first orientation according to the turning angle and move according to the movement distance.

[0132] Here, when moving according to the moving distance, it can be moving according to the moving direction or the adjusted first orientation.

[0133] For example, such as Figure 3 As shown, if the turning angle is 60 degrees and the moving distance is 2 meters, the first virtual object can be rotated 60 degrees clockwise so that the first orientation of the first virtual object faces the target virtual object, and then the first virtual object can be controlled to move 2 meters along the first orientation.

[0134] Here, since the target virtual object may be in a moving state, the turning angle can be calculated in real time before the first virtual object moves, and the first orientation of the first virtual object can be adjusted according to the turning angle so that the first orientation of the first virtual object always faces the target virtual object.

[0135] Using this method, the first virtual object can face the target virtual object when moving towards it, making the display effect more natural and realistic.

[0136] In one possible implementation, after controlling the first virtual object to perform an interactive action corresponding to the target triggering operation on the target virtual object, the linkage relationship between the first orientation and the second orientation can be re-established if no further execution of the target triggering operation is detected within a preset time after responding to the target triggering operation, or if the state of the target virtual object meets preset conditions.

[0137] Specifically, if the linkage between the first orientation and the second orientation is immediately established after the first virtual object performs the interactive action, and the user performs a target trigger operation again to control the first virtual object to perform the interactive action again (e.g., the user wants to control the first virtual object to continuously attack the target virtual object), the linkage between the first orientation of the first pose and the second orientation of the second pose will be terminated. This will cause the angle of the screen displayed on the display interface or the first orientation of the first virtual object to rotate back and forth, reducing the user experience. If no target trigger operation is detected to be performed again within a preset time after responding to the target trigger operation, it can be indicated that the user no longer wants the first virtual object to perform the interactive action again, and at this time the linkage between the first orientation and the second orientation can be restored.

[0138] The state of the target virtual object may include: the pose of the target virtual object and the attribute information of the target virtual object (such as health points, whether it is dead, whether it is an interactive object, etc., the attribute information is different for different applications and can be set by the developer). For example, the preset condition may be that the health point of the target virtual object is 0, or that the distance between the third position of the target virtual object and the first position of the first virtual object (or the second position of the virtual camera) exceeds the second distance range (the second distance range can be equal to the first distance range). In this case, obviously no interactive action should be performed on the target virtual object, and the linkage relationship between the first orientation and the second orientation can be restored.

[0139] The virtual object control method provided in this embodiment can first display a virtual scene and a first virtual object controlled by the current user on the display interface of a terminal device. The first virtual object's first pose in the virtual scene is linked to the second pose of a virtual camera in the virtual scene. Then, in response to a target trigger operation, a target virtual object for interacting with the first virtual object is determined. Based on the third pose of the target virtual object and the first pose of the first virtual object, the movement information of the first virtual object is determined. In this way, after controlling the first virtual object to move according to the movement information, it can be ensured that the target virtual object is within the interaction range of the interaction action to be performed by the first virtual object. Thus, the first virtual object can be controlled to successfully perform the interaction action corresponding to the target trigger operation on the target virtual object after the movement is completed.

[0140] Furthermore, after responding to the target trigger operation, the linkage between the first orientation of the first pose and the second orientation of the second pose can be terminated. This prevents the viewing angle of the screen from rotating with the first orientation of the first virtual object, thus avoiding the problem of the screen's viewing angle rotating too quickly to a certain extent. It also allows users to better observe the distance between the first virtual object and the target virtual object and the action details of the first virtual object from other angles, thereby improving the display effect.

[0141] Those skilled in the art will understand that, in the above-described method of the specific implementation, the order in which each step is written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.

[0142] Based on the same inventive concept, this disclosure also provides a virtual object control device corresponding to the virtual object control method. Since the principle of the device in this disclosure for solving the problem is similar to the virtual object control method described above in this disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.

[0143] Reference Figure 4 The diagram shown is an architectural schematic of a virtual object control device provided in an embodiment of this disclosure. The device includes: a display module 401, a first determining module 402, a second determining module 403, and a control module 404; wherein,

[0144] Display module 401 is used to display a virtual scene and a first virtual object controlled by the current user terminal in the display interface of the terminal device; wherein, the first pose of the first virtual object in the virtual scene is linked with the second pose of the virtual camera in the virtual scene;

[0145] The first determining module 402 is used to respond to a target triggering operation, determine a target virtual object in the virtual scene that meets preset interaction conditions based on the first pose of the first virtual object; and terminate the linkage relationship between the first orientation of the first pose and the second orientation of the second pose.

[0146] The second determining module 403 is used to determine the movement information of the first virtual object based on the third pose and the first pose of the target virtual object;

[0147] The control module 404 is used to control the first virtual object to move according to the movement information, and after the movement is completed, control the first virtual object to perform an interactive action corresponding to the target trigger operation on the target virtual object.

[0148] In one possible implementation, the first pose further includes a first position, and the second pose further includes a second position;

[0149] The first determining module 402, when determining a target virtual object in the virtual scene that meets preset interaction conditions based on the first pose of the first virtual object, is used to:

[0150] Among the multiple second virtual objects contained in the virtual scene, candidate virtual objects whose distance from the first position of the first virtual object is within a first distance range are identified;

[0151] Determine the target angle between the third orientation and the second orientation of each candidate virtual object relative to the virtual camera;

[0152] Based on the target angle, the target virtual object is determined from the candidate virtual objects.

[0153] In one possible implementation, the first determining module 402, in response to a target triggering operation, is configured to:

[0154] In response to a target trigger operation for a target item of the first virtual object;

[0155] The second determining module 403, when determining the movement information of the first virtual object based on the third pose and the first pose of the target virtual object, is used to:

[0156] Based on the third pose of the target virtual object, the first pose, and the effective range corresponding to the target prop, the movement information of the first virtual object is determined.

[0157] In one possible implementation, the movement information includes movement distance and turning angle, wherein the turning angle is the angle by which the first virtual object needs to turn toward the target virtual object, the third pose includes a third position, and the first pose includes a first position;

[0158] The second determining module 403, when determining the movement information of the first virtual object based on the third pose of the target virtual object, the first pose, and the effective range corresponding to the target prop, is used to:

[0159] Based on the third position and the first position, the direction of movement is determined, and based on the direction of movement and the first orientation, the turning angle is determined; and,

[0160] The movement distance is determined based on the third position, the first position, and the effective range of the target item.

[0161] The control module 404, when controlling the first virtual object to move according to the movement information, is used for:

[0162] The first virtual object is controlled to adjust its first orientation according to the stated turning angle and move according to the stated moving distance.

[0163] In one possible implementation, after controlling the first virtual object to perform an interactive action corresponding to the target triggering operation on the target virtual object, the device is further configured to:

[0164] If no further execution of the target triggering operation is detected within a preset time after responding to the target triggering operation, or if the state of the target virtual object meets preset conditions, the linkage relationship between the first orientation and the second orientation is re-established.

[0165] In one possible implementation, after terminating the linkage between the first orientation of the first pose and the second orientation of the second pose, the device is further configured to:

[0166] In response to a movement control operation on the first virtual object, the system controls the first virtual object to move according to the movement control operation and re-establishes the linkage between the first orientation and the second orientation.

[0167] In one possible implementation, after re-establishing the linkage between the first orientation and the second orientation, the device is further used to:

[0168] If the first orientation of the first virtual object is found to be inconsistent with the second orientation of the virtual camera, the first orientation of the first virtual object is adjusted, or the second orientation of the virtual camera is adjusted.

[0169] The processing flow of each module in the device and the interaction flow between each module can be referred to the relevant descriptions in the above method embodiments, and will not be detailed here.

[0170] Based on the same technical concept, this disclosure also provides a computer device. (See also...) Figure 5 The diagram shows the structure of a computer device 500 provided in this embodiment of the present disclosure, including a processor 501, a memory 502, and a bus 503. The memory 502 stores execution instructions and includes main memory 5021 and external memory 5022. The main memory 5021, also called internal memory, is used to temporarily store computational data in the processor 501 and data exchanged with external memory 5022 such as a hard disk. The processor 501 exchanges data with the external memory 5022 through the main memory 5021. When the computer device 500 is running, the processor 501 and the memory 502 communicate through the bus 503, causing the processor 501 to execute the following instructions:

[0171] A virtual scene and a first virtual object controlled by the current user are displayed on the display interface of the terminal device; wherein, the first pose of the first virtual object in the virtual scene is linked with the second pose of the virtual camera in the virtual scene;

[0172] In response to a target trigger operation, based on the first pose of the first virtual object, a target virtual object in the virtual scene that meets the preset interaction conditions is determined; and the linkage between the first orientation of the first pose and the second orientation of the second pose is terminated.

[0173] Based on the third pose and the first pose of the target virtual object, determine the movement information of the first virtual object;

[0174] The first virtual object is controlled to move according to the movement information, and after the movement is completed, the first virtual object is controlled to perform an interactive action on the target virtual object corresponding to the target trigger operation.

[0175] In one possible implementation, the instructions executed by the processor 501 include a first position in the first pose and a second position in the second pose.

[0176] The step of determining the target virtual object in the virtual scene that meets the preset interaction conditions based on the first pose of the first virtual object includes:

[0177] Among the multiple second virtual objects contained in the virtual scene, candidate virtual objects whose distance from the first position of the first virtual object is within a first distance range are identified;

[0178] Determine the target angle between the third orientation and the second orientation of each candidate virtual object relative to the virtual camera;

[0179] Based on the target angle, the target virtual object is determined from the candidate virtual objects.

[0180] In one possible implementation, the instructions executed by processor 501, wherein the response to the target triggering operation includes:

[0181] In response to a target trigger operation for a target item of the first virtual object;

[0182] Determining the movement information of the first virtual object based on the third pose and the first pose of the target virtual object includes:

[0183] Based on the third pose of the target virtual object, the first pose, and the effective range corresponding to the target prop, the movement information of the first virtual object is determined.

[0184] In one possible implementation, the instructions executed by the processor 501 include movement information including movement distance and turning angle, wherein the turning angle is the angle that the first virtual object needs to deflect toward the target virtual object, the third pose includes a third position, and the first pose includes a first position;

[0185] The step of determining the movement information of the first virtual object based on the third pose of the target virtual object, the first pose, and the effective range corresponding to the target prop includes:

[0186] Based on the third position and the first position, the direction of movement is determined, and based on the direction of movement and the first orientation, the turning angle is determined; and,

[0187] The movement distance is determined based on the third position, the first position, and the effective range of the target item.

[0188] Controlling the first virtual object to move according to the movement information includes:

[0189] The first virtual object is controlled to adjust its first orientation according to the stated turning angle and move according to the stated moving distance.

[0190] In one possible implementation, after the processor 501 executes instructions that control the first virtual object to perform an interactive action corresponding to the target triggering operation on the target virtual object, the method further includes:

[0191] If no further execution of the target triggering operation is detected within a preset time after responding to the target triggering operation, or if the state of the target virtual object meets preset conditions, the linkage relationship between the first orientation and the second orientation is re-established.

[0192] In one possible implementation, after the processor 501 terminates the linkage between the first orientation of the first pose and the second orientation of the second pose, the method further includes:

[0193] In response to a movement control operation on the first virtual object, the system controls the first virtual object to move according to the movement control operation and re-establishes the linkage between the first orientation and the second orientation.

[0194] In one possible implementation, after re-establishing the linkage between the first orientation and the second orientation in the instructions executed by the processor 501, the method further includes:

[0195] If the first orientation of the first virtual object is found to be inconsistent with the second orientation of the virtual camera, the first orientation of the first virtual object is adjusted, or the second orientation of the virtual camera is adjusted.

[0196] This disclosure also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the virtual object control method described in the above-described method embodiments. The storage medium can be a volatile or non-volatile computer-readable storage medium.

[0197] This disclosure also provides a computer program product carrying program code. The program code includes instructions that can be used to execute the steps of the virtual object control method described in the above method embodiments. For details, please refer to the above method embodiments, which will not be repeated here.

[0198] The aforementioned computer program product can be implemented through hardware, software, or a combination thereof. In one optional embodiment, the computer program product is specifically embodied in a computer storage medium; in another optional embodiment, the computer program product is specifically embodied in a software product, such as a software development kit (SDK), etc.

[0199] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. In the several embodiments provided in this disclosure, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division; in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.

[0200] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0201] In addition, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0202] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0203] Finally, it should be noted that the above-described embodiments are merely specific implementations of this disclosure, used to illustrate the technical solutions of this disclosure, and not to limit it. The protection scope of this disclosure is not limited thereto. Although this disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this disclosure. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this disclosure, and should all be covered within the protection scope of this disclosure. Therefore, the protection scope of this disclosure should be determined by the protection scope of the claims.

Claims

1. A method for controlling virtual objects, characterized in that, include: A virtual scene and a first virtual object controlled by the current user are displayed on the display interface of the terminal device; wherein, the first pose of the first virtual object in the virtual scene is linked with the second pose of the virtual camera in the virtual scene; In response to a target trigger operation, based on the first pose of the first virtual object, a target virtual object in the virtual scene that meets preset interaction conditions is determined; and the linkage between the first orientation of the first pose and the second orientation of the second pose is terminated, wherein the preset interaction conditions include the display position conditions of the virtual object. Based on the third pose and the first pose of the target virtual object, determine the movement information of the first virtual object; The system controls the first virtual object to move according to the movement information, and after the movement is completed, the system controls the first virtual object to perform an interactive action on the target virtual object corresponding to the target trigger operation. Wherein, after the linkage between the first orientation and the second orientation is terminated, the second orientation remains unchanged.

2. The method according to claim 1, characterized in that, The first pose further includes a first position, and the second pose further includes a second position; The step of determining the target virtual object in the virtual scene that meets the preset interaction conditions based on the first pose of the first virtual object includes: Among the multiple second virtual objects contained in the virtual scene, candidate virtual objects whose distance from the first position of the first virtual object is within a first distance range are identified; Determine the target angle between the third orientation and the second orientation of each candidate virtual object relative to the virtual camera; Based on the target angle, the target virtual object is determined from the candidate virtual objects.

3. The method according to claim 1, characterized in that, The response to the target triggering operation includes: In response to a target trigger operation for a target item of the first virtual object; Determining the movement information of the first virtual object based on the third pose and the first pose of the target virtual object includes: Based on the third pose of the target virtual object, the first pose, and the effective range corresponding to the target prop, the movement information of the first virtual object is determined.

4. The method according to claim 3, characterized in that, The movement information includes movement distance and turning angle, wherein the turning angle is the angle that the first virtual object needs to turn towards the target virtual object, the third pose includes a third position, and the first pose includes a first position; The step of determining the movement information of the first virtual object based on the third pose of the target virtual object, the first pose, and the effective range corresponding to the target prop includes: Based on the third position and the first position, the direction of movement is determined, and based on the direction of movement and the first orientation, the turning angle is determined; and, The movement distance is determined based on the third position, the first position, and the effective range of the target item. Controlling the first virtual object to move according to the movement information includes: The first virtual object is controlled to adjust its first orientation according to the stated turning angle and move according to the stated moving distance.

5. The method according to claim 1, characterized in that, After controlling the first virtual object to perform an interactive action corresponding to the target triggering operation on the target virtual object, the method further includes: If no further execution of the target triggering operation is detected within a preset time after responding to the target triggering operation, or if the state of the target virtual object meets preset conditions, the linkage relationship between the first orientation and the second orientation is re-established.

6. The method according to claim 1, characterized in that, After terminating the linkage between the first orientation of the first pose and the second orientation of the second pose, the method further includes: In response to a movement control operation on the first virtual object, the system controls the first virtual object to move according to the movement control operation and re-establishes the linkage between the first orientation and the second orientation.

7. The method according to claim 5 or 6, characterized in that, After re-establishing the linkage between the first orientation and the second orientation, the method further includes: If the first orientation of the first virtual object is found to be inconsistent with the second orientation of the virtual camera, the first orientation of the first virtual object is adjusted, or the second orientation of the virtual camera is adjusted.

8. A virtual object control device, characterized in that, include: The display module is used to display a virtual scene and a first virtual object controlled by the current user terminal in the display interface of the terminal device; wherein, the first pose of the first virtual object in the virtual scene is linked with the second pose of the virtual camera in the virtual scene; The first determining module is configured to respond to a target triggering operation, determine a target virtual object in the virtual scene that meets preset interaction conditions based on the first pose of the first virtual object; and terminate the linkage between the first orientation of the first pose and the second orientation of the second pose, wherein the preset interaction conditions include the display position conditions of the virtual object. The second determining module is used to determine the movement information of the first virtual object based on the third pose and the first pose of the target virtual object; The control module is used to control the first virtual object to move according to the movement information, and after the movement is completed, to control the first virtual object to perform an interactive action on the target virtual object corresponding to the target trigger operation. Wherein, after the linkage between the first orientation and the second orientation is terminated, the second orientation remains unchanged.

9. A computer device, characterized in that, include: The computer device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the computer device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, they perform the steps of the virtual object control method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the virtual object control method as described in any one of claims 1 to 7.