Method and device for processing interaction of virtual scene, electronic device, computer readable storage medium and computer program product

By controlling virtual objects to pick up virtual items and execute action sequences in a virtual scene, the problem of limited interaction methods between virtual objects and virtual items is solved, the diversity and adaptability of interaction are improved, and the player's gaming experience is enhanced.

CN122141236APending Publication Date: 2026-06-05TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2024-12-03
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

In existing technologies, the interaction methods between virtual objects and virtual props are relatively simple and cannot adapt to the diverse characteristics of props in virtual scenes, resulting in a poor player experience.

Method used

By controlling virtual objects to pick up virtual items when the picking conditions are met, and responding to trigger operations to implement action sequences, the diversity and adaptability of the interaction are improved.

Benefits of technology

It improves the diversity and adaptability of actions during the interaction between virtual objects and virtual props, enhancing the player's gaming experience and immersion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122141236A_ABST
    Figure CN122141236A_ABST
Patent Text Reader

Abstract

The application provides an interactive processing method and device of a virtual scene, an electronic device, a computer readable storage medium and a computer program product; the method comprises: displaying a virtual scene, wherein the virtual scene comprises at least one virtual object; in response to meeting a pickup condition, controlling a first virtual object to pick up a first virtual prop, wherein the first virtual object is any one of the virtual objects in the virtual scene; in response to a trigger operation on the first virtual prop, controlling the first virtual object to implement a sequence of actions based on the first virtual prop, wherein the sequence of actions comprises prop actions adapted to the first virtual prop and object actions adapted to the first virtual object. Through the application, the diversity and adaptability of actions in the interaction process between the virtual object and the virtual prop can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to computer technology, and more particularly to a method, apparatus, electronic device, computer-readable storage medium, and computer program product for interactive processing of virtual scenes. Background Technology

[0002] Taking game scenarios as an example, the interaction between virtual objects and virtual items can bring players a better gaming experience. However, current technologies have limitations in the interaction methods between virtual objects and virtual items; they are relatively simple and cannot adapt to the increasingly diverse nature of virtual items in virtual scenarios. This fails to meet players' needs for diverse interaction methods, resulting in a poor player experience. Summary of the Invention

[0003] This application provides a method, apparatus, electronic device, computer-readable storage medium, and computer program product for interactive processing of virtual scenes, which can improve the smoothness and diversity of interaction between virtual objects and virtual props.

[0004] The technical solution of this application embodiment is implemented as follows:

[0005] This application provides an embodiment of an interactive processing method for a virtual scene, the method comprising:

[0006] Displaying a virtual scene, wherein the virtual scene includes at least one virtual object;

[0007] In response to the fulfillment of the picking conditions, the first virtual object is controlled to pick up the first virtual prop, wherein the first virtual object is any one of the virtual objects in the virtual scene;

[0008] In response to a trigger operation on the first virtual prop, the first virtual object is controlled to perform an action sequence based on the first virtual prop, wherein the action sequence includes prop actions adapted to the first virtual prop and object actions adapted to the first virtual object.

[0009] This application provides an interactive processing device for a virtual scene, the device comprising:

[0010] A display module is used to display a virtual scene, wherein the virtual scene includes at least one virtual object;

[0011] A picking module is used to control a first virtual object to pick up a first virtual prop in response to the fulfillment of picking conditions, wherein the first virtual object is any one of the virtual objects in the virtual scene;

[0012] A control module is configured to respond to a trigger operation on the first virtual prop and control the first virtual object to perform an action sequence based on the first virtual prop, wherein the action sequence includes prop actions adapted to the first virtual prop and object actions adapted to the first virtual object.

[0013] This application provides an electronic device, the electronic device comprising:

[0014] Memory is used to store executable instructions or computer programs.

[0015] The processor, when executing computer-executable instructions or computer programs stored in the memory, implements the interactive processing method for virtual scenes provided in the embodiments of this application.

[0016] This application provides a computer-readable storage medium storing a computer program or computer-executable instructions, which, when executed by a processor, implements the interactive processing method for a virtual scene provided in this application.

[0017] This application provides a computer program product, including a computer program or computer executable instructions. When the computer program or computer executable instructions are executed by a processor, they implement the interactive processing method for virtual scenes provided in this application.

[0018] The embodiments of this application have the following beneficial effects:

[0019] When the pickup conditions are met, the first virtual object in the virtual scene can be controlled to pick up the first virtual item. When the first virtual object picks up the first virtual item, the first virtual object can be triggered to perform an action sequence based on the first virtual item. This allows the action sequence performed during the interaction between the virtual object and the virtual item to retain both the object's actions and the item's actions, thereby improving the diversity and adaptability of actions during the interaction between the virtual object and the virtual item and enhancing the player's experience. Attached Figure Description

[0020] Figure 1 This is a schematic diagram of the architecture of the virtual scene interactive processing system 100 provided in the embodiments of this application;

[0021] Figure 2 This is a schematic diagram of the structure of the terminal 400 provided in the embodiments of this application;

[0022] Figure 3A This is a first flowchart illustrating the interactive processing method for virtual scenes provided in this application embodiment;

[0023] Figure 3BThis is a schematic diagram of the second process of the interactive processing method for virtual scenes provided in the embodiments of this application;

[0024] Figure 3C This is a schematic diagram of the third process of the interactive processing method for virtual scenes provided in the embodiments of this application;

[0025] Figure 3D This is a schematic diagram of the fourth process of the interactive processing method for virtual scenes provided in the embodiments of this application;

[0026] Figure 3E This is a schematic diagram of the fifth process of the interactive processing method for virtual scenes provided in the embodiments of this application;

[0027] Figure 3F This is a schematic diagram of the sixth process of the interactive processing method for virtual scenes provided in the embodiments of this application;

[0028] Figure 3G This is a schematic diagram of the seventh process of the interactive processing method for virtual scenes provided in the embodiments of this application;

[0029] Figure 3H This is a schematic diagram of the eighth process of the interactive processing method for virtual scenes provided in the embodiments of this application;

[0030] Figure 3I This is a ninth flowchart illustrating the interactive processing method for virtual scenes provided in this application embodiment;

[0031] Figure 4 This is a first schematic diagram of the interaction process of the virtual scene provided in the embodiments of this application;

[0032] Figure 5 This is a second schematic diagram of the interactive process of the virtual scene provided in the embodiments of this application;

[0033] Figure 6A This is a third schematic diagram illustrating the interaction process of a virtual scene provided in the embodiments of this application;

[0034] Figure 6B This is a fourth schematic diagram illustrating the interaction process of a virtual scene provided in the embodiments of this application;

[0035] Figure 6C This is the fifth schematic diagram of the interaction process of the virtual scene provided in the embodiments of this application;

[0036] Figure 6D This is the sixth schematic diagram of the interaction process of the virtual scene provided in the embodiments of this application;

[0037] Figure 6E This is the seventh schematic diagram illustrating the interactive process of the virtual scene provided in the embodiments of this application;

[0038] Figure 6F This is the eighth schematic diagram illustrating the interactive process of the virtual scene provided in the embodiments of this application;

[0039] Figure 7A This is a first schematic diagram of the picking process provided in the embodiments of this application;

[0040] Figure 7B This is a second schematic diagram of the picking process provided in the embodiments of this application;

[0041] Figure 7C This is a third schematic diagram of the picking process provided in the embodiments of this application;

[0042] Figure 8A This is a schematic diagram illustrating an attack-defensible method provided in an embodiment of this application;

[0043] Figure 8B This is a schematic diagram illustrating an undefendable attack provided in an embodiment of this application;

[0044] Figure 9A This is a first schematic diagram of the virtual scene provided in the embodiments of this application;

[0045] Figure 9B This is a second schematic diagram of the virtual scene provided in the embodiments of this application;

[0046] Figure 9C This is a third schematic diagram of the virtual scene provided in the embodiments of this application;

[0047] Figure 10A This is a fourth schematic diagram of the virtual scene provided in the embodiments of this application;

[0048] Figure 10B This is the fifth schematic diagram of the virtual scene provided in the embodiments of this application;

[0049] Figure 11A This is the sixth schematic diagram of the virtual scene provided in the embodiments of this application;

[0050] Figure 11B This is the seventh schematic diagram of the virtual scene provided in the embodiments of this application;

[0051] Figure 11C This is the eighth schematic diagram of the virtual scene provided in the embodiments of this application;

[0052] Figure 12 This is a flowchart illustrating the picking process provided in an embodiment of this application;

[0053] Figure 13 This is a schematic diagram of action fusion provided in an embodiment of this application;

[0054] Figure 14A This is the ninth schematic diagram of the virtual scene provided in the embodiments of this application;

[0055] Figure 14B This is the tenth schematic diagram of the virtual scene provided in the embodiments of this application;

[0056] Figure 14C This is the eleventh schematic diagram of the virtual scene provided in the embodiments of this application.

[0057] It should be noted that the terms "first" and "second" mentioned above are only used to distinguish between different options and do not represent the degree of superiority or inferiority of the options or their priority in the implementation process. Detailed Implementation

[0058] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0059] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0060] In the following description, the terms "first / second / third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first / second / third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0061] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0062] Unless otherwise specified, "at least one" as used below refers to one or more cases, and "multiple" can refer to two or more cases.

[0063] Unless otherwise defined, all technical and scientific terms used in the embodiments of this application have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in the embodiments of this application is for descriptive purposes only and is not intended to limit the scope of this application.

[0064] In the implementation of this application, the collection and processing of relevant data should strictly comply with the requirements of relevant laws and regulations, obtain the informed consent or separate consent of the personal information subject, and carry out subsequent data use and processing within the scope of laws and regulations and the authorization of the personal information subject.

[0065] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.

[0066] 1) Responding to: used to indicate the conditions or states on which the operation is performed depends. When the conditions or states on which it depends are met, one or more operations can be performed in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations are performed.

[0067] 2) Human-Computer Interaction Interface: An interface used to provide human-computer interaction functions. Examples include graphical user interfaces (GUIs), augmented reality (AR) interfaces, virtual reality (VR) interfaces, voice user interfaces (VUIs), interactive projection interfaces (using projection technology to display information on a flat surface), eye-tracking interfaces (interfaces controlled by detecting the user's gaze), holographic interfaces (three-dimensional holograms formed by projecting images using holographic projection technology, allowing viewing of stereoscopic images without special glasses), multimodal interfaces (interfaces combining multiple interaction methods, such as tactile, visual, and auditory interaction), and brain-machine interfaces (BMIs).

[0068] 3) Virtual Scene: This is the scene displayed (or provided) by the application when it runs on the terminal device. This scene can be a simulation of the real world, a semi-simulated / semi-fictional virtual environment, or a purely fictional virtual environment. Users can control virtual objects to move within this virtual scene. For example, in a game scene, the virtual scene could be the setting of a game match.

[0069] 4) Virtual Objects: Images of various people and objects that interact within a virtual scene, or movable objects within the virtual scene. These movable objects can be virtual characters, virtual animals, virtual buildings, etc. A virtual scene can include multiple virtual objects, each with its own shape and volume, occupying a portion of the space within the virtual scene. For example, in a game scene, a virtual object can be a player character (PC) controlled by the user, or a non-player character (NPC) automatically generated by the game system.

[0070] 5) Usage Mode: The mode in which virtual objects use virtual items to achieve interactive goals. For example, it can be an attack mode, where virtual objects use virtual items to attack the enemy; it can also be a defense mode, where virtual objects use virtual items to defend against the enemy's attack; or it can be a counter-attack mode, where virtual objects use virtual items to defend against the enemy's attack and launch a counter-attack.

[0071] 6) Representative Actions: Actions that embody the character traits of a virtual object. These can also be called unique or specialized actions. A representative action is tied to a specific type of virtual object and is not applicable to other types of virtual objects. For example, a brave knight's representative action might be to step forward, draw his sword, and point it at the enemy, demonstrating fearlessness and a sense of justice. A cunning enemy's representative action might be to stealthily move about or quickly move from one place to another, showcasing their agility.

[0072] 7) General Actions: Actions applicable to virtual objects with different character characteristics in a virtual scene. These actions are general and do not represent the character characteristics of the virtual object. Examples include movement actions (such as walking, running, or jumping), interaction actions (such as picking up or placing items, opening or closing, etc.), basic facial expressions (such as crying, laughing, etc.), and social actions (such as talking, nodding, shaking one's head, etc.).

[0073] 8) Action Sequence: A sequence of actions arranged in a specific order, used to describe the execution order of actions in a complex behavior or task, determining the behavior and logical flow of a virtual object during interaction with virtual props. For example, the action sequence for a character attack is: preparatory stance, attack action, and subsequent action; the action sequence for a character interaction is: approaching the target, performing the interaction action, and leaving the target; the action sequence for a character skill release is: energy gathering action (the character gathers energy to prepare for skill release), skill release, and recovery action.

[0074] 9) Object Actions: These are actions that conform to the characteristics and behavioral patterns of virtual objects. They are specific actions designed for interaction with virtual objects in the virtual environment, and are usually associated with the object's attributes, functions, and the interaction methods between the player and the object. They can include any interactive behavior such as operating, using, maintaining, or interacting with other virtual objects in the virtual scene. For example, operating the control panel in the virtual scene, interacting with other virtual objects, driving virtual vehicles, using daily necessities (such as pouring coffee, brushing teeth, playing music, adjusting lights), exploring the environment (such as opening treasure chests, climbing over walls), and interacting with the virtual environment (such as picking up stones, planting plants).

[0075] 10) Item Actions: These refer to actions pre-designed based on the function, purpose, and operation of virtual items. For example, when a virtual item is a virtual weapon (such as a sword), the actions could be drawing the sword, swinging the sword, and sheathing the sword; when a virtual item is a tool, the actions could be using a hammer to strike an object, turning a key, etc.; when a virtual item is a consumable item, the actions could be eating food, drinking water, etc.; when a virtual item is a magical item, such as a magic potion, the actions could be drinking (triggering a healing effect) or throwing (using it as a throwing virtual weapon).

[0076] In related technologies, the interaction methods between virtual objects and virtual props are limited and relatively simple, which cannot adapt to the increasingly diverse characteristics of virtual props in virtual scenes and cannot meet the players' needs for diverse interaction methods, resulting in a poor player experience.

[0077] Based on the above analysis, the applicant found that the interactive processing methods of virtual scenes in related technologies cannot guarantee the diversity and adaptability of actions during the interaction between virtual objects and virtual props. In response to the above problems, this application provides an interactive processing method, device, electronic device, computer-readable storage medium, and computer program product for virtual scenes, which can improve the diversity and adaptability of actions during the interaction between virtual objects and virtual props.

[0078] The following describes exemplary applications of the electronic devices provided in the embodiments of this application. These electronic devices can be implemented as various types of terminals such as laptops, tablets, desktop computers, set-top boxes, smartphones, smart speakers, smartwatches, smart TVs, and in-vehicle terminals, or as servers. Exemplary applications of the electronic devices as terminals will be described below.

[0079] See Figure 1 , Figure 1This is a schematic diagram of the architecture of the virtual scene interactive processing system 100 provided in the embodiments of this application. In order to support an interactive processing application for a virtual scene, the terminal 400 (exemplarily showing the human-computer interaction interface 411) connects to the server 200 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.

[0080] Terminal 400 is used to display a virtual scene on human-computer interaction interface 411. When the picking conditions are met, it controls the first virtual object to pick up the first virtual prop. When a trigger operation of the first virtual object on the first virtual prop is detected, it controls the first virtual object to perform an action sequence based on the first virtual prop. The action sequence includes prop actions adapted to the first virtual prop and object actions adapted to the first virtual object.

[0081] See Figure 2 , Figure 2 This is a schematic diagram of the structure of the terminal 400 provided in the embodiment of this application. Figure 2 The terminal 400 shown includes at least one processor 410, a memory 450, at least one network interface 420, and a user interface 430. The various components in the terminal 400 are coupled together via a bus system 440. It is understood that the bus system 440 is used to implement communication between these components. In addition to a data bus, the bus system 440 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 2 The general designated all buses as Bus System 440.

[0082] The processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.

[0083] User interface 430 includes one or more output devices 431 that enable the presentation of media content, including one or more speakers and / or one or more visual displays. User interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0084] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices physically located away from the processor 410.

[0085] The memory 450 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 450 described in this application embodiment is intended to include any suitable type of memory.

[0086] In some embodiments, memory 450 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.

[0087] Operating system 451 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks;

[0088] The network communication module 452 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc.

[0089] Presentation module 453 is configured to enable the presentation of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 431 (e.g., a display screen, a speaker, etc.) associated with user interface 430;

[0090] The input processing module 454 is used to detect and translate one or more user inputs or interactions from one or more input devices 432.

[0091] In some embodiments, the apparatus provided in this application can be implemented in software. Figure 2 An interactive processing device 455 for a virtual scene stored in memory 450 is shown. This device can be software in the form of programs and plugins, and includes the following software modules: a display module 4551, a pickup module 4552, and a control module 4553. These modules are logically integrated and can therefore be arbitrarily combined or further separated according to the functions they implement. The functions of each module will be described below.

[0092] In some embodiments, the terminal or server can implement the interactive processing method of the virtual scene provided in this application embodiment by running various computer-executable instructions or computer programs. For example, computer-executable instructions can be microprogram-level commands, machine instructions, or software instructions. Computer programs can be native programs or software modules in an operating system; they can be native applications (APPs), i.e., programs that need to be installed in the operating system to run, such as game APPs; or they can be applets that can be embedded in any APP, i.e., programs that only need to be downloaded to a browser environment to run. In summary, the aforementioned computer-executable instructions can be any form of instruction, and the aforementioned computer programs can be any form of application, module, or plugin.

[0093] The interactive processing method for virtual scenes provided in this application will be described by referring to the exemplary applications and implementations of the terminals provided in the embodiments of this application.

[0094] See Figure 3A , Figure 3A This is a first flowchart illustrating the interactive processing method for virtual scenes provided in this application embodiment. Taking the terminal as the execution subject as an example, it will be combined with... Figure 3A The steps shown are explained.

[0095] In step 101, a virtual scene is displayed, wherein the virtual scene includes at least one virtual object.

[0096] In some embodiments, for scenarios where virtual objects and virtual props interact in a virtual scene, the virtual objects in the virtual scene can be in a state where they have not picked up virtual props or in a state where they have picked up virtual props.

[0097] In step 102, in response to the fulfillment of the picking condition, the first virtual object is controlled to pick up the first virtual prop, wherein the first virtual object is any virtual object in the virtual scene.

[0098] In some embodiments, the operation of picking up the first virtual prop can be performed when any virtual object in the virtual scene meets the picking conditions.

[0099] Here, the picking conditions include any of the following: receiving a trigger operation for a picking control in the virtual scene; the distance between the first virtual object and the first virtual prop is less than a threshold (for example, the distance between the first virtual object and the first virtual prop is 5 meters, and the threshold is 10 meters), and the first virtual object is not currently holding the first virtual prop (at this time, the first virtual object may hold other virtual props, and when the picking conditions are met, other virtual props can be replaced with the first virtual prop); the distance between the first virtual object and the first virtual prop is less than the threshold, and the performance parameters of the currently held second virtual prop are lower than those of the first virtual prop; the distance between the first virtual object and the first virtual prop is less than the threshold, and the first virtual prop is compatible with the currently interacting second virtual object; the distance between the first virtual object and the first virtual prop is less than the threshold, and the first virtual prop is compatible with the environment in which the first virtual prop is currently located, that is, the attributes of the environment are consistent with the attributes of the first virtual prop, that is, the environment can enhance the capabilities of the first virtual prop. For example, the first virtual item is the Storm Sword. When a player wields the Storm Sword in the glacial region to attack an enemy, it will release a cold wind that slows down the enemy's movement, making it easier for the player to attack or gather teammates to surround and attack.

[0100] Here, the performance parameters of the virtual item can be damage value, attack range, and durability, etc. The distance between the first virtual object and the first virtual item is less than a threshold, and the first virtual item is compatible with the currently interacting second virtual object, which can be any of the following: 1) Item compatibility, that is, the first virtual item is compatible with the item held by the second virtual object, for example, spear with shield, gun with knife; 2) Distance compatibility between the first virtual item and both (first virtual object and second virtual object), that is, the radius of the attack range of the first virtual item exceeds the distance between the first virtual object and the second virtual object; 3) Skill compatibility between the first virtual item and the second virtual object, for example, if the skill of the second virtual object is freeze control, then the first virtual item can be a flame spear.

[0101] In some embodiments, the picking condition may also be receiving a trigger operation of a shortcut key in a terminal device (e.g., a mouse, keyboard, etc.) that controls the first virtual object; or it may be receiving a voice command or a motion-sensing operation command to trigger the first virtual object to pick up the first virtual item.

[0102] This application provides a scheme for players to actively pick up items, and for automatically triggering the pickup of virtual items when certain conditions are met. Players can intuitively pick up virtual items through triggering operations, increasing their sense of control and immersion. When specific conditions are met, virtual items can be automatically picked up without additional player intervention, simplifying the game process, reducing tedious operations for players, and improving the user experience. Specifically, the distance between the virtual object and the virtual item is less than a threshold ensures that pickup only occurs when the player character is close to the virtual item. When the performance of the currently held virtual item is lower than that of the available virtual item, an automatic pickup operation can be triggered, improving the game's playability and strategic depth. Adaptation to the currently interacting virtual object ensures that the picked-up virtual item is suitable for the virtual object the player is currently interacting with. For example, if facing multiple enemies, the player may automatically pick up a virtual item with a wider attack range. Adaptation to the environment makes the picked-up virtual item more harmonious with the game environment. For example, in a concealed environment, a virtual sniper rifle can be automatically picked up, increasing the game's strategic depth and realism. Overall, the above solutions improve the game's ease of use, immersion, realism, and strategic depth, providing players with a richer gaming experience.

[0103] In some embodiments, step 102, “controlling the first virtual object to pick up the first virtual item”, can be implemented by performing the following process: starting from the state where the first virtual object has not picked up the first virtual item, controlling the first virtual object to perform multiple intermediate actions of the picking process, and after performing the intermediate actions, controlling the first virtual object to be in the state where it has picked up the first virtual item.

[0104] As an example, see Figure 4 , Figure 4 This is a first schematic diagram illustrating the interactive process of a virtual scene provided in an embodiment of this application. For example... Figure 4 As shown, Figure 4 The diagram shows a start action 461 when the first virtual object 471 is in a state where it has not picked up the first virtual item 472, an end action 467 when the first virtual object 471 has picked up the first virtual item 472, and a number of intermediate actions, including a first intermediate action 462, a second intermediate action 463, a third intermediate action 464, a fourth intermediate action 465, and a fifth intermediate action 466.

[0105] This application embodiment controls the first virtual object to perform multiple intermediate actions during the pickup process, between the state where the first virtual object is not picking up the first virtual item and the state where the first virtual object has picked up the first virtual item. This better showcases the pickup process, allowing players to experience a more natural interaction and enhancing their immersion in the game. The addition of intermediate actions makes the pickup process not just an instantaneous event, but a transitional process, increasing the richness and complexity of the interaction. Through these intermediate actions, players can more clearly understand the game mechanics, improving the intuitiveness of the user interface and thus enhancing the overall user experience. The animation effects during the pickup process increase the game's visual appeal, making it look more professional and engaging.

[0106] In some embodiments, the aforementioned intermediate actions conform to the character characteristics of the first virtual object; the preceding action of each intermediate action is represented by the skeletal data of the third bone (the pose of multiple third bone points in the third bone), and the following action of each intermediate action is represented by the skeletal data of the fourth bone (the pose of multiple fourth bone points in the fourth bone).

[0107] Here, the action preceding the first intermediate action in a series of intermediate actions is the action in which the first virtual object is in a state where it has not picked up the first virtual item, and the action following the last intermediate action in a series of intermediate actions is the action in which the first virtual object is in a state where it has picked up the first virtual item.

[0108] See Figure 3B , Figure 3B This is a second flowchart illustrating the interactive processing method for a virtual scene provided in this application embodiment. Before executing the above-mentioned "intermediate actions of controlling the first virtual object to perform multiple picking processes", it is possible to execute... Figure 3B Steps 201 to 203 determine the skeletal data for at least one intermediate motion, as detailed below.

[0109] In step 201, the third bone point of the third bone is matched with the fourth bone point of the fourth bone to obtain the second matching result.

[0110] Here, the second matching result represents the correspondence between each third bone point and each fourth bone point.

[0111] In some embodiments, a second matching result can be obtained by performing the following processes: First, extract the spatial coordinates of the third bone point from the data structure of the third bone, and extract the spatial coordinates of the fourth bone point from the data structure of the fourth bone. If the data sources or coordinate systems of the bones are inconsistent, coordinate transformation is required to ensure that they are in the same coordinate system. Second, determine the error between the third and fourth bone points, which may include Euclidean distance, orientation differences, etc. Then, based on the error, adjust the position, rotation, or scaling of the third bone to make the coordinates of the third bone point as close as possible to the coordinates of the fourth bone point. For example, the third bone can be moved along the X, Y, and Z axes until the coordinates of the third bone point and the coordinates of the fourth bone point are as close as possible in space; if only the position is close enough, the orientation of the bone point also needs to be considered, so the orientation vector of the third bone is rotated to align with the orientation vector of the fourth bone point; if the sizes of the third and fourth bones are inconsistent, scaling adjustments may also be required. Finally, evaluate the quality of the matching using a metric method (such as minimizing the sum of squared errors) to determine whether a preset threshold has been reached. If the matching result does not meet the requirements, iterative fine-tuning can be performed until the second matching result is achieved.

[0112] In step 202, based on the second matching result, the bone data of the fourth bone is mapped onto the third bone.

[0113] In some embodiments, the bone data of each fourth bone point in the fourth bone can be mapped to the third bone point corresponding to the fourth bone point in the third bone, based on the second matching result.

[0114] In step 203, based on the pose of the fourth bone point of the fourth bone, the third bone point of the third bone is adjusted at least once according to the set adjustment range to obtain bone data of at least one intermediate action, wherein the bone data of at least one intermediate action is used to control the first virtual object to perform at least one intermediate action of multiple picking processes.

[0115] In some embodiments, the set adjustment range can be determined in the following way: First, determine the number of intermediate actions to be performed by the first virtual object during the picking process, and determine the total range of pose adjustment required to adjust the third bone point of the third bone to the fourth bone point of the fourth bone during the picking process from the state of not picking up the first virtual prop to the state of controlling the first virtual object to pick up the first virtual prop; then, determine the ratio of the total range to the number of intermediate actions as the adjustment range for each adjustment operation.

[0116] This application embodiment maps skeletal data based on the matching of skeletal nodes, and adjusts the positions of skeletal points in the preceding action according to the pose of the skeletal points to obtain the intermediate action. The intermediate action conforms to the character characteristics of the first virtual object, ensuring the naturalness and consistency of the screen during the interaction between the virtual object and virtual props, and improving the character's recognizability and the game's immersion. Matching the third and fourth bones ensures the consistency of the two skeletal points in spatial position and direction, providing a foundation for subsequent animation adjustments. Skeletal data mapping allows for the mutual conversion and adaptation of skeletal data from different characters, improving the reusability of animation resources and reducing animation production costs. Precise pose adjustment and amplitude control enable the creation of delicate intermediate actions that meet game design requirements, enhancing the realism of the animation and player feedback. Generating skeletal data for controlling the intermediate action of the first virtual object during the pickup process ensures that character movements are not only visually coherent but also logically interactive. In summary, the above solution improves the quality of game animation, enhances the player's gaming experience, and also increases game development efficiency and flexibility.

[0117] In some embodiments, see Figure 3C , Figure 3C This is a schematic diagram of the third process of the virtual scene interaction processing method provided in the embodiments of this application. During execution... Figure 3A After "controlling the first virtual object to pick up the first virtual item" in step 102, you can execute... Figure 3C The processing steps 204 to 206 are explained in detail below.

[0118] In step 204, in response to the fulfillment of the discard condition, the first virtual object is controlled to discard the first virtual item.

[0119] In some embodiments, the discarding conditions include any one of the following: receiving a discard trigger operation for the first virtual item; the first virtual object holding the first virtual item completing a predetermined interactive task (e.g., exchanging blows with an opponent for more than 10 moves, or defeating the opponent within 20 moves); the first virtual object holding the first virtual item for a predetermined duration; and a second virtual item existing at a distance less than a threshold from the first virtual object, and the performance parameters (such as lethality, lethal radius) of the second virtual item being greater than the performance parameters of the first virtual item.

[0120] Here, the discarding condition can also be that a second virtual item exists at a distance of less than a threshold from the first virtual object, and the performance parameters of the second virtual item are greater than those of the first virtual item. For example, if the kill radius of the first virtual item is 5 meters and the kill radius of the second virtual item is 10 meters, then the first virtual object will be automatically triggered to discard the first virtual item.

[0121] In step 205, in response to a pickup trigger operation for a first virtual prop in the virtual scene, the second virtual object is controlled to pick up the first virtual prop.

[0122] In some embodiments, the second virtual object may be triggered to pick up the first virtual item in response to a triggering operation of a pick-up control in a virtual scene. Alternatively, the second virtual object may be automatically triggered to pick up the first virtual item when the following automatic pick-up conditions are met: the distance between the second virtual object and the first virtual item is less than a threshold (e.g., the distance between the second virtual object and the first virtual item is 5 meters, and the threshold is 10 meters), and the second virtual object is not currently holding the first virtual item (in this case, the second virtual object may be holding other virtual items, which can be replaced with the first virtual item when the pick-up conditions are met); the distance between the second virtual object and the first virtual item is less than the threshold, and the performance parameters of the currently held second virtual item are lower than those of the first virtual item; the distance between the second virtual object and the first virtual item is less than the threshold, and the first virtual item is compatible with the currently interacting first virtual object; the distance between the second virtual object and the first virtual item is less than the threshold, and the first virtual item is compatible with the environment in which the first virtual item is currently located.

[0123] In step 206, in response to the triggering operation on the first virtual prop, the second virtual object is controlled to perform an action sequence based on the first virtual prop.

[0124] In some embodiments, in response to a triggering operation on a first virtual prop, a second virtual object is controlled to perform an action sequence based on the first virtual prop, wherein the action sequence includes prop actions adapted to the first virtual prop and object actions adapted to the second virtual object.

[0125] This application embodiment allows the transfer of the first virtual prop's actions to any virtual object in the virtual scene after the first virtual object discards the first virtual prop. This mechanism provides more interactive options, allowing players to use props creatively, increasing the game's interactivity and exploratory nature. Action transfer allows players to try different gameplay each time they play, increasing the game's playability and replay value. By transferring the actions of one virtual prop to another virtual object, the consumption of game resources can be reduced, avoiding the need to create animations or behaviors separately for each virtual object. Transferring specific actions to different objects can add novel visual elements and performance effects to the game.

[0126] See also Figure 3A The following will be an explanation following step 102 above.

[0127] In step 103, in response to a trigger operation on the first virtual prop, the first virtual object is controlled to perform an action sequence based on the first virtual prop, wherein the action sequence includes prop actions adapted to the first virtual prop and object actions adapted to the first virtual object.

[0128] Here, object actions adapted to the first virtual object refer to actions that conform to the characteristics and behavior patterns of the virtual object itself. These can be native actions of the virtual object, representative actions that are only adapted to the first virtual object, and general actions that are adapted to multiple virtual objects, including the first virtual object. For example, the object actions of a virtual samurai character can be swinging a sword, blocking, and charging. Item actions adapted to the first virtual item refer to actions pre-designed based on the function, purpose, and operation method of the virtual item. For example, when the virtual item is a virtual weapon (such as a sword), the item actions can be drawing the sword, swinging the sword, and sheathing the sword; when the virtual item is a tool, the item actions can be using a hammer to strike an object, turning a key, etc.; when the virtual item is a consumable item, the item actions can be eating food, drinking water, etc.; when the virtual item is a magical item, such as a magic potion, the item actions can be drinking (triggering a healing effect) or throwing (using it as a throwing virtual weapon).

[0129] In some embodiments, the action sequence includes multiple action combinations, an action combination includes one or more actions, an action combination is used to implement a skill, and the type of the skill is adapted to the characteristics of the first virtual prop.

[0130] Here, in addition to the matching of skill type with the characteristics of the first virtual item, there can also be an overall matching standard for the characteristics of skills and the first virtual item. For example, the range of motion of the skill is negatively correlated with the appearance parameters of the first virtual item, where the appearance parameters include the weight and size of the first virtual item.

[0131] In some embodiments, the way the type of the skill is adapted to the characteristics of the first virtual item includes any of the following: when the skill type is a normal attack skill, the attack power of the normal attack skill is positively correlated with the attack parameters of the first virtual item (e.g., attack range, damage value per attack), and the normal attack skill is a skill whose damage value is below a damage threshold; when the skill type is a defensible attack skill, the attack power of the defensible attack skill is positively correlated with the defense parameters of the first virtual item (e.g., the first virtual item is an umbrella, and in response to the player character's control operation on the umbrella, it can reflect enemy flying items back; when defending...). When the parameter is the area of ​​the umbrella, the larger the area of ​​the umbrella, the stronger the attack power of the skill; when the type of skill is an undefendable attack skill, the attack power of the undefendable attack skill is positively correlated with the attack parameter of the first virtual item (for example, if the first virtual item is a hammer, the greater the weight of the hammer, the stronger the attack power of the skill); when the type of skill is a defensive skill, the evasion ability of the defensive skill is positively correlated with the protection range of the first virtual item (for example, if the first virtual item is a long stick, the player character can use the long stick to jump onto the long stick to avoid enemy attacks. The longer the long stick, the larger the protection range, and the stronger the evasion ability of the defensive skill).

[0132] Here, the attack parameters of the first virtual item can include any of the following: attack power (i.e., the direct damage value caused by the first virtual item each time), attack range, attack speed, attack effect (such as slowing, stunning, etc.). The defense parameters of the first virtual item can include any of the following: defense power (i.e., the amount of damage reduced when attacked, for example, a heavy armor shield provides 30 points of defense power and reduces damage by 30 points each time it is attacked), defense range, defense success rate, defense effect, and durability (e.g., the number of attacks it can withstand, or the total amount of damage it can withstand).

[0133] As examples, in a game scenario, basic attack skills can include: sword swing, where the virtual object performs a rapid sword slash; fireball, where a virtual mage summons a fireball and throws it forward, dealing basic damage to enemies; and arrow shot, where an archer draws their bow and shoots an arrow, dealing damage to a single target. Defensive attack skills can include: heavy attack, where the virtual object performs a high-damage attack, but the attack animation has obvious warning signs that enemies can recognize and use defensive skills to block; sword dance, where a swordsman performs multiple rapid attacks in succession, but each attack can have its damage reduced or eliminated through defensive actions; and spell barrage, where a mage-type virtual object unleashes a series of spell attacks that enemies can avoid by defending or dodging. Undefendable attack skills can include: area-of-effect skills, which deal continuous damage to a region; and instant-kill attacks, which can directly kill enemies.

[0134] In some embodiments, see Figure 3D , Figure 3D This is a schematic diagram of the fourth process of the interactive processing method for virtual scenes provided in the embodiments of this application. Figure 3A Step 103, "Control the first virtual object to perform an action sequence based on the first virtual prop," can be executed. Figure 3D Steps 1031 to 1032 are implemented, and the details are explained below.

[0135] In step 1031, multiple usage mode controls for the first virtual prop are displayed, wherein one usage mode control is used to characterize a usage mode of the first virtual prop, and a usage mode includes a sequence of actions for using the first virtual prop.

[0136] Here, the usage mode of the first virtual item includes any of the following: using the first virtual item to attack, using the first virtual item to defend, and using the first virtual item to defend and counterattack.

[0137] In some embodiments, a virtual tool has multiple usage modes, each usage mode corresponds to an action sequence, and the actions in an action sequence are used to perform one or more skills, and each skill conforms to the usage mode.

[0138] As an example, see Figure 5 , Figure 5 This is a second schematic diagram of the interactive process of the virtual scene provided in the embodiments of this application. Figure 5 The upper-level diagram shows a first virtual object 511, a first virtual prop 512, a usage mode control 513, a usage mode control 514, and a usage mode control 515. The usage mode control 513 indicates that the usage mode of the first virtual prop 512 is attack mode, the usage mode control 514 indicates that the usage mode of the first virtual prop 512 is defense mode, and the usage mode control 515 indicates that the usage mode of the first virtual prop 512 is defense and counterattack mode.

[0139] In step 1032, in response to a trigger operation on the first usage mode control, the first virtual object is controlled to perform the action sequence included in the triggered first usage mode based on the first virtual prop.

[0140] As an example, see further. Figure 5 In response to a trigger operation on the mode control 513, the first virtual object 511 is controlled to perform the action sequence included in the triggered attack mode based on the first virtual prop 512, such as... Figure 5 The lower-level diagram shows an action sequence 516 that controls the first virtual object 511 to implement the triggered attack mode based on the first virtual prop 512.

[0141] This application embodiment allows for the selection of different usage modes for the same virtual item. For each usage mode, the virtual object can be controlled to perform a corresponding action sequence, providing multiple functions and usage methods for the virtual item, increasing the playability and diversity of the game. This allows players to choose the most suitable usage mode according to different game scenarios, increasing the strategic depth of the game. Different action sequences can make the virtual object exhibit different behaviors and actions, increasing the expressiveness and personalization of the character. Players can obtain a richer interactive experience and a sense of satisfaction by controlling the virtual object to perform specific action sequences.

[0142] In some embodiments, an object action template is pre-set for the first virtual object, and an item action template is pre-set for the first virtual item. Before executing step 103 above, "controlling the first virtual object to perform an action sequence based on the first virtual item", the following process can be performed: combining at least one object action in the object action template and at least one item action in the item action template into an action sequence.

[0143] Here, multiple object action templates associated with multiple usage modes can be pre-set for the first virtual object, and multiple prop action templates associated with multiple usage modes can be pre-set for the first virtual prop. Before executing step 103 above, "controlling the first virtual object to perform an action sequence based on the first virtual prop", the following processing is performed on the object action template and prop action template of the same usage mode: at least one object action in the object action template and at least one prop action in the prop action template are combined into an action sequence in a specific order.

[0144] In some embodiments, the specific order of at least one object action in the object action template and at least one item action in the item action template may be object action first and item action second, or it may be according to the order set by the player.

[0145] As an example, see Figure 6A , Figure 6A This is a third schematic diagram illustrating the interactive process of a virtual scene provided in this application embodiment. Figure 6A In the human-computer interaction interface shown, Figure 6A The top-level diagram shows five object actions in the object action template, namely object action 611, object action 612, object action 613, object action 614 and object action 615; Figure 6AThe middle section shows five prop actions from the prop action template: prop action 621, prop action 622, prop action 623, prop action 624, and prop action 625. Combining prop actions 621, 622, and 623 from the prop action template with object actions 614 and 615 from the object action template yields... Figure 6A The action sequence is shown in the lower-level diagram.

[0146] In some embodiments, the above-mentioned "combining at least one object action in the object action template and at least one prop action in the prop action template into an action sequence" can be achieved by performing the following process: when the object action template is used to implement multiple first skills (not dependent on virtual props) and the prop action template is used to implement multiple second skills (dependent on virtual props), combine (all) object actions in the object action template used to implement at least one first skill and (all) prop actions in the prop action template used to implement at least one second skill into an action sequence.

[0147] As an example, the object action template is used to perform skills 1, 2 and 3, and the prop action template is used to perform skills 4, 5 and 6. Skills 2 and 3 in the object action template and skill 4 in the prop action template can be combined into an action sequence.

[0148] Here, the action sequence can involve multiple skills, each skill corresponds to multiple actions, multiple actions are used consecutively for a single skill, or releasing a skill requires performing a specific combination of multiple actions (such as performing a specific combination of multiple actions to trigger an ultimate skill). For example, in the action sequence above, skill 2 includes actions 1 and 2, skill 3 includes actions 3, 4, and 5, and skill 4 includes actions 6 and 7.

[0149] In some embodiments, the first and second skills used for combination can be determined in any of the following ways: selected by the player controlling the first virtual object; or predicted by invoking a pre-trained machine learning model based on the features of the first and second skills in each combination to determine the skill combination with the highest probability of interaction.

[0150] In other embodiments, the above-mentioned "combining at least one object action in the object action template and at least one prop action in the prop action template into an action sequence" can be achieved by performing the following process: when the object action template is used to implement a third skill (not dependent on virtual props) and the prop action template is used to implement a fourth skill (dependent on virtual props), the at least one object action in the object action template used to implement the third skill and the at least one prop action in the prop action template used to implement the fourth skill are combined into an action sequence.

[0151] As an example, the object action template is used to perform skill A, and the object actions in the object action template include action 11, action 12 and action 13. The prop action template is used to perform skill B, and the prop actions in the prop action template include action 21, action 22 and action 23. Then, action 12 and action 13 in the object action template and action 21 in the prop action template can be combined into an action sequence.

[0152] In other words, the combination method of combining at least one object action in the object action template and at least one item action in the item action template into an action sequence can be based on skills or on actions.

[0153] This application embodiment combines at least one object action from the object action template and at least one prop action from the prop action template into an action sequence. This combination can be based on skills or actions, allowing players to choose different combinations according to their preferences and strategies to create unique action sequences. Different combinations can address different game scenarios, increasing the diversity of game strategies. Different combinations of action sequences can bring more layers of expression to the characters and interaction processes, providing players with a more flexible and creative game environment, while also enhancing the game's playability and player immersion.

[0154] In other embodiments, the types of object actions in the object action template include representative actions and general actions. Representative actions are actions that embody the character characteristics of the first virtual object, while general actions are actions that are applicable to multiple virtual objects (e.g., all virtual objects in the virtual scene).

[0155] As examples of representative actions, for virtual characters with different personality traits, for instance, a brave knight might step forward, draw his sword, and point it at the enemy, displaying fearlessness and a sense of justice; a cunning thief might stealthily move about or quickly shift from one place to another, showcasing agility and shrewdness. For virtual characters with different attributes or skills, for example, a mage might have specific incantations or hand gestures when casting spells. For virtual characters with different physical characteristics, for example, a dwarf, due to their small stature, might frequently swing their virtual weapon, demonstrating their fighting spirit and strength; an elf might have light steps and elegant gestures.

[0156] As examples of general actions, the general actions of virtual objects can be movement actions (such as walking, running or jumping), interaction actions (such as picking up or placing items, opening or closing, etc.), basic facial expressions (such as crying, laughing, etc.), and social actions (such as talking, nodding, shaking one's head, etc.).

[0157] The above-mentioned "combining at least one object action in the object action template and at least one prop action in the prop action template into an action sequence" can be achieved by performing the following process: removing at least one object action that is not a representative action from the object action template, and inserting a prop action from the prop action template that is in the same position as the removed object action at the position where the object action was removed, to obtain the action sequence.

[0158] As an example, see Figure 6B , Figure 6B This is the fourth schematic diagram illustrating the interactive process of the virtual scene provided in this application embodiment. Figure 6B In the human-computer interaction interface shown, Figure 6B The upper-level diagram shows five object actions in the object action template, namely object action 611, object action 612, object action 613, object action 614 and object action 615. Among them, object action 611, object action 612 and object action 613 are general actions, while object action 614 and object action 615 are representative actions. Figure 6B The middle section shows five item actions from the item action template: item action 621, item action 622, item action 623, item action 624, and item action 625. Then, we can remove object actions 611, 612, and 613 from the object action template within the item action template, and insert item actions 621, 622, and 623 from the item action template into their corresponding positions. These newly inserted item actions 621, 622, and 623 are then combined with object actions 614 and 615 from the object action template to obtain... Figure 6B The lower-level diagram shows the sequence of actions.

[0159] Here, the type of object action can be determined by calling a pre-trained first machine learning model. The training process of the first machine learning model can be achieved by performing the following steps: acquiring training samples, which are multiple sample object actions of sample virtual objects, and label information identifying the type of each sample object action; calling the initialized first machine learning model to predict the type of multiple sample object actions, obtaining predicted type information; determining the loss value using a loss function based on the difference between the label information and the predicted type information, and updating the parameters of the initialized machine learning model through the backpropagation algorithm, thus obtaining the pre-trained first machine learning model.

[0160] As an example, the first machine learning model could be a Support Vector Machine (SVM), Random Forest, K-Nearest Neighbors (KNN), Multilayer Perceptron (MLP), Convolutional Neural Network (CNN), Gradient Boosting Machine (GBM), Deep Neural Network (DNN), Long Short-Term Memory (LSTM), etc. The loss function used to determine the loss value could be a Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), Cross-Entropy Loss, etc.

[0161] In other embodiments, see Figure 3E , Figure 3E This is a schematic diagram of the fifth process of the virtual scene interaction processing method provided in this application embodiment. The above-mentioned "combining at least one object action in the object action template and at least one prop action in the prop action template into an action sequence" can be executed... Figure 3E Steps 301 to 302 are implemented, and the details are explained below.

[0162] In step 301, in response to a marking operation for at least one object action in the object action template, a marking result is displayed, wherein the marking result indicates whether the object action is in a retained state or not.

[0163] In some embodiments, a marking operation for at least one object action in an object action template may either treat the marked object action as retained or treat it as not retained. For example, a retained marking control (or a non-retained marking control) may be displayed in a human-computer interaction interface for each object action, and the marked object action may be treated as retained (or not retained) in response to a triggering operation for the retained marking control (or non-retained marking control).

[0164] As an example, see Figure 6C , Figure 6C This is the fifth schematic diagram illustrating the interactive process of the virtual scene provided in this application embodiment. Figure 6CIn the human-computer interaction interface shown, Figure 6C The top-level diagram shows five object actions in the object action template: object action 611, object action 612, object action 613, object action 614, and object action 615. For each object action, a corresponding reserved marker control is displayed, including reserved marker control 631 for object action 611, reserved marker control 632 for object action 612, reserved marker control 633 for object action 613, reserved marker control 634 for object action 614, and reserved marker control 635 for object action 615. Figure 6B The middle section shows five item actions from the item action template: item action 621, item action 622, item action 623, item action 624, and item action 625. In response to triggering operations on the reserved marker controls 634 and 635, object actions 614 and 615 are considered reserved, while object actions 611, 612, and 613 are not reserved.

[0165] In step 302, in response to the composition operation, the object action in the object action template that is not retained is replaced with the prop action in the prop action template that is in the same position as the object action in the non-retained state, thus obtaining the action sequence.

[0166] As an example, see further. Figure 6C In response to the trigger operation of the composition control 640 in the human-computer interaction interface, the object actions 611, 612 and 613 in the object action template that are not retained can be replaced with the corresponding prop actions 621, 622 and 623 in the prop action template to obtain the action sequence.

[0167] In some embodiments, see Figure 3F , Figure 3F This is a schematic diagram of the sixth process of the virtual scene interaction processing method provided in this application embodiment. The aforementioned "combining at least one object action from the object action template and at least one prop action from the prop action template into an action sequence" can be executed... Figure 3F Steps 303 to 305 are implemented, and the details are explained below.

[0168] In step 303, in response to a selection operation for at least one object action in the object action template, the at least one selected object action is controlled to be in a selected state.

[0169] As an example, see Figure 6D , Figure 6D This is the sixth schematic diagram illustrating the interactive process of the virtual scene provided in this application embodiment. Figure 6DIn the human-computer interaction interface shown, Figure 6D The top-level diagram shows five object actions in the object action template, namely object action 611, object action 612, object action 613, object action 614 and object action 615. Below each object action, there is a selection control corresponding to each object action. Figure 6B The middle section displays five item actions from the item action template: item action 621, item action 622, item action 623, item action 624, and item action 625. Below each item action is a corresponding selection control. In response to triggering operations on the selection controls corresponding to object actions 614 and 615 in the object action template, the selected object actions 614 and 615 are controlled to be in the selected state.

[0170] In step 304, in response to a selection operation for at least one item action in the item action template, the selected at least one item action is controlled to be in a selected state.

[0171] As an example, see further. Figure 6D In response to the triggering operation of the selection controls corresponding to item actions 621, 622 and 623 in the item action template, the selected item actions 621, 622 and 623 are controlled to be in the selected state.

[0172] In step 305, in response to the compositing operation, the selected at least one prop action and at least one object action are composited to obtain an action sequence.

[0173] As an example, see further. Figure 6D In response to a trigger operation on the composition control 640 in the human-computer interaction interface, the prop actions 621, 622 and 623 in the selected prop action template and the object actions 614 and 615 in the selected object action template can be combined to obtain an action sequence.

[0174] In some embodiments, at least one object action in the object action template and at least one prop action in the prop action template can be randomly combined; then, based on the features of each combination, a pre-trained machine learning model is invoked to predict the success probability of the interaction corresponding to each combination (for example, the probability that the first virtual object can defeat the enemy in the adversarial scenario by performing the combined actions; or the probability that the first virtual object can complete the set task in the collaborative scenario by performing the combined actions); finally, the combination with the highest probability is taken as the action sequence.

[0175] This application provides a variety of combination methods for combining at least one object action from an object action template and at least one prop action from an prop action template into an action sequence. Through real-time marking and selection operations, players can receive immediate feedback, increasing the game's interactivity and player immersion. Players can select and combine different object actions and prop actions according to their own style and strategy, thereby achieving a personalized gaming experience and increasing the variability and flexibility of gameplay. Players can customize action sequences, making the game experience richer and more interesting, and improving player participation and satisfaction.

[0176] In some embodiments, an object action template is pre-set for the first virtual object, and an item action template is pre-set for the first virtual item. Before executing step 103 above, "controlling the first virtual object to perform an action sequence based on the first virtual item", the following processing can be performed: each object action in the object action template is merged with the item action in the item action template that is in the same position as the object action to obtain an action.

[0177] Here, multiple object action templates associated with multiple usage modes can be pre-set for the first virtual object, and multiple prop action templates associated with multiple usage modes can be pre-set for the first virtual prop. Before executing step 103 above, "controlling the first virtual object to implement an action sequence based on the first virtual prop", the following processing is performed on the object action template and prop action template of the same usage mode: each object action in the object action template is merged with the prop action in the prop action template that is in the same position as the object action to obtain the action in the action sequence.

[0178] In some embodiments, the trigger operation may be a fusion operation of a fusion control in a human-computer interaction interface, triggering the fusion of object actions and prop actions; or it may be a trigger operation received from a shortcut key in a terminal device (e.g., a mouse, keyboard, etc.) that controls the first virtual object; or it may be a fusion operation of an object action and prop action received from a voice command or a motion-sensing operation command.

[0179] As an example, see Figure 6E , Figure 6E This is the seventh schematic diagram illustrating the interactive process of the virtual scene provided in this application embodiment. Figure 6E The human-computer interaction interface shown displays object action 651 and prop action 652. In response to the trigger operation of the fusion control 654 in the human-computer interaction interface, the object action 651 and prop action 652 are fused to obtain the fused action 653.

[0180] In some embodiments, object actions are represented using first skeletal data, and prop actions are represented using second skeletal data. See also Figure 3G , Figure 3G This is a schematic diagram of the seventh process of the virtual scene interaction processing method provided in this application embodiment. The above-mentioned "merging each object action in the object action template with the prop action in the prop action template that is in the same position as the object action to obtain an action" can be executed... Figure 3G Steps 401 to 403 are implemented, and the details are explained below.

[0181] In step 401, the object motion features of the first skeleton data and the prop motion features of the second skeleton data are extracted.

[0182] In some embodiments, pose parameters of the first skeletal data of the object's motion and pose parameters of the second skeletal data of the prop's motion can be extracted. Taking the extraction of pose parameters of the first skeletal data of the object's motion as an example, this can be achieved as follows: First, the positions of key points of the human body are estimated from the image frames of the object's motion using a second machine learning model. Key points typically include major joints of the body, such as the head, shoulders, elbows, wrists, waist, knees, and ankles. Second, based on the estimated key point positions, the detected key points are connected into a skeletal chain. A line segment between every two key points represents a bone. The direction and length of each bone are calculated based on the position of the key points, thereby constructing a skeletal model of the object's motion. The skeletal model contains the connection relationships between bone nodes. Then, pose parameters, such as rotation angles and translation vectors, are extracted using the bone directions and lengths in the skeletal chain.

[0183] As an example, the second machine learning model could be a convolutional neural network, a recurrent neural network (RNN), a graph neural network (GNN), or the like.

[0184] In step 402, the first weight of the object's action features and the second weight of the prop's action features are determined.

[0185] In some embodiments, determining the first weight of the object action feature and the second weight of the prop action feature can be achieved by performing the following process: performing attention encoding based on the character features of the first virtual object and the prop features of the first virtual prop to obtain the first weight of the object action feature and the second weight of the prop action feature (wherein the sum of the first weight and the second weight is 1, for example, the first weight is 0.4 and the second weight is 0.6); or, displaying a weight editing control, and in response to an editing operation on the weight editing control, displaying the first weight of the object action feature and the second weight of the prop action feature.

[0186] Here, the characteristics of the first virtual object can be its size, strength, intelligence, skills, attack methods (such as melee, ranged, magic, etc.), combat style (such as defensive, offensive, healing, etc.), equipment preferences (types of virtual weapons and armor it commonly uses), character level, etc.; the characteristics of the first virtual item can be its durability, weight, type (virtual weapons, armor, consumables, materials, etc.), attack power, defense power, enhancement attributes (increasing attack power, defense power, hit rate, etc.).

[0187] In step 403, based on the first weight and the second weight, the object action is merged with the prop action in the prop action template that is in the same position as the object action to obtain the action.

[0188] As an example, if the first weight is 0.3 and the second weight is 0.7, then the object action and the prop action in the prop action template that are in the same position as the object action will be merged in a ratio of 3:7 to obtain the action.

[0189] This application embodiment can fuse object actions and item actions according to different weights to obtain actions in the action sequence. The fusion ratio of object actions and item actions can be set by the player or determined through attention encoding. Here, allowing players to set the fusion ratio provides a highly personalized gaming experience, enabling players to adjust action effects according to their own game style and strategy. During the game, players may need to explore different fusion ratios and action combinations to find the most effective strategy, which increases the strategic depth and diversity of the game. Determining the fusion ratio through attention encoding makes the action sequence more in line with the player's intentions, improves the coherence and accuracy of actions, and helps players better allocate resources and attention, such as using stronger actions or items at critical moments. In summary, this flexible setting of the fusion ratio and technical optimization brings a richer and deeper gaming experience, while also providing more possibilities for game development.

[0190] In some embodiments, when performing the above step 103 of "controlling the first virtual object to perform an action sequence based on the first virtual prop", the following processing can be performed: controlling the first virtual object to perform multiple actions included in the action sequence, wherein, for any two adjacent actions, if the change in the action between the two actions is greater than the amplitude threshold, then between the two actions, controlling the first virtual object to perform at least one transitional action.

[0191] For example, if the first action is oriented south and the first virtual object is located on the ground, and the second action is oriented north and the first virtual object is located in mid-air, then between the two actions, the first virtual object can be controlled to perform multiple transitional actions to reflect the process of the first virtual object changing from facing south to north and jumping from the ground to mid-air, so as to ensure the smoothness of the actions in the action sequence.

[0192] In some embodiments, object actions are represented by the skeletal data of a first bone (the poses of multiple first bone points in the first bone), and prop actions are represented by the skeletal data of a second bone (the poses of multiple second bone points in the second bone). See also Figure 3H , Figure 3H This is a schematic diagram of the eighth step in the interactive processing method for a virtual scene provided in this application embodiment. Before executing the above-mentioned "controlling the first virtual object to perform at least one transitional action between two actions", it is possible to execute... Figure 3H Steps 501 to 503 determine the skeletal data for at least one transitional movement, as detailed below.

[0193] In step 501, the first bone point of the first bone is matched with the second bone point of the second bone to obtain the first matching result.

[0194] Here, the first matching result represents the correspondence between each first bone point and each second bone point.

[0195] In some embodiments, a first matching result can be obtained by performing the following processes: First, extract the spatial coordinates of the first bone point from the data structure of the first bone, and extract the spatial coordinates of the second bone point from the data structure of the second bone. If the data sources or coordinate systems of the bones are inconsistent, coordinate transformation is required to ensure that they are in the same coordinate system. Second, determine the error between the first bone point and the second bone point, where the error may include Euclidean distance, orientation difference, etc. Then, based on the error, adjust the position, rotation, or scaling of the first bone to make the coordinates of the first bone point as close as possible to the coordinates of the second bone point. For example, the first bone can be moved along the X, Y, and Z axes until the coordinates of the first bone point and the coordinates of the second bone point are as close as possible in space; if only the position is close, the orientation of the bone point also needs to be considered, so the first bone is rotated to align the orientation vector of the first bone with the orientation vector of the second bone point; if the sizes of the first bone and the second bone are inconsistent, scaling adjustments may also be required. Finally, evaluate the quality of the matching using a metric method (such as minimizing the sum of squared errors) to determine whether a preset threshold has been reached. If the matching result does not meet the requirements, iterative fine-tuning can be performed until the first matching result is achieved.

[0196] In step 502, the bone data of the second bone is mapped onto the first bone based on the first matching result.

[0197] In some embodiments, the bone data of each second bone point of the second bone can be mapped to the first bone point corresponding to the second bone point of the first bone, based on the first matching result.

[0198] In step 503, based on the pose of the second bone point of the second bone, the first bone point of the first bone is adjusted at least once according to the set adjustment range to obtain bone data for at least one transitional action, wherein the bone data for at least one transitional action is used to control the first virtual object to perform at least one transitional action.

[0199] In some embodiments, the set adjustment range can be determined by: first, determining the number of transitional actions that the first virtual object will perform between two actions, and determining the total range that needs to be adjusted between the two actions to adjust the pose of each first bone point of the first bone to each second bone point of the second bone; then, determining the ratio of the total range to the number of transitional actions as the adjustment range for each adjustment operation.

[0200] This application's embodiments map skeletal data based on the matching of skeletal nodes and adjust the positions of skeletal points for the previous action according to their poses to obtain transitional actions. This ensures the naturalness and consistency of the visuals during the interaction between virtual objects and virtual props, improving character recognizability and game immersion. Matching the first and second skeletons ensures consistency in spatial position and direction, providing a foundation for subsequent animation adjustments. Skeletal data mapping allows for the conversion and adaptation of skeletal data from different characters, improving the reusability of animation resources and reducing animation production costs. Precise pose adjustment and amplitude control enable the creation of delicate intermediate actions that meet game design requirements, enhancing the realism of the animation and player feedback. Generating skeletal data for controlling the transitional actions of the first virtual object during the pickup process ensures that character actions are not only visually coherent but also logically interactive. In summary, the above solution improves the quality of game animation, enhances the player's gaming experience, and also increases game development efficiency and flexibility.

[0201] In some embodiments, see Figure 3I , Figure 3I This is a schematic diagram of the ninth process of the interactive processing method for a virtual scene provided in this application embodiment. Before executing step 103, "controlling the first virtual object to perform an action sequence based on the first virtual prop," the following steps can be executed: Figure 3I The processing steps 601 to 602 are explained in detail below.

[0202] In step 601, an action configuration control for the first virtual prop is displayed. The action configuration control includes multiple actions included in the action sequence, and the actions are any one of prop actions and object actions.

[0203] As an example, see Figure 6F , Figure 6F This is the eighth schematic diagram illustrating the interactive process of the virtual scene provided in this application embodiment. Figure 6F In the human-computer interaction interface shown, Figure 6F The top-level diagram shows five actions in the action sequence: action 661, action 662, action 663, action 664, and action 665. Below each action, there are corresponding configuration controls: configuration control 671, configuration control 672, configuration control 673, configuration control 674, and configuration control 675.

[0204] In step 602, in response to a configuration operation for any action, the updated action sequence is displayed, wherein the updated action sequence replaces the previous action sequence.

[0205] In some embodiments, configuration operations for any action can be performed by the player in the human-computer interaction interface or by maintenance personnel in the game system's backend interface. Configuration operations can be implemented in the following ways: displaying the skeletal data for each action, and in response to a data modification operation, displaying the action corresponding to the modified skeletal data, i.e., visually modifying the action. Alternatively, it can display candidate actions for each action, and in response to a selection operation for a candidate action, replacing the original action in the action sequence with the selected candidate action; and in response to a save operation, displaying the updated action sequence.

[0206] As an example, see further. Figure 6F In response to a trigger operation on configuration control 674, the following is displayed: Figure 6F The human-computer interaction interface shown in the middle. Figure 6F The central human-computer interaction interface displays four candidate actions from the candidate action template: candidate action 681, candidate action 682, candidate action 683, and candidate action 684, as well as a save control 695. Below each candidate action, corresponding confirmation controls are displayed: confirmation controls 691, 692, 693, and 694. In response to a selection operation on confirmation control 692, candidate action 682 corresponding to confirmation control 692 is used as the replacement action for action 664 in the original action sequence. In response to a trigger operation on save control 695, the following is displayed: Figure 6F The updated action sequence in the lower-level graph.

[0207] This application supports configuring actions in an action sequence to update the action sequence, allowing players to configure action sequences according to their preferences and game strategies, creating a unique gaming experience. Players can choose the most suitable action combination to deal with different game situations, which can not only provide players with a more flexible and interesting gaming experience, but also improve the scalability and adaptability of game design, while bringing new possibilities to fields such as education, training and media production.

[0208] In summary, in this embodiment of the application, when the picking conditions are met, the first virtual object in the virtual scene can be controlled to pick up the first virtual item. When the first virtual object picks up the first virtual item, the first virtual object can be triggered to perform an action sequence based on the first virtual item. This allows the action sequence performed during the interaction between the virtual object and the virtual item to retain both the object action of the virtual object and the item action of the virtual item, thereby improving the diversity and adaptability of actions during the interaction between the virtual object and the virtual item, and thus enhancing the player's experience.

[0209] The following will describe an exemplary application of the embodiments of this application in a real game scenario.

[0210] The interactive processing method for virtual scenes provided in this application can be applied to any game scene that emphasizes attack experience, operation, and real-time feedback, and is characterized by action, such as action games (ACT) and action role-playing games (ARPG).

[0211] In games of the aforementioned types, player combat is mostly tied to a default initial state. Combat styles typically don't change as game content expands, and player character action templates are fixed. Over time, this leads to a loss of replayability and enjoyment for the player character. Furthermore, related technologies prevent players from experiencing different combat styles by picking up virtual weapons (equivalent to virtual items mentioned above). For example, in current games, picking up virtual weapons usually responds to the player's action at the weapon's location; the weapon automatically appears in the player's hand. This process is simplistic and lacks logical consistency. After picking up a virtual weapon, the player's original action template is directly replaced with another, resulting in a significant difference in action style between before and after weapon pickup, with almost no correlation. Moreover, the mechanics for different virtual weapons lack diversity, making the differences in attributes and functions insufficiently apparent.

[0212] The virtual scene interaction processing method provided in this application embodiment can enhance the diversity and smoothness of the interaction between the player character controlled by the player and the virtual weapon while maintaining the player's original distinctive combat style.

[0213] First, when a player character controlled by a terminal device approaches a collectible virtual weapon, an interactive "Pick Up" control is displayed on the terminal device's human-computer interaction interface for the player character to pick up the virtual weapon. Responding to the player's click on the "Pick Up" control, the player character can then use the picked-up virtual weapon in combat. Simultaneously, multiple intermediate actions are inserted between the actions of not picking up the virtual weapon and picking it up to ensure smooth action flow. For example, in the current image frame where the virtual weapon is not picked up, an "action blending transition" technique is used, that is, the actions of not picking up the virtual weapon and picking it up are blended together. After the blending transition is complete, the action switches to the state of picking up the virtual weapon. For example, to make the blending of the two actions smoother, approximately 20 frames of action can be used to represent the blending process. After the blending transition is complete, the action of not picking up the weapon switches to the state of picking it up. Through this method, the connection between the two actions is smoother, making the interaction between the player-controlled character and the virtual weapon during the pickup process more free and fluid, consistent with real-world logic, and enhancing the player's immersion in the game.

[0214] As an example, see Figures 7A to 7C , Figure 7A This is a first schematic diagram of the picking process provided in the embodiments of this application. Figure 7A The human-computer interaction interface displays a first virtual object 701, a first virtual prop 702, and a pickable marker 703. At this time, the first virtual object 701 is in a state where the first virtual prop 702 has not been picked up. Figure 7A In the human-computer interaction interface on the left, the first virtual object 701 did not perform any action of picking up the first virtual item 702. Figure 7A In the human-computer interaction interface on the right, in response to the operation of controlling the first virtual object 701 to raise its right leg, the following is displayed: Figure 7B The human-computer interaction interface on the left. Figure 7B This is a second schematic diagram of the picking process provided in the embodiments of this application. Figure 7B In the human-computer interaction interface on the left, one end of the first virtual prop 702 leaves the ground, and then the following is displayed: Figure 7B In the middle of the human-computer interaction interface, at this time, both ends of the first virtual prop 702 are off the ground, and the height of the first virtual prop 702 rises to the position of the shoulder of the first virtual object 701. Then, the following is displayed: Figure 7BOn the right-hand human-computer interaction interface, at this moment, the first virtual object 701 is controlled to raise its right arm, and the arm moves closer to the position of the first virtual prop 701. Finally, the following is displayed: Figure 7C Human-computer interaction interface. Figure 7C This is a third schematic diagram of the picking process provided in the embodiments of this application. Figure 7C In the human-computer interaction interface on the left, the first virtual object 701 holds the first virtual prop 701 in its hand, and at this time the hand is still at shoulder height; then, the following is displayed. Figure 7C On the right side of the human-computer interaction interface, at this time, the hand height of the first virtual object 701 is at the waist position.

[0215] Secondly, the interactive processing method for virtual scenes provided in this application embodiment sets different mechanisms for different virtual weapons, so that different virtual weapons correspond to completely different combat styles, which can bring players a richer combat experience and allow players to have different ways to deal with the same enemy. For example, when facing a group of enemies, players can choose to use a short stick to quickly defeat a single enemy, or use a hammer to attack and eliminate enemies in a wide area; they can also use the characteristics of a long stick to jump onto the stick, dodge enemy attack skills, and then launch a follow-up attack on the enemy from the stick; or they can use umbrella-type virtual weapons for defense to reflect projectiles thrown by enemies back.

[0216] Here, to enrich the gaming experience, different mechanics are designed for different virtual weapons. For example, unique, varied skills are designed for different virtual weapons, such as basic attacks (equivalent to defensible attack skills mentioned above) and undefensible attacks (equivalent to undefensible attack skills mentioned above). Furthermore, to highlight the characteristics of virtual weapons, the proportion of different skills can be allocated to make the experience of using virtual weapons more aligned with their performance. For example, to emphasize the powerful and unstoppable nature of hammer-type virtual weapons, all skills of hammer-type virtual weapons can be set as undefensible attacks.

[0217] As an example, see Figure 8A , Figure 8A This is a schematic diagram illustrating a defense-resistant attack provided in an embodiment of this application. Figure 8A The human-computer interaction interface on the left displays a first virtual object 801, a first virtual prop 802, and a "level attack" effect 803. The first virtual prop 802 is a short stick. In response to controlling the first virtual object 801 to release the "level attack" skill, the following is displayed: Figure 8A The human-computer interaction interface on the right, such as Figure 8A As shown in the human-computer interaction interface on the right, virtual object 804 has been defeated. (See also...) Figure 8B , Figure 8B This is a schematic diagram illustrating an undefendable attack provided in an embodiment of this application. Figure 8B The human-computer interaction interface on the left displays a first virtual object 801, a first virtual prop 812, and a "risky move" effect 813. The first virtual prop 812 is a hammer. In response to controlling the first virtual object 801 to release the "risky move" skill, the following is displayed: Figure 8B The human-computer interaction interface on the right, such as Figure 8B As shown in the human-computer interaction interface on the right, virtual object 804 is knocked down, and a dent 814 is displayed on the ground.

[0218] Meanwhile, the virtual scene interaction processing method provided in this application embodiment can utilize a more flexible and adaptable "redirection" technology to migrate the actions in the source action template of a virtual weapon to the action template of a specified player character, replacing some of the original functional actions of the player character. This allows the player character controlled by the player to use both the replaced virtual weapon skills and the original skills that were not replaced. This retains the signature actions that express the player character's personality without severing ties with the original character style, while also incorporating the unique mechanics and technical characteristics of the virtual weapon's actions. This allows the player character to experience a completely new combat experience when wielding a virtual weapon, making the player's gaming experience both unique and unified. Here, redirection refers to the technology in game development of migrating the actions in the source action template of a virtual item (equivalent to the item action template mentioned above) to a target virtual object. This combines the characteristics of the action templates of virtual items and virtual objects, thereby increasing the game's playability and diversity.

[0219] The following, with reference to the illustrations, details the implementation process of the virtual scene interaction processing method provided in the embodiments of this application.

[0220] When there are virtual weapons that can be picked up in the virtual scene, they will be highlighted in the human-computer interaction interface. At the same time, an interactive icon will be displayed above the virtual weapon to prompt the player to interact with the currently displayed virtual weapon.

[0221] As an example, see Figure 9A , Figure 9A This is a first schematic diagram of the virtual scene provided in the embodiments of this application. Figure 9A The diagram shows a first virtual object 901, a first virtual prop 902 (i.e., a short stick), a pickable marker 903, a pickable range 904, and a skill set. The skill set includes a standard attack skill control 905 and a risky attack skill control 906. In response to the first virtual object 901 moving into the pickable range 904, the following is displayed: Figure 9B The human-computer interaction interface shown. Figure 9B This is a second schematic diagram of the virtual scene provided in the embodiments of this application, such as... Figure 9BAs shown, a pickup control 907 is displayed in the human-computer interaction interface. Responding to the trigger operation of the first virtual object 901 on the pickup control 907, the first virtual object 901 is controlled to pick up the first virtual item 902, as shown in the image. Figure 9C The human-computer interaction interface shown. Figure 9C This is a third schematic diagram of the virtual scene provided in the embodiments of this application, such as... Figure 9C As shown in the upper-level diagram, the first virtual object 901 is in a state where it has picked up the first virtual item 902. At this time, the pickable indicator 903, the pickable range 904, and the pick-up control 907 are not displayed. Figure 9B The risky move skill control 906 has been updated to risky move skill control 908, which can be used to throw virtual weapons at enemies. In response to the player controlling the first virtual object 901 triggering the risky move skill control 908, the player can control the first virtual object 901 to perform a risky move skill based on the short stick of the first virtual item 902, such as... Figure 9C The human-computer interaction interface in the middle shows the action of the first virtual object 901 releasing a risky skill to virtual object 909, and the risky skill effect 910 is also displayed in the human-computer interaction interface. Next, as... Figure 9C As shown in the lower-level image, a first virtual object 901 throws a first virtual prop 902 to attack a virtual object 909.

[0222] The mechanisms of different types of virtual weapons will be explained below.

[0223] For example, in related technologies, short stick-type virtual weapons are simple and crude, lacking design specific to the movements and performance of short sticks. The embodiments of this application focus on short stick-type virtual weapons in games, with the main design features being flexibility, lightness, and dense attack points. They allow for the use of normal attacks to connect with skill attacks; for example, during a dash attack, a normal attack can be seamlessly integrated to achieve a rapid and swift assault on the enemy. Simultaneously, the player character's original grab and throw skills will be replaced with short stick-specific grab and throw skills, and the action combinations performed during the entire grab and throw interaction will better suit the characteristics of short stick movements.

[0224] As an example, see Figure 10A , Figure 10A This is the fourth schematic diagram of the virtual scene provided in the embodiments of this application. Figure 10A The diagram illustrates three attack actions performed by the first virtual object 1001 based on the first virtual prop 1002 (i.e., a short stick) within a preset time period (e.g., 3 seconds). Figure 10A The diagram on the left shows the attack action performed by the first virtual object 1001 based on the first virtual prop 1002 while in a jumping state. Figure 10AThe middle diagram shows the attack action performed by the first virtual object 1001 based on the first virtual prop 1002 in a rushing state, while the diagram on the right side of 10A shows the attack action performed by the first virtual object 1001 based on the first virtual prop 1002 in a stationary state.

[0225] See also Figure 10B , Figure 10B This is the fifth schematic diagram of the virtual scene provided in the embodiments of this application. Figure 10B The diagram illustrates four attack actions initiated by a first virtual object 1001 against a virtual object 1003 within a preset time period (e.g., 5 seconds) based on a first virtual prop 1002 (i.e., a short stick). Figure 10B The human-computer interaction interfaces in the upper left, lower left, upper right, and lower right corners respectively show the attack actions of the first virtual object 1001 using a short stick to strike different parts of the virtual object 1003.

[0226] In games, related technologies often design hammer-type virtual weapons as long and cumbersome to emphasize their weight. This application, however, does not prioritize bulkiness in its design. Instead, it emphasizes the weapon's solidity and power by designing its attack skills as "risky moves." When using a hammer to attack, the player character gains a state of invulnerability, making them less vulnerable to enemy attacks. Furthermore, the player can use these hammer skills to interrupt enemy attacks, gaining an advantage.

[0227] As an example, see Figures 11A to 11C , Figure 11A This is the sixth schematic diagram of the virtual scene provided in the embodiments of this application. Figure 11A The human-computer interaction interface displays a first virtual object 1101, a first virtual prop 1102 (i.e., a hammer), and a risky move skill control 1103. The risky move skill control 1103 is associated with the spinning attack skill of the first virtual prop 1102. In response to a click on the risky move skill control 1103, the first virtual object 1101 is triggered to perform a spinning attack using the hammer, as shown below. Figure 11B The interface shown. Figure 11B This is the seventh schematic diagram of the virtual scene provided in the embodiments of this application. Figure 11B The human-computer interaction interface displays four attack actions of the first virtual object 1101 performing a risky skill. From left to right, it shows the action diagrams for the four stages corresponding to each attack action. Figure 11BThe first stage illustration shows the special effect 1104 for the risky move skill. After completing the four attack actions of the risky move skill, the player can click the risky move skill control 1103 again, depending on the current environment of the virtual scene, to quickly execute the finishing attack skill, as shown below. Figure 11C The interface shown allows players to have a smooth and flexible feel and experience when operating heavy virtual weapons. Figure 11C This is the eighth schematic diagram of the virtual scene provided in the embodiments of this application. It shows the action diagrams of four stages sequentially, from left to right. Figure 11C The first-stage illustration shows the skill effect 1104 for risky moves. Figure 11C The second-stage diagram shows the first virtual object 1101 raising the hammer high. Figure 11C The diagram of the third stage shows the first virtual object 1101 holding a hammer and leaping up. Figure 11C The diagram of the fourth stage shows the action of the first virtual object 1101 smashing a hammer into the ground.

[0228] For virtual weapons like staffs in games, this application's embodiments design a dodging mechanism. When the player character is on the ground, the skills usable with the staff are all "horizontal attacks." When the player character uses the staff's dodging mechanism, in response to the player character's side-stepping operation, such as responding to the player's triggering of the "dodge" control in the human-computer interaction interface, the player character can jump onto the staff while pushing off, and then launch subsequent attacks on the enemy from the staff. Here, the attack skills launched by the player character while on the staff are all wide-range "risky moves." In other words, the staff's dodging mechanism is a high-risk, high-reward approach for the player character; that is, as long as the player character can successfully jump onto the staff using the "dodge" mechanism, they can subsequently gain greater benefits through "risky moves," thereby quickly defeating the enemy.

[0229] Regarding the umbrella-type virtual weapon in the game, the feature of this application's embodiment lies in its defensive mechanism. When the player character is attacked by a flying object, the umbrella's defensive mechanism will control the umbrella to switch from a closed state to an open state, covering the area in front of the player character that was attacked by the flying object and reflecting the flying object back. Simultaneously, if the player is hit by an enemy's melee attack while the umbrella is in "defense" mode, they can use the umbrella to perform a wide-range "risky move" attack, instantly reversing the offensive and defensive rhythm and turning defense into offense.

[0230] The following describes the process of controlling a player character to pick up virtual weapons according to an embodiment of this application. See also... Figure 12 , Figure 12This is a flowchart illustrating the pickup process provided in an embodiment of this application. Taking the terminal device controlling the player character as the execution entity as an example, combined with... Figure 12 Steps 1201 to 1208 shown are explained in detail.

[0231] In step 1201, the player character in the virtual scene is displayed.

[0232] In some embodiments, the player character in the virtual scene may be displayed in the human-computer interaction interface of the terminal device controlled by the player.

[0233] In step 1202, it is determined whether there are any pickable virtual weapons in the current virtual scene. If the determination result is yes, then the processing in step 1203 is executed; if the determination result is no, then the processing in step 1202 continues.

[0234] In step 1203, it is determined whether the player character is within the pickup range of the virtual weapon. If the result is yes, then the following step 1204 is executed; if the result is no, then the process returns to step 1202.

[0235] In step 1204, it is determined whether the current player character is in a pick-upable state. If the result is yes, the following step 1204 is executed; if the result is no, the process returns to step 1202.

[0236] In step 1205, in response to receiving a pick-up operation for the virtual weapon, the player character is controlled to pick up the virtual weapon and the virtual weapon is controlled to release an attack skill.

[0237] In step 1206, during the player character's attack using the virtual weapon, it can be determined whether the virtual weapon's durability is greater than 0. If the result is yes, the battle continues; if the result is no, the virtual weapon is considered damaged. Here, the virtual weapon's durability gradually decreases with the accumulation of usage time or number of uses.

[0238] In step 1207, the player character is controlled to throw a virtual weapon.

[0239] In some embodiments, in response to a player's triggering of a throwing skill control, the player character can be controlled to throw a virtual weapon at a location. During the process of controlling the player character to perform the throwing skill, the following steps 1208 can be executed.

[0240] In step 1208, it is determined whether the durability value of the virtual weapon is greater than 0. If the result is yes, the battle can continue; if the result is no, the virtual weapon is considered to be damaged, and the process in step 1203 above will continue.

[0241] This application utilizes a more flexible and adaptable redirection technique to transfer the source motion of a virtual weapon to a designated virtual object, enabling the virtual object to perform the same actions. Furthermore, inverse kinematics (IK) is applied to key limb positions in the source motion template to ensure that player characters of different body types can perfectly match the virtual weapon's movements. For example, when a regular virtual object holds a hammer, the hammer is positioned in front of the abdomen at the torso level. If the hammer's source motion is transferred to a character with a large belly, the IK method can be used to adjust the arm position in the source motion template, making the distance between the arm holding the hammer and the body greater than in a regular character, ensuring that the hammer does not overlap with the large belly. Simultaneously, for moving objects such as the virtual object's hair and clothing, physics can be used to ensure that they do not affect the combat performance of the virtual object holding the virtual weapon. For example, when the virtual object's hair, clothes, and accessories sway with the virtual object's movements, these moving objects can be blocked from intersecting with the virtual weapon, preventing unreasonable intermingling of moving objects and virtual weapons. The redirection technology provided in the embodiments of this application will be described in detail below.

[0242] First, skeletal matching is performed to ensure the skeletal structure of the original motion model of the virtual object and the motion model of the virtual weapon are compatible. This means identifying and matching the corresponding bone nodes of the original motion structure of the virtual object and the motion structure of the virtual weapon. Second, skeletal mapping is performed, mapping the skeletal data of the virtual weapon's bone nodes onto the adapted virtual object's bone nodes. Then, interpolation or inverse kinematics techniques are used to adjust the position and rotation of the bone nodes in the virtual object to ensure a more natural-looking motion transition. Finally, manual correction and refinement are performed, manually correcting any unnatural-looking movements and refining the overall design.

[0243] When the player character picks up a virtual weapon, this embodiment of the application provides an action fusion and retention scheme based on the use of redirection technology. It retains some of the action performances with the characteristics and memorable points of the original character. Based on the similarity between the performance of the virtual weapon and the original character's actions, it drives a new combat style to achieve a better interactive effect.

[0244] For example, when the virtual weapon is a short stick, if the virtual character is a street thug, the action of controlling the thug to pick up the stick could be a simple bending down to pick it up, with a simplistic and brutal attack lacking in performance. However, if the virtual character is a master, the action of controlling the master to pick up the stick could be the master using their foot to lift the stick and catching it in mid-air, which is more expressive. The attack animation could be based on martial arts techniques using the stick, and there would also be a unique finishing move after the attack, allowing the same virtual weapon to reflect the characteristics of different characters.

[0245] The following describes the action fusion preservation scheme provided in the embodiments of this application. See also Figure 13 , Figure 13 This is a schematic diagram of motion fusion provided in an embodiment of this application. Figure 13 The document shows the original character animation module, the virtual weapon animation module, and the redirected animation module, each with different animation fusion ratios designed for basic actions, special actions, attack actions, and other actions. This can be achieved as follows: First, the actions of a virtual object can be divided into two types based on their performance and functionality: representative (i.e., unique) and universal. Uniqueness refers to actions that highlight the character's personality, such as the action of picking up a stick, or the performance action after a stick attack, as mentioned above. Universality refers to actions that highlight the stick attack, actions that any character can use after picking up a stick. Then, when redirecting the actions, all unique actions can be marked first, ensuring that these actions are not changed during the animation redirection and fusion process. Finally, after the universal actions are fused, they will be replaced with the new virtual weapon animation module.

[0246] As an example, see Figures 14A to 14C , Figure 14A This is the ninth schematic diagram of the virtual scene provided in the embodiments of this application. Figure 14A The actions shown are all general actions for player characters. After being integrated with the actions of virtual weapons, they will be replaced with... Figure 14B The actions shown Figure 14B This is the tenth schematic diagram of the virtual scene provided in the embodiments of this application. Figure 14C This is the eleventh schematic diagram of the virtual scene provided in the embodiments of this application. Figure 14C The action types shown are all representative actions of the player character. Among them, the actions on the left and in the middle are representative actions during the attack process, and the actions on the right side of the screen are the finishing actions at the end of the battle.

[0247] The motion fusion preservation scheme provided in this application can retain the original motion characteristics of the player character, and has the following technical effects: 1) Authentic experience: It can retain the original style and charm of the player character's original motion, making the final fused motion more meaningful and layered. 2) Enhanced recognizability: Each motion of the retained player character has its unique characteristics and rhythm. Retaining these characteristics makes the fused motion easier to recognize, improving its visual appeal and attractiveness. 3) Dynamic expression: Retaining these characteristics during the fusion process makes the new combined motion more precise in expressing emotions and intentions. 4) Technical depth: Maintaining the characteristics of the original motion can better showcase the technical content of different motions, making the result of motion fusion more professional and visually appealing.

[0248] The following beneficial technical effects can be achieved during the technical implementation process: 1) In related technologies, different motion models need to be established for different virtual objects. When multiple virtual objects use the same virtual weapon, multiple animation files for different virtual objects need to be created and exported, resulting in an exponential increase in the workload of artists and the time cost of project development. The interactive processing method for virtual scenes provided in this application can effectively reduce the workload of artists. 2) It facilitates motion maintenance. Compared with related technologies that require the maintenance of a large number of character models, which leads to human error, the above-mentioned solution provided in this application only needs to maintain the source motion model of one virtual weapon, which can be adapted to multiple virtual objects through redirection technology. When modification or optimization is required, it can effectively reduce human error during the maintenance process. 3) The above-mentioned technical solution provided in this application can effectively reduce the system resource occupation of the game package during the development process.

[0249] The following description continues to illustrate the exemplary structure of the virtual scene interaction processing device 455 provided in the embodiments of this application as a software module. In some embodiments, such as Figure 2 As shown, the software modules in the interactive processing device 455 of the virtual scene stored in the memory 450 may include:

[0250] Display module 4551 is used to display a virtual scene, wherein the virtual scene includes at least one virtual object.

[0251] The picking module 4552 is used to control the first virtual object to pick up the first virtual prop in response to the fulfillment of the picking conditions, wherein the first virtual object is any virtual object in the virtual scene.

[0252] The control module 4553 is used to respond to a trigger operation on the first virtual prop and control the first virtual object to perform an action sequence based on the first virtual prop, wherein the action sequence includes prop actions adapted to the first virtual prop and object actions adapted to the first virtual object.

[0253] In some embodiments, the action sequence includes multiple action combinations, an action combination includes one or more actions, an action combination is used to implement a skill, and the type of the skill is adapted to the characteristics of the first virtual prop.

[0254] In some embodiments, the adaptation method includes: when the skill type is a normal attack skill, the attack power of the normal attack skill is positively correlated with the attack parameters of the first virtual item, and the normal attack skill is a skill whose damage value is lower than the damage threshold; when the skill type is a defensible attack skill, the attack power of the defensible attack skill is positively correlated with the defense parameters of the first virtual item; when the skill type is an undefensible attack skill, the attack power of the undefensible attack skill is positively correlated with the defense parameters of the first virtual item; when the skill type is a defensive skill, the evasion ability of the defensive skill is positively correlated with the protection range of the first virtual item.

[0255] In some embodiments, the picking module 4552 is further configured to, after controlling the first virtual object to pick up the first virtual prop, in response to satisfying a discard condition, control the first virtual object to discard the first virtual prop; in response to a picking trigger operation for the first virtual prop in the virtual scene, control the second virtual object to pick up the first virtual prop; and in response to a trigger operation for the first virtual prop, control the second virtual object to perform an action sequence based on the first virtual prop.

[0256] In some embodiments, the discarding conditions include any one of the following: receiving a discard trigger operation for the first virtual item; the first virtual object holding the first virtual item completing a predetermined interaction task; the first virtual object holding the first virtual item for a predetermined duration; and a second virtual item existing at a position less than a distance threshold from the first virtual object.

[0257] In some embodiments, the control module 4553 is further configured to display a plurality of usage mode controls for the first virtual prop, wherein a usage mode control is used to characterize a usage mode of the first virtual prop, and a usage mode includes a sequence of actions for using the first virtual prop; in response to a trigger operation on the first usage mode control, the control module 4553 controls the first virtual object to perform the sequence of actions included in the triggered first usage mode based on the first virtual prop.

[0258] In some embodiments, the usage mode includes any of the following: using the first virtual prop to attack, using the first virtual prop to defend, and using the first virtual prop to both defend and counterattack.

[0259] In some embodiments, an object action template is pre-set for the first virtual object, and an item action template is pre-set for the first virtual item; the control module 4553 is further configured to combine at least one object action in the object action template and at least one item action in the item action template into an action sequence.

[0260] In some embodiments, the control module 4553 is further configured to perform any one of the following processes: when the object action template is used to implement multiple first skills and the prop action template is used to implement multiple second skills, combining the object action in the object action template used to implement at least one first skill and the prop action in the prop action template used to implement at least one second skill into an action sequence; when the object action template is used to implement a third skill and the prop action template is used to implement a fourth skill, combining at least one object action in the object action template used to implement the third skill and at least one prop action in the prop action template used to implement the fourth skill into an action sequence.

[0261] In some embodiments, the types of object actions in the object action template include representative actions and general actions. The representative action is an action that reflects the character characteristics of the first virtual object, and the general action is an action that is applicable to multiple virtual objects. The control module 4553 is also used to remove at least one object action that is not a representative action from the object action template, and insert a prop action in the prop action template that is in the same position as the object action that was removed at the position where the object action was removed, to obtain an action sequence.

[0262] In some embodiments, the control module 4553 is further configured to, in response to a marking operation for at least one object action in the object action template, display a marking result, wherein the marking result indicates whether the object action is in a retained state or a non-retained state; and, in response to a composition operation, replace the object action in the object action template that is in a non-retained state with a prop action in the prop action template that is in the same position as the object action in a non-retained state, to obtain an action sequence.

[0263] In some embodiments, the control module 4553 is further configured to, in response to a selection operation for at least one object action in the object action template, control the selected at least one object action to be in a selected state; in response to a selection operation for at least one prop action in the prop action template, control the selected at least one prop action to be in a selected state; and in response to a synthesis operation, synthesize the selected at least one prop action and at least one object action to obtain an action sequence.

[0264] In some embodiments, an object action template is pre-set for the first virtual object, and an item action template is pre-set for the first virtual item; the control module 4553 is further configured to merge each object action in the object action template with the item action in the item action template that is in the same position as the object action to obtain an action.

[0265] In some embodiments, object actions are represented by first skeletal data, and prop actions are represented by second skeletal data; the control module 4553 is further configured to extract object action features from the first skeletal data and prop action features from the second skeletal data; determine a first weight of the object action features and a second weight of the prop action features; and based on the first weight and the second weight, fuse the object action with prop actions in the prop action template that are in the same position as the object action to obtain an action.

[0266] In some embodiments, the control module 4553 is further configured to perform attention encoding based on the role characteristics of the first virtual object and the prop characteristics of the first virtual prop to obtain a first weight of the object action characteristics and a second weight of the prop action characteristics; or, to display a weight editing control, and in response to an editing operation on the weight editing control, to display the first weight of the object action characteristics and the second weight of the prop action characteristics.

[0267] In some embodiments, the control module 4553 is further configured to control the first virtual object to perform multiple actions included in the action sequence, wherein, for any two adjacent actions, if the magnitude of the action change between the two actions is greater than a magnitude threshold, then between the two actions, the first virtual object is controlled to perform at least one transitional action.

[0268] In some embodiments, object actions are represented by the skeletal data of a first bone, and prop actions are represented by the skeletal data of a second bone; the control module 4553 is further configured to match the first bone point of the first bone with the second bone point of the second bone to obtain a first matching result; based on the first matching result, map the skeletal data of the second bone onto the first bone; and based on the pose of the second bone point of the second bone, adjust the first bone point of the first bone at least once according to a set adjustment range to obtain skeletal data of at least one transitional action, wherein the skeletal data of at least one transitional action is used to control the first virtual object to perform at least one transitional action.

[0269] In some embodiments, the picking module 4552 is further configured to control the first virtual object to perform multiple intermediate actions of the picking process starting from the state where the first virtual object is not picking up the first virtual item, and after performing the intermediate actions, control the first virtual object to be in the state where it has picked up the first virtual item.

[0270] In some embodiments, the intermediate actions conform to the character characteristics of the first virtual object; the preceding action of each intermediate action is represented by the bone data of the third bone, and the following action of each intermediate action is represented by the bone data of the fourth bone; the picking module 4552 is further configured to match the third bone point of the third bone with the fourth bone point of the fourth bone to obtain a second matching result; according to the second matching result, map the bone data of the fourth bone onto the third bone; according to the pose of the fourth bone point of the fourth bone, adjust the third bone point of the third bone at least once according to a set adjustment range to obtain bone data of at least one intermediate action, wherein the bone data of at least one intermediate action is used to control the first virtual object to perform at least one intermediate action of multiple picking processes.

[0271] In some embodiments, the control module 4553 is further configured to display an action configuration control for a first virtual prop, wherein the action configuration control includes a plurality of actions included in the action sequence, and the actions are any one of prop actions and object actions; in response to a configuration operation for any one action, the updated action sequence is displayed, wherein the updated action sequence is used to replace the previous action sequence.

[0272] In some embodiments, the picking conditions include any one of the following: receiving a trigger operation for a picking control in a virtual scene; the distance between the first virtual object and the first virtual prop is less than a threshold, and the first virtual object does not currently hold the first virtual prop; the distance is less than a threshold, and the performance parameters of the currently held second virtual prop are less than those of the first virtual prop; the distance is less than a threshold, and the first virtual prop is compatible with the currently interacting second virtual object; the distance is less than a threshold, and the first virtual prop is compatible with the environment in which the first virtual prop is currently located.

[0273] This application provides a computer program product, which includes a computer program or computer-executable instructions stored in a computer-readable storage medium. The processor of an electronic device reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, causing the electronic device to perform the virtual scene interaction processing method described above in this application.

[0274] This application provides a computer-readable storage medium storing computer-executable instructions or a computer program. When the computer-executable instructions or the computer program are executed by a processor, the processor will execute the interactive processing method for a virtual scene provided in this application. For example... Figure 3A The interactive processing method for the virtual scene is shown.

[0275] In some embodiments, the computer-readable storage medium may be a memory such as RAM, ROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a variety of devices including one or any combination of the above-mentioned memories.

[0276] In some embodiments, computer-executable instructions may take the form of programs, software, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.

[0277] As an example, computer-executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple co-located files (e.g., files that store one or more modules, subroutines, or code sections).

[0278] As an example, computer-executable instructions can be deployed to execute on a single electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed across multiple locations and interconnected via a communication network.

[0279] In summary, in this embodiment of the application, when the picking conditions are met, the first virtual object in the virtual scene can be controlled to pick up the first virtual item. When the first virtual object picks up the first virtual item, the first virtual object can be triggered to perform an action sequence based on the first virtual item. This allows the action sequence performed during the interaction between the virtual object and the virtual item to retain both the object action of the virtual object and the item action of the virtual item, thereby improving the diversity and adaptability of actions during the interaction between the virtual object and the virtual item, and thus enhancing the player's experience.

[0280] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.

Claims

1. A method for interactive processing of virtual scenes, characterized in that, The method includes: Displaying a virtual scene, wherein the virtual scene includes at least one virtual object; In response to the fulfillment of the picking conditions, the first virtual object is controlled to pick up the first virtual prop, wherein the first virtual object is any one of the virtual objects in the virtual scene; In response to a trigger operation on the first virtual prop, the first virtual object is controlled to perform an action sequence based on the first virtual prop, wherein the action sequence includes prop actions adapted to the first virtual prop and object actions adapted to the first virtual object.

2. The method according to claim 1, characterized in that, The action sequence includes multiple action combinations, each action combination including one or more actions, and each action combination is used to implement a skill, the type of which is adapted to the characteristics of the first virtual prop.

3. The method according to claim 2, characterized in that, The adaptation methods include: When the type of the skill is a normal attack skill, the attack power of the normal attack skill is positively correlated with the attack parameters of the first virtual item, and the normal attack skill is a skill whose damage value is lower than the damage threshold; When the type of the skill is a defensible attack skill, the attack power of the defensible attack skill is positively correlated with the defense parameters of the first virtual item; When the type of the skill is an undefendable attack skill, the attack power of the undefendable attack skill is positively correlated with the attack parameters of the first virtual item; When the skill type is a defensive skill, the evasion capability of the defensive skill is positively correlated with the protection range of the first virtual item.

4. The method according to claim 1, characterized in that, After controlling the first virtual object to pick up the first virtual item, the method further includes: In response to the fulfillment of the discard condition, the first virtual object is controlled to discard the first virtual item; In response to a pickup trigger operation for the first virtual prop in the virtual scene, control the second virtual object to pick up the first virtual prop; In response to a trigger operation on the first virtual prop, the second virtual object is controlled to perform the action sequence based on the first virtual prop.

5. The method according to claim 4, characterized in that, The discard conditions include any of the following: A discard trigger operation was received for the first virtual item; The first virtual object, holding the first virtual item, completed the predetermined interactive task; The first virtual object holds the first virtual item for a predetermined duration; A second virtual object exists at a position less than a distance threshold from the first virtual object.

6. The method according to claim 1, characterized in that, The control of the first virtual object to perform an action sequence based on the first virtual prop includes: Display multiple usage mode controls for the first virtual item, wherein one of the usage mode controls is used to characterize a usage mode of the first virtual item, and the usage mode includes a sequence of actions for using the first virtual item; In response to a trigger operation on a first usage mode control, the first virtual object is controlled to perform the action sequence included in the triggered first usage mode based on the first virtual item.

7. The method according to claim 6, characterized in that, The usage mode includes any of the following: using the first virtual item to attack, using the first virtual item to defend, and using the first virtual item to both defend and counterattack.

8. The method according to claim 1 or 6, characterized in that, An object action template is pre-set for the first virtual object, and an item action template is pre-set for the first virtual item; Before controlling the first virtual object to perform an action sequence based on the first virtual prop, the method further includes: The action sequence is formed by combining at least one object action from the object action template and at least one prop action from the prop action template.

9. The method according to claim 8, characterized in that, The step of combining at least one object action from the object action template and at least one prop action from the prop action template into the action sequence includes: Perform any of the following processes: When the object action template is used to perform multiple first skills and the prop action template is used to perform multiple second skills, the object action in the object action template used to perform at least one first skill and the prop action in the prop action template used to perform at least one second skill are combined into the action sequence. When the object action template is used to perform a third skill and the prop action template is used to perform a fourth skill, at least one object action in the object action template used to perform the third skill and at least one prop action in the prop action template used to perform the fourth skill are combined into the action sequence.

10. The method according to claim 8, characterized in that, The object action template includes representative actions and general actions. The representative actions are those that reflect the character characteristics of the first virtual object, and the general actions are those that are applicable to multiple virtual objects. The step of combining at least one object action from the object action template and at least one prop action from the prop action template into the action sequence includes: Remove at least one object action from the object action template that is not the representative action, and insert a prop action from the prop action template that is in the same position as the removed object action at the position where the object action was removed, to obtain the action sequence.

11. The method according to claim 8, characterized in that, The step of combining at least one object action from the object action template and at least one prop action from the prop action template into the action sequence includes: In response to a marking operation for at least one of the object actions in the object action template, a marking result is displayed, wherein the marking result indicates whether the object action is in a retained state or a non-retained state; In response to the composition operation, the object action in the object action template that is in the non-retained state is replaced with the prop action in the prop action template that is in the same position as the object action in the non-retained state, to obtain the action sequence.

12. The method according to claim 8, characterized in that, The step of combining at least one object action from the object action template and at least one prop action from the prop action template into the action sequence includes: In response to a selection operation for at least one object action in the object action template, control the at least one selected object action to be in a selected state; In response to a selection operation for at least one item action in the item action template, control the at least one selected item action to be in a selected state; In response to the compositing operation, at least one of the selected prop actions and at least one of the selected object actions are combined to obtain the action sequence.

13. The method according to any one of claims 1 to 6, characterized in that, An object action template is pre-set for the first virtual object, and an item action template is pre-set for the first virtual item; Before controlling the first virtual object to perform an action sequence based on the first virtual prop, the method further includes: Each object action in the object action template is merged with the prop action in the prop action template that is in the same position as the object action to obtain the action.

14. The method according to claim 13, characterized in that, The object's actions are represented by first skeletal data, and the prop's actions are represented by second skeletal data; The step of fusing each object action in the object action template with the prop action in the prop action template that is in the same position as the object action to obtain the action includes: Extract the object motion features from the first skeletal data and the prop motion features from the second skeletal data; Determine the first weight of the object's motion features and the second weight of the prop's motion features; Based on the first weight and the second weight, the object action is merged with the prop action in the prop action template that is in the same position as the object action to obtain the action.

15. The method according to claim 14, characterized in that, The determination of the first weight of the object's motion features and the second weight of the prop's motion features includes: Based on the character characteristics of the first virtual object and the item characteristics of the first virtual prop, attention encoding is performed to obtain a first weight for the object's action characteristics and a second weight for the prop's action characteristics; or... Display a weight editing control, and in response to an editing operation on the weight editing control, display a first weight of the object's action feature and a second weight of the prop's action feature.

16. The method according to any one of claims 1 to 6, characterized in that, The control of the first virtual object to perform an action sequence based on the first virtual prop includes: The first virtual object is controlled to execute multiple actions included in the action sequence. For any two adjacent actions, if the change in the action between the two actions is greater than a threshold, then the first virtual object is controlled to perform at least one transitional action between the two actions.

17. The method according to claim 16, characterized in that, The object's actions are represented by the skeletal data of the first skeleton, and the prop's actions are represented by the skeletal data of the second skeleton. Before controlling the first virtual object to perform at least one transitional action between the two actions, the method further includes: Match the first bone point of the first bone with the second bone point of the second bone to obtain the first matching result; Based on the first matching result, the skeletal data of the second bone is mapped onto the first bone; Based on the pose of the second bone point of the second bone, the first bone point of the first bone is adjusted at least once according to a set adjustment range to obtain bone data for at least one transitional action, wherein the bone data for at least one transitional action is used to control the first virtual object to perform at least one transitional action.

18. The method according to any one of claims 1 to 6, characterized in that, The control of the first virtual object to pick up the first virtual item includes: Starting from the state where the first virtual object has not picked up the first virtual item, the system controls the first virtual object to perform multiple intermediate actions in the picking process, and after performing the intermediate actions, the system controls the first virtual object to be in the state where it has picked up the first virtual item.

19. The method according to claim 18, characterized in that, The intermediate actions conform to the character characteristics of the first virtual object; the preceding action of each intermediate action is represented by the skeletal data of the third bone, and the following action of each intermediate action is represented by the skeletal data of the fourth bone. Before the intermediate actions of controlling the first virtual object to perform multiple picking processes, the method further includes: The third bone point of the third bone is matched with the fourth bone point of the fourth bone to obtain a second matching result; Based on the second matching result, the bone data of the fourth bone is mapped onto the third bone; Based on the pose of the fourth bone point of the fourth bone, the third bone point of the third bone is adjusted at least once according to a set adjustment range to obtain bone data of at least one intermediate action, wherein the bone data of at least one intermediate action is used to control the first virtual object to perform at least one intermediate action of multiple picking processes.

20. The method according to any one of claims 1 to 6, characterized in that, Before controlling the first virtual object to perform an action sequence based on the first virtual prop, the method further includes: Displays an action configuration control for the first virtual prop, wherein the action configuration control includes multiple actions included in the action sequence, and the action is any one of the prop action and the object action; In response to a configuration operation for any of the actions, an updated action sequence is displayed, wherein the updated action sequence replaces the original action sequence.

21. The method according to any one of claims 1 to 6, characterized in that, The picking conditions include any one of the following: A trigger operation was received for the pickup control in the virtual scene; The distance between the first virtual object and the first virtual item is less than a threshold, and the first virtual object does not currently possess the first virtual item; The distance is less than the threshold, and the performance parameters of the currently held second virtual item are less than those of the first virtual item; The distance is less than the threshold, and the first virtual prop is compatible with the currently interacting second virtual object; The distance is less than the threshold, and the first virtual item is compatible with the environment in which the first virtual item is currently located.

22. An interactive processing device for a virtual scene, characterized in that, The device includes: A display module is used to display a virtual scene, wherein the virtual scene includes at least one virtual object; A picking module is used to control a first virtual object to pick up a first virtual prop in response to the fulfillment of picking conditions, wherein the first virtual object is any one of the virtual objects in the virtual scene; A control module is configured to respond to a trigger operation on the first virtual prop and control the first virtual object to perform an action sequence based on the first virtual prop, wherein the action sequence includes prop actions adapted to the first virtual prop and object actions adapted to the first virtual object.

23. An electronic device, characterized in that, The electronic device includes: Memory is used to store executable instructions or computer programs. A processor, when executing computer-executable instructions or computer programs stored in the memory, implements the interactive processing method of the virtual scene as described in any one of claims 1 to 21.

24. A computer-readable storage medium storing computer-executable instructions or a computer program, characterized in that, When the computer-executable instructions or computer program are executed by a processor, they implement the interactive processing method of the virtual scene as described in any one of claims 1 to 21.

25. A computer program product comprising computer-executable instructions or a computer program, characterized in that, When the computer-executable instructions or computer program are executed by a processor, they implement the interactive processing method of the virtual scene as described in any one of claims 1 to 21.