Virtual scene interaction method and apparatus

By generating a domain space that matches attributes and automatically changing the state of virtual scene environment objects, the problem of limited interaction of static objects is solved, achieving efficient and flexible multi-directional interaction and low-cost dynamic response, thus improving the freedom of the virtual scene and system performance.

CN123127686APending Publication Date: 2026-11-20GUANGZHOU KURO BINARIA TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611273914.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-21
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

The lack of dynamic responsiveness of scene environment objects in virtual scenes leads to limited interaction dimensions, excessive resource redundancy and state management burden, and high costs for users to explore and solve puzzles.

Method used

By generating a domain space that matches the attributes of virtual objects, the natural state of scene environment objects is automatically detected and changed. Dynamic interaction is achieved by utilizing the domain effect. The state changes are completed in memory and do not require persistent storage.

Benefits of technology

It expands the interactive functions and dimensions of environmental objects, reduces resource consumption and state management burden, and improves the freedom and system efficiency of virtual scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123127686A_ABST
    Figure CN123127686A_ABST
Patent Text Reader

Abstract

The application relates to a virtual scene interaction method and device. The method comprises the following steps: in response to a field unfolding event, generating a field space capable of moving along with a virtual object for the virtual object in a virtual scene according to a target affinity attribute of a preassembled virtual prop; determining a scene environment object in the virtual scene entering the field space and matching the target affinity attribute as an attribute affinity object; and applying a field effect of the target affinity attribute to the attribute affinity object to change a natural state of the attribute affinity object in the virtual scene. The application can expand the environment interaction dimension of the virtual scene, reduce resource consumption, and improve operation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of human-computer interaction technology, and in particular to a virtual scene interaction method and apparatus. Background Technology

[0002] In virtual scene interaction technologies, whether in games, metaverses, augmented reality, or virtual reality applications, the design of interaction logic typically focuses on objects with proactive behavioral capabilities, such as characters, resources, or hostile targets. For example, in the gaming field, technical solutions generally focus on combat, companionship, or buff interactions between player characters and monsters, NPCs, pets, or equipment. This might involve automatically detecting hostile targets by scanning areas and switching resource behavior modes, or applying debuffs to enemy targets by throwing skill objects for recycling. In these solutions, environmental objects in the scene, such as walls, vegetation, terrain, and mechanism bases, are usually designed as static background elements or have only preset fixed functions, such as acting as obstacles to block passage or as decorative elements to fill the scene. These environmental objects in traditional technologies lack dynamic responsiveness and cannot spontaneously change their state based on the user's current attribute configuration or interaction intent.

[0003] The essence of the aforementioned technical design lies in the fact that scene environment objects are assumed to be static entities without interactive potential. User interaction with these objects is limited to pre-defined one-way operations, such as using specific tools to destroy a type of obstacle, and these operations are usually irreversible. This design limits the interactive dimensions of the virtual scene, making the environment objects functionally singular and unable to support diverse interactive results through different attribute configurations. Furthermore, since changes to environment objects are often permanent, users incur high trial-and-error costs during exploration and puzzle-solving. Once an incorrect environment change is triggered, it is difficult to recover, inhibiting users' enthusiasm for creative experimentation. In addition, from a computer performance perspective, traditional technologies typically require pre-setting independent scene resources or state copies for each attribute combination to realize the impact of different attributes on different environment objects. This results in high resource consumption, long loading times, and the need for persistent storage and rollback operations for state changes, increasing the system's operational burden.

[0004] Therefore, how to expand the interactive functions and dimensions of the originally static scene environment objects in virtual scenes, while reducing resource redundancy and state management burden caused by the combination of multiple attributes, has become a technical problem to be solved in this field. Summary of the Invention

[0005] The purpose of this application is to solve the above-mentioned problems by providing a virtual scene interaction method and corresponding devices, equipment, non-volatile readable storage media, and computer program products.

[0006] According to one aspect of this application, a virtual scene interaction method is provided, comprising: In response to a domain expansion event, a domain space capable of moving with the virtual object is generated for the virtual object in the virtual scene based on the target affinity attribute of the pre-assembled virtual props. The scene environment object that enters the domain space in the virtual scene and matches the target affinity attribute is identified as the attribute affinity object; The domain effect of the target affinity attribute is applied to the attribute affinity object to change the natural state of the attribute affinity object in the virtual scene.

[0007] According to another aspect of this application, a virtual scene interaction device is provided, comprising: The domain expansion module is configured to respond to a domain expansion event and generate a domain space for virtual objects in a virtual scene that can move with the virtual objects based on the target affinity attributes of pre-assembled virtual props. The object matching module is configured to identify scene environment objects in the virtual scene that enter the domain space and match the target affinity attribute as attribute affinity objects. The effect application module is configured to apply the domain effect of the target affinity attribute to the attribute affinity object in order to change the natural state of the attribute affinity object in the virtual scene.

[0008] According to another aspect of this application, an electronic device is provided, including a central processing unit and a memory, wherein the central processing unit is configured to invoke and run a computer program stored in the memory to perform the steps of the method described in this application.

[0009] According to another aspect of this application, a non-volatile readable storage medium is provided, which stores a computer program implemented according to the virtual scene interaction method in the form of computer-readable instructions, wherein the computer program, when invoked by a computer, executes the steps included in the method.

[0010] According to another aspect of this application, a computer program product is provided, comprising a computer program / instructions that, when executed by a processor, implement the steps of the method.

[0011] This application enables scene environment objects, previously considered static background elements, to dynamically change their state based on user attribute configurations. This transforms the traditional one-way, fixed interaction between the user and the static environment into a multi-way, flexible interaction through attribute configuration, significantly expanding the interactive functionality and dimensions of environment objects in virtual scenes. Furthermore, because the state changes of environment objects can be made temporary and reversible, users can repeatedly experiment with different interaction strategies with low risk, enhancing the freedom and playability of virtual scenes. In addition, this application achieves state changes under different attributes through real-time calculation at the logic layer, eliminating the need to pre-define independent scene resources for each attribute combination, reducing memory usage and disk I / O overhead. Moreover, since state changes are completed in memory, there is no need for persistent storage or rollback operations, improving system efficiency and stability. Attached Figure Description

[0012] Figure 1 This is an exemplary network architecture used in this application to run the game; Figure 2 This is a flowchart illustrating one embodiment of the virtual scene interaction method of this application; Figure 3 A graphical user interface for a game scene exemplified in this application is shown, in which the domain space of virtual objects and the scene environment objects are highlighted; Figure 4 This is a schematic diagram of the virtual scene interaction device of this application; Figure 5 This is a schematic diagram of the structure of an electronic device used in this application. Detailed Implementation

[0013] The technical solution of this application can be deployed on client computing devices that run various graphical user interface applications, and is especially suitable for applications that need to realize automated interaction between users and scene environment objects based on attribute affinity in virtual scenes, such as exploration and puzzle-solving systems in open-world games, environment editing tools in metaverse space, virtual and real fusion interaction modules in augmented reality applications, and natural interaction interfaces in virtual reality scenes.

[0014] Figure 1Taking a game scenario as an example, an exemplary network architecture is illustrated. In this architecture, a business server 81 connects to multiple clients 80 via a network. Each client 80 deploys a computer program product implementing the virtual scene interaction method according to this application. When this computer program product is run, it is responsible for performing front-end interaction and real-time computing tasks. The business server 81 is responsible for managing the state of the virtual scene, including synchronizing the assembly data of virtual objects such as user characters, managing the state of the domain space, and maintaining the natural state of scene environment objects. The data server 82 is responsible for collecting and storing the interaction data of all users on the server, and based on this data, aggregating and statistically analyzing the usage of virtual objects and attribute items to generate a domain effect configuration scheme sorted by usage frequency. This scheme is pushed or invoked by the business server 81, and ultimately obtained by the client 80 by sending a request to the business server 81. The client 80 communicates with the business server 81 via the network, receives the domain effect configuration scheme, and sends user operation instructions.

[0015] In terms of application scenarios, the technical solution of this application is applicable to various types of virtual scenarios, especially human-computer interaction virtual scenarios, including but not limited to game scenarios, augmented reality scenarios, virtual reality scenarios, metaverse scenarios, etc. For game scenarios, this technical solution is particularly suitable for games that require attributed environmental interaction in open worlds. For example, in role-playing games and open-world games, users can obtain attribute items by exploring or completing tasks, equip these attribute items to virtual objects, and give the virtual objects the ability to expand a specific attribute domain space in the virtual scene. Through the technical solution of this application, the game system can automatically generate a domain space that follows the movement of virtual objects based on pre-equipped, such as the target affinity attribute of virtual items pre-equipped by the user, and automatically detect whether the scene environment object entering the domain space matches the target affinity attribute. When a match is found, the domain effect is applied to the scene environment object to change its natural state in the virtual scene, eliminating the tedious process of users manually identifying environment objects, switching items, and aiming and releasing them, thus improving interaction efficiency and exploration experience. It should be noted that the virtual object in this application can be different virtual characters. For example, it can be a virtual character with an independent identity provided by the system to the user, such as the user using a user character to participate in exploration and puzzle-solving in the game system as a player. It can also be a virtual character used by the system to directly refer to the user's personal identity, such as the user participating in environmental editing in a virtual reality scene with their own image.

[0016] The client in this application can be a personal computer, game console, mobile terminal, or tablet computer, etc., and the operating system or application framework running on it provides the basic capabilities for interface rendering and user input processing. The domain space generation and interactive computing process executed locally on the client, including listening for domain expansion events, generating and moving the domain space, affinity detection of scene environment objects, determining attribute affinity objects, and the application of domain effects, is completed entirely within the client and does not rely on real-time communication with the business server, thereby ensuring the speed and smoothness of interactive response.

[0017] In this application, virtual props refer to equipable items with target affinity attributes, such as boxes in a game system, which carry specific attribute types, such as fire, water, or wood. Target affinity attributes can be represented as attribute type identifiers carried by the virtual prop, determining the attribute label of the domain space and the type of domain effect. Domain space is a spatial region with attribute labels generated in response to domain unfolding events, moving with the virtual object. Scene environment objects within this region will be automatically detected to determine whether they match the target affinity attribute.

[0018] In this application, the scene environment object refers to the environmental entity in a virtual scene, excluding virtual objects and game objects with autonomous behavioral logic. It can be defined from multiple dimensions.

[0019] From the perspective of spatial anchoring, scene environment objects include fixed objects with fixed spatial locations and non-fixed objects with variable spatial locations. Fixed objects, such as terrain, building structures, and fixed mechanisms, maintain their spatial locations in the virtual scene; non-fixed objects, such as movable vegetation, loose debris, and floating objects, can change their spatial locations within the scene.

[0020] From the perspective of behavioral autonomy, scene environment objects include purely static objects with no behavioral logic and semi-dynamic objects with only preset physical behavioral logic. Purely static objects, such as walls, terrain, and rocks, do not contain any behavioral logic themselves; semi-dynamic objects, such as rotating windmills, swaying suspension bridges, and floating fragments of souls, have preset physical motion laws, but these motion laws are not autonomous behavioral logic, but rather periodic or conditional movements pre-set by the scene design.

[0021] From the perspective of native interaction, scene environment objects include decorative objects that are originally completely non-interactive and objects that only have fixed one-way interaction functions. Completely non-interactive objects, such as decorative grass and distant rocks, cannot be interacted with by users when not affected by the domain effect; fixed one-way interactive objects, such as destructible fences and pushable stones, only support a preset single interaction method when not affected by the domain effect.

[0022] In a typical game scenario, environmental objects can include architectural structures such as walls, broken walls, fences, and stone gates; vegetation such as trees, vines, grass, and flowers; mechanical components such as windmills, suspension bridges, lifting platforms, and rotating shafts; loose accumulations such as piles of rubble, sand, and ice; and suspended objects such as soul fragments, energy orbs, and floating runes. Those skilled in the art will understand that the above examples are merely illustrative; any environmental entity that does not possess autonomous behavioral logic and whose state can be altered by domain effects should fall within the scope of environmental objects.

[0023] The attribute affinity object in this application is a scene environment object that matches the target affinity attribute after entering the domain space through affinity detection, and is the object on which the domain effect is applied. The domain effect is the interaction rule corresponding to the target affinity attribute, such as the deconstruction effect and reconstruction effect corresponding to the fire attribute, the stagnation effect corresponding to the water attribute, and the proliferation effect corresponding to the wood attribute, which are used to change the natural state of the attribute affinity object in the virtual scene.

[0024] In this application, "natural state" refers to the state presented by scene environment objects according to the internal logic of the program. Natural states include native states and temporary states. A native state refers to the initial, baseline physical or existential state of a scene environment object when it is not affected by any domain effects. A temporary state refers to the derived state presented by a scene environment object after being affected by domain effects and changing according to the internal logic of the program. Native and temporary states are relative. A native state can be a native appearance state, a native motion state, a native collision state, or a native existential state; a temporary state is a derived appearance state, a derived motion state, a derived collision state, or a derived existential state corresponding to the native state. For example, when the native state is the complete, upright state of a wall, the temporary state can be the fragmented state after the wall collapses and dissipates; when the native state is the uniform rotation state of a windmill, the temporary state can be the static state after the windmill is frozen; when the native state is the short, clinging state of vines, the temporary state can be the lush state after the vines have grown. All internal logical states presented by scene environment objects in a virtual scene should fall within the scope of natural states.

[0025] In this application, apparent state refers to the visually visible state of an object in a virtual scene, including its material, texture, color, lighting, transparency, and other visual attributes. Apparent state can be associated with or independent of the natural state. For example, when an object with attribute affinity loses its collision attribute due to a deconstruction effect, its natural state changes from its original state to a temporary state, while its apparent state is presented as a shattering and dissipating visual effect through domain effects. When a dependent object is constructed as a temporary scene object, its natural state may not change, but its apparent state is presented as a vine texture or halo effect through domain effects to indicate the change in its functional attributes to the user. Changes in apparent state are used to provide users with intuitive visual feedback, enabling them to perceive the process and result of domain effects.

[0026] Specifically, when a user triggers a domain expansion event, the client generates a domain space centered on the virtual object and moving with it, based on the target affinity attribute of the virtual items currently equipped on the virtual object. This domain space has visual effects corresponding to the target affinity attribute, such as a fiery halo for fire, ice crystals for water, or emerald glow for wood. Subsequently, the client continuously monitors scene environment objects entering this domain space in the virtual scene, determining whether they match the target affinity attribute. When a matching scene environment object is detected, it is identified as an attribute affinity object, and the domain effect corresponding to the target affinity attribute is applied to this attribute affinity object to change its natural state in the virtual scene. For example, when the target affinity attribute is fire, the domain effect can cause the affinity object to lose its collision attribute for deconstruction, or regain its collision attribute for reconstruction; when the target affinity attribute is water, the domain effect can pause the movement of the affinity object for stasis; and when the target affinity attribute is wood, the domain effect can increase the size or number of the affinity object for proliferation. After the domain unfolding event ends, the altered affinity object automatically reverts to its original state. The entire process is completed in the client's local memory, without the need for persistent storage or rollback operations.

[0027] Through this automated domain space generation, affinity detection, and domain effect mechanism, this application not only eliminates the need for manual identification and operation when users interact with environmental objects in virtual scenes, but also enables the originally static scene environment objects to have dynamic responsiveness by deeply coupling the attribute system with environmental interaction. Furthermore, since state changes are completed in memory and are reversible, there is no need to pre-allocate independent scene resources for each attribute combination, significantly reducing resource consumption and state management burden.

[0028] After providing a general overview of the technical architecture, application scenarios, and basic concepts of this application, the specific implementation methods of this application will be described in detail below with reference to the accompanying drawings.

[0029] Please see Figure 2 The virtual scene interaction method of this application can be installed and run on a computer program product on an electronic device used by a player as a client. In some embodiments, it includes the following steps: Step S3100: In response to the domain expansion event, generate a domain space for virtual objects in the virtual scene that can move with the virtual objects according to the target affinity attributes of the pre-assembled virtual props. In one embodiment, when a virtual object explores a virtual scene, it can prepare for the subsequent expansion of its domain space by pre-equipping virtual props with target affinity attributes. Virtual props can be attribute cores obtained by the virtual object through exploration, completing tasks, or defeating specific targets, carrying specific target affinity attributes such as fire, water, or wood. The virtual object can equip the virtual prop into a preset carrier it holds, such as a special piece of equipment called a "Love Lock." The virtual prop is activated by embedding it into a slot in the Love Lock or dragging it into a designated interactive device in the virtual scene. Once the virtual object has completed the assembly and activation of the virtual prop, it can respond to user triggering operations on designated interactive buttons, such as pressing a shortcut key on the graphical user interface or a corresponding button on a keyboard or gamepad, generating a domain expansion event.

[0030] In response to the domain expansion event, the client generates a domain space for the virtual object in the virtual scene based on the target affinity attribute of the virtual props currently equipped with the virtual object. This domain space has an attribute label corresponding to the target affinity attribute; for example, when the target affinity attribute of the virtual prop is fire, the domain space is labeled as a fire domain; when the target affinity attribute is water, the domain space is labeled as a water domain; and when the target affinity attribute is wood, the domain space is labeled as a wood domain. This domain space is configured to move with the virtual object in the virtual scene; that is, the center position of the domain space remains relatively fixed with the current position of the virtual object and moves synchronously with the virtual object. The shape and size of the domain space can vary depending on the type of virtual prop or the target affinity attribute; for example, it can be a spherical region centered on the virtual object. Figure 3 The domain space 50, a sector or rectangular area, can be a three-dimensional area or a two-dimensional area attached to the ground. Its radius or side length can be preset according to the actual game design requirements.

[0031] When a domain is generated, it may be accompanied by corresponding visual effects to intuitively demonstrate its attribute type and boundaries to the user. These visual effects may include, but are not limited to, halos or particle effects at the domain's boundaries, attribute marker patterns or color changes on the ground within the domain, and edge highlighting or material changes of objects in the scene environment within the domain. For example, when the target's affinity attribute is fire, the domain's boundary may display a fiery red halo, and flame patterns may appear on the ground; when the target's affinity attribute is water, the domain's boundary may be surrounded by ice-blue crystal clusters, and ripples or frost textures may appear on the ground; when the target's affinity attribute is wood, the domain's boundary may display a verdant glow, and vine or leaf textures may appear on the ground. These visual effects allow users to clearly perceive the existence and attribute type of the current domain, thereby guiding them to subsequent interactive operations.

[0032] In one embodiment, the domain expansion event can also be adaptively triggered based on the current ecological environment type of the virtual object. The client can first detect the current ecological environment type of the virtual object, such as forest, desert, aquatic, or lava ecosystems. Then, based on the detected ecological environment type, it automatically configures and displays the shortcut operation area of ​​virtual props that matches the current ecological environment type, allowing the user to trigger the domain expansion event. For example, when the virtual object is in a forest ecosystem, the client can place the shortcut operation area of ​​wood-attribute virtual props in an easily accessible position on the interface to adapt to scenarios with many wood-attribute compatible objects in this ecosystem; when the virtual object is in an aquatic ecosystem, the shortcut operation area of ​​water-attribute virtual props is given priority. This adaptive configuration allows users to quickly switch to the most suitable virtual props in different environments, improving the convenience and smoothness of interaction.

[0033] In one embodiment, the domain expansion event can be automatically generated based on environmental information in the virtual scene, without relying on active key presses by the user. The client continuously monitors the current ecological type of the virtual object's environment. When it detects that the virtual object has entered an area corresponding to a specific ecological type, such as a forest ecosystem, lava ecosystem, aquatic ecosystem, or relic ecosystem, it automatically triggers a domain expansion event matching that ecological type. Specifically, the client can determine the target affinity attribute corresponding to the current ecological type based on a preset mapping relationship between ecological types and target affinity attributes. Then, it automatically equips the virtual object with virtual props that have the target affinity attribute and generates the corresponding domain space. For example, when a virtual object enters a dense forest area, the client automatically identifies the current ecological type as a forest ecosystem, determines the target affinity attribute corresponding to this ecosystem as the wood attribute based on the preset mapping relationship, and then automatically equips the virtual object with wood attribute virtual props and expands the wood attribute domain space, allowing the virtual object to immediately obtain domain interaction capabilities adapted to the environment without any manual operation.

[0034] In one embodiment, the domain expansion event can also be automatically triggered based on the spatial relationship between the virtual object and a scene environment object with a target affinity attribute. The client can pre-set affinity attribute tags for scene environment objects with different affinity attributes in the virtual scene and continuously detect scene environment objects within a predetermined range around the virtual object. When a scene environment object with a target affinity attribute is detected entering a predetermined distance constraint range centered on the virtual object (e.g., the distance between the scene environment object and the virtual object is less than a preset threshold), the client can automatically trigger the domain expansion event, generating a domain space for the virtual object corresponding to the target affinity attribute. This predetermined distance constraint can be flexibly configured according to scene design requirements, for example, it can be set to different values ​​such as 5 meters, 10 meters, or 20 meters, or it can be set to the visible distance within the virtual object's field of vision. When the virtual object gradually approaches a broken wall with fire affinity, the client detects that the broken wall has entered the predetermined distance constraint range, automatically equips the virtual object with fire attribute virtual props, and expands the fire attribute domain space, allowing the virtual object to be ready to interact with the broken wall as it approaches it.

[0035] In one embodiment, the two automatic triggering methods described above can be combined. The client can simultaneously monitor the environmental ecology type and the distance constraints of scene environment objects, triggering a domain expansion event when either condition is met. For example, when a virtual object explores in a forest ecology, the client has automatically expanded a wood-attribute domain space based on the environmental ecology type; when the virtual object moves to the vicinity of a water source with water attribute affinity and the water source enters a predetermined distance constraint range, the client can automatically switch the domain space to a water-attribute domain space based on the distance constraint conditions to adapt to new interaction needs. This multi-condition automatic triggering mechanism can further reduce manual operation by the user, allowing the user to focus more on exploring the virtual scene itself without having to manage the opening and closing of the domain space.

[0036] In one embodiment, the domain expansion event can also be automatically triggered based on the task conditions currently undertaken by the virtual object. Various types of tasks can be set in the virtual scene, such as main tasks, side tasks, world tasks, or puzzle tasks. These tasks may include objective requirements related to interactions with specific attributes. The client can monitor the progress status of the virtual object's currently active tasks, and automatically trigger the domain expansion event corresponding to those task conditions when the task conditions are detected.

[0037] Specifically, task conditions may include, but are not limited to, the following: the virtual object reaches the target area specified by the task; the virtual object completes a dialogue with a specific task NPC; the virtual object obtains a key item specified by the task; the virtual object completes a prerequisite interaction step; or the virtual object enters a specific game stage defined by the task. When any one or more of these task conditions are met, the client can determine the target affinity attribute associated with that task condition based on the task configuration information, and then automatically equip the virtual object with virtual items that have that target affinity attribute, and generate the corresponding domain space.

[0038] For example, in a puzzle-solving task, the virtual object is required to use fire-attribute abilities to burn thorny vines blocking the path. When the virtual object accepts the task and arrives at the area where the thorny vines are located, the client detects that the location condition in the task has been met, automatically equips the virtual object with a fire-attribute virtual item, and expands the fire-attribute domain space, allowing the virtual object to immediately interact with the thorny vines without manually switching items. As another example, in a tutorial task, the virtual object is required to learn how to use wood-attribute abilities to make vegetation grow to climb higher places. After the virtual object completes a dialogue with the quest NPC, the client detects that the dialogue condition has been met, automatically expands the wood-attribute domain space, and simultaneously highlights nearby vines or trees with wood affinity in a visual manner, guiding the user to complete subsequent interactive operations.

[0039] In one embodiment, task condition triggering can work in conjunction with other triggering methods such as environment / ecological type triggering and distance constraint triggering. When multiple triggering conditions exist simultaneously, the client can determine the final triggering method based on preset priority rules. For example, task condition triggering can have a higher priority than environment / ecological type triggering to ensure that the virtual object's task flow is not interrupted by automatic environment switching during task execution; and when there are no active task conditions, environment / ecological type triggering or distance constraint triggering can serve as the default automatic triggering method, enabling the virtual object to obtain a smooth domain interaction experience during daily exploration. This collaborative design of multiple triggering mechanisms ensures both the determinism of interaction under task-oriented conditions and the flexibility of interaction in free exploration scenarios.

[0040] Step S3200: Determine the scene environment object that enters the domain space in the virtual scene and matches the target affinity attribute as the attribute affinity object; The client can employ various techniques to detect scene environment objects entering the domain space. In one embodiment, the client can perform collision detection or containment relationship determination based on the spatial coordinates of the scene environment object in the virtual scene and the spatial range of the domain space. Whenever the position of the domain space is updated as the virtual object moves, the client recalculates the spatial range covered by the current domain space and traverses all scene environment objects within that range to determine whether they are located inside the domain space. In another embodiment, the client can utilize the region triggers or volume detection components built into the virtual scene engine. When a scene environment object enters the trigger volume defined by the domain space, a detection event is automatically triggered, thereby achieving real-time capture of the entering object.

[0041] When a scene environment object is detected entering the domain space, the client further determines whether the scene environment object matches the target affinity attribute of the current domain space. This matching determination is based on the fact that scene environment objects in a virtual scene can be pre-assigned attribute affinity tags, which identify which attribute the object is affinity-to. For example, a broken wall can be assigned a fire attribute affinity tag, indicating its affinity for fire; a vine can be assigned a wood attribute affinity tag, indicating its affinity for wood; and a spinning windmill can be assigned a water attribute affinity tag, indicating its affinity for water. The client compares the attribute affinity tag carried by the scene environment object entering the domain space with the target affinity attribute of the current domain space. If they match, the scene environment object is determined to match the target affinity attribute; if they do not match, it is determined to be a mismatch, and no further processing is performed.

[0042] In one embodiment, the attribute affinity tags of scene environment objects can be manually set by the scene designer during the virtual scene design phase, for example, assigning fixed attribute affinity to specific walls, vegetation, or mechanisms. In another embodiment, attribute affinity tags can be automatically generated based on the material type, physical characteristics, or ecological area of ​​the scene environment object in the virtual scene. For example, scene environment objects made of wood can be automatically assigned a wood attribute affinity tag, scene environment objects made of metal can be automatically assigned a fire attribute affinity tag, and scene environment objects near water can be automatically assigned a water attribute affinity tag. In yet another embodiment, attribute affinity tags can be dynamically changed during game operation based on the interactive behavior of virtual objects or scene events. For example, an ordinary stone that originally had no attribute affinity may be assigned a fire attribute affinity tag after a scene event, thus being recognized and influenced by the fire attribute domain space in subsequent domain interactions.

[0043] When a client determines that a scene environment object entering the domain space matches a target affinity attribute, it designates that scene environment object as an attribute affinity object. The attribute affinity object is the target of subsequent domain effects, and the client will execute domain effects on it corresponding to the target affinity attribute. During the process of determining the attribute affinity object, the client can simultaneously record relevant information about the object, including but not limited to its unique identifier in the virtual scene, its current location coordinates, and its current natural state parameters, so that it can accurately locate and manipulate the object when executing domain effects later.

[0044] In one embodiment, to visually demonstrate to the user which scene environment objects have been identified as attribute-affinity objects, the client can highlight a matching scene environment object visually when it is detected. The highlighting method may include, but is not limited to, making the object's edges glow, changing the object's color or transparency, adding a halo or particle effects around the object, or making the object's material pulsate or flicker. Figure 3 The plants 60 with target affinity attributes shown are highlighted. This highlighting allows users to clearly perceive which environmental objects within the current domain are available for interaction, enabling them to make appropriate decisions.

[0045] While this application can automatically highlight scene environment objects with target affinity attributes when scene environment objects exist in a virtual scene, other implementation possibilities can be reserved for user interaction experience. Accordingly, in one embodiment, after the client detects and highlights a matching scene environment object, it may not immediately identify it as an attribute affinity object, but instead wait for user confirmation. The user can select one or more of the highlighted scene environment objects as attribute affinity objects by clicking, touching, or hovering the cursor. In response to the user's selection, the client formally identifies the selected scene environment objects as attribute affinity objects and applies the domain effect only to these selected objects. This user-participatory confirmation mechanism allows the user to autonomously select the interaction target from multiple matching objects, which is suitable for scenarios requiring precise control of the interaction objects.

[0046] In one embodiment, when multiple scene environment objects with matching target affinity attributes exist simultaneously within the domain space, the client can determine one or more of them as attribute affinity objects according to a preset priority rule. The priority rule can be determined based on various factors, such as the distance between the scene environment object and the virtual object, the type priority of the scene environment object, the importance of the scene environment object in the current task, and the order in which the scene environment objects entered the domain space. For example, the client can prioritize determining the matching object closest to the virtual object as the attribute affinity object, or prioritize determining the matching object of type "mechanism" as the attribute affinity object. This automatic priority sorting mechanism can intelligently select the most suitable interaction object without user intervention.

[0047] Step S3300: Apply the domain effect of the target affinity attribute to the attribute affinity object to change the natural state of the attribute affinity object in the virtual scene.

[0048] After determining the attribute affinity object, the client automatically or in response to user actions applies the domain effect corresponding to the target affinity attribute to that attribute affinity object to change its natural state in the virtual scene. Domain effect is the interaction rule corresponding to the target affinity attribute. Different target affinity attributes can correspond to different types of domain effects, and each domain effect changes the natural state of the attribute affinity object in a specific way.

[0049] In one embodiment, the target affinity attribute can correspond to a first attribute, a second attribute, and a third attribute, depending on the virtual props pre-equipped with the virtual object, each corresponding to a different type of domain effect. When the target affinity attribute is the first attribute, such as fire, the domain effect includes deconstruction and / or reconstruction effects. After the deconstruction effect acts on the attribute-affinity object, it causes the object to lose its collision attribute in the virtual scene; that is, the object's collider is temporarily removed, allowing other objects, including virtual objects, to pass through the space originally occupied by the object. For example, when a virtual object expands its first attribute domain space, a broken wall with the first attribute affinity is identified as the attribute-affinity object. The client applies a deconstruction effect to this broken wall, causing its collider to disappear, revealing the previously blocked passage, allowing the virtual object to pass freely. The reconstruction effect, on the other hand, is the opposite of the deconstruction effect, allowing attribute-affinity objects that have lost their collision attribute to regain it, restoring their original blocking function. The deconstruction and reconstruction effects can be used alternately, enabling virtual objects to temporarily open or close specific paths as needed.

[0050] When the target affinity attribute is a second attribute, such as water, the domain effect includes the stasis effect. When the stasis effect is applied to an attribute-affinity object, it suspends the object's movement within the virtual scene. This effect is applicable to scene environment objects with preset motion patterns, such as a rotating windmill, a swaying suspension bridge, a moving lifting platform, or floating soul fragments. When the client applies the stasis effect to a moving object with a second attribute affinity, the object's movement is temporarily frozen, remaining at the position and posture at the moment of stasis. For example, when a virtual object expands its second attribute domain space, a rotating windmill is identified as the attribute affinity object. If the client applies the stasis effect to the windmill, it stops rotating, its blades are fixed at the current angle, and the mechanisms originally driven by the windmill also cease operation.

[0051] When the target affinity attribute is a third attribute, such as wood, the domain effect includes the proliferation effect. When the proliferation effect is applied to an attribute-affinity object, it can increase the size or quantity of that object in the virtual scene. This effect applies to scene environment objects with growth potential, such as vines, trees, grass, and other vegetation objects, as well as loosely packed structures that can split or replicate. After the client applies the proliferation effect to an object with third attribute affinity, the object's geometric volume expands in a specific direction, or its quantity is replicated and increased in the scene. For example, when a virtual object expands its third attribute domain space, a short vine is identified as an attribute-affinity object. The client applies the proliferation effect to this vine, and it rapidly grows and spreads, forming a thick vine that the virtual object can climb or a passable plant platform.

[0052] In one embodiment, the domain effect is accompanied by corresponding domain special effects to visually demonstrate to the user that the domain effect is occurring. The manifestation of the domain special effects is related to the type of the target affinity attribute. For example, the deconstruction effect corresponding to the first attribute can be manifested as cracks appearing on the surface of the attribute-affinity object and gradually disintegrating and dissipating; the reconstruction effect can be manifested as fragments converging from all sides and recombinating. The stasis effect corresponding to the second attribute can be manifested as ice crystals condensing on the surface of the attribute-affinity object and being frozen in spacetime. The catalytic effect corresponding to the third attribute can be manifested as new buds sprouting on the surface of the attribute-affinity object and rapidly growing and spreading. These domain special effects, in conjunction with the visual effects of the domain space, form a complete visual feedback system, enabling the user to clearly perceive the process and result of the domain effect.

[0053] In one embodiment, the change in the natural state of an attribute affinity object due to the domain effect is temporary; that is, the natural state of the attribute affinity object switches from its native state to a temporary state. The native state is a specific form of natural state, referring to the initial logical state of the attribute affinity object before being affected by the domain effect, such as the intact standing state of a wall, the uniform rotation state of a windmill, or the short, clinging state of vines. The temporary state is another specific form of natural state, referring to the temporary logical state formed when the logical state of an attribute affinity object changes after being affected by the domain effect, such as the disintegration state of a wall, the static and frozen state of a windmill, or the lush growth state of vines. When a preset recovery condition is met, the natural state of the attribute affinity object recovers from the temporary state to its native state; that is, the effect of the domain effect is revoked, and the object's logical state returns to its initial state.

[0054] The preset recovery conditions may include, but are not limited to, the following situations: the duration of the temporary state exceeds a preset threshold, for example, the stagnation effect automatically dissipates after 5 seconds; the duration of the domain space exceeds a preset threshold, for example, the domain space automatically closes after 30 seconds of expansion, and all attribute affinity objects within it are restored; an attribute affinity object leaves the domain space, for example, after a virtual object moves, it is no longer located within the domain space, and its domain effect is automatically dissipated; the user or its virtual object triggers a specific recovery event, for example, the user presses the expand button again to close the domain space, or the user actively performs a recovery operation. In one embodiment, the client can record the state change information of the attribute affinity object during the domain effect, including the parameters of the object in its original state and the parameters in its temporary state, so that the object can be accurately restored to its original state during recovery. When multiple attribute affinity objects are simultaneously affected by the domain effect, the client can restore each attribute affinity object to its original state one by one according to the recorded change information, ensuring the accuracy and completeness of the recovery process.

[0055] In one embodiment, after the domain effect acts on the attribute affinity object, it can further affect other scene environment objects that have a preset association relationship with the attribute affinity object. The preset association relationship may include at least one of physical connection relationship, logical dependency relationship, spatial adjacency relationship, or causal triggering relationship. Specifically, when the natural state of the attribute affinity object is changed, the scene environment objects that have a preset association relationship with the attribute affinity object, as dependent objects, target transfer objects, target exposure objects, or target reconstruction objects, will also change their own states accordingly.

[0056] In one embodiment, when the domain effect is a proliferation effect corresponding to the third attribute, the client can use a scene environment object with a preset association with the attribute affinity object as the dependent object. The domain effect is applied to the attribute affinity object to construct an interactive mechanism based on the dependent object. Simultaneously, the appearance state of the dependent object is changed through the domain effect's corresponding domain special effects to indicate that the dependent object has been constructed as an interactive mechanism. For example, the client applies a proliferation effect to a vine with third attribute affinity. After the vine grows and spreads, it wraps around a nearby suspension bridge mechanism. This suspension bridge mechanism, originally a non-interactive static scene environment object, is constructed as an interactive lever mechanism under the pull of the vine. The virtual object can lower the suspension bridge by interacting with the lever mechanism. The appearance state of the dependent object is changed through domain special effects, such as the vine emitting a bright green light and vine textures appearing on the surface of the suspension bridge mechanism's lever, to indicate to the user that the mechanism has been activated and is interactive.

[0057] In one embodiment, when the domain effect is the stasis effect corresponding to the second attribute, the client can use a scene environment object with a preset association with the attribute affinity object as the target transfer object. The domain effect is applied to the attribute affinity object, causing the attribute affinity object to change the motion state of the target transfer object in tandem. Simultaneously, the apparent state of the target transfer object is changed through the domain effect's corresponding domain special effects. For example, if the client applies a stasis effect to a rotating windmill, after the windmill stops rotating, the lifting platform originally driven by the windmill, as the target transfer object, also stops rising and falling, remaining at its current position. The apparent state of the lifting platform is changed through domain special effects, such as ice crystals condensing on the platform surface or the appearance of a stasis halo, to indicate that its motion state has been changed in tandem.

[0058] In one embodiment, when the domain effect is a deconstruction effect corresponding to the first attribute, the client can use a scene environment object with a preset association with the attribute affinity object as the target exposure object. The domain effect is applied to the attribute affinity object to cause it to lose its collision attribute, thus revealing the target exposure object. Simultaneously, the appearance of the target exposure object is changed through the domain effect's corresponding domain effect to indicate that the target exposure object has been revealed. For example, the client applies a deconstruction effect to a broken wall with the first attribute affinity. After the wall's colliders disappear, a hidden cave entrance that was originally hidden by the wall is revealed as the target exposure object. The appearance of the cave entrance is changed through domain effects, such as a red halo emanating from the edge of the entrance or flame patterns appearing, to indicate to the user that the hidden passage has been opened.

[0059] In one embodiment, when the domain effect is the reconstruction effect corresponding to the first attribute, the client can use a scene environment object with a preset association with the attribute affinity object as the target reconstruction object. The domain effect is applied to the attribute affinity object to restore its collision attribute, thus reconstructing the target reconstruction object. Simultaneously, the appearance of the target reconstruction object is changed through the domain effect's corresponding domain effect to indicate that the target reconstruction object has been reconstructed. For example, the client applies a reconstruction effect to a broken stone slab, causing the slab to reassemble into a complete platform. At the same time, a stone pillar that was originally submerged in water rises from the water as the target reconstruction object, forming a path that virtual objects can pass through. The appearance of the stone pillar is changed through domain effects, such as a reconstruction light effect or fragment aggregation animation appearing on the pillar's surface, to indicate to the user that the path has been reconstructed.

[0060] In one embodiment, when multiple attribute-affinity objects exist within the domain space, the client can apply domain effects to these attribute-affinity objects sequentially in a preset order. The preset order can be determined based on factors such as the distance between the attribute-affinity objects and the virtual objects, the order in which the attribute-affinity objects enter the domain space, and the spatial arrangement of the attribute-affinity objects in the scene. For example, the client can apply domain effects sequentially according to the distance between the attribute-affinity objects and the virtual objects from closest to furthest, causing objects closer to the virtual objects to change first, creating a visual effect of the domain effect spreading outward from the center. This chain-like arrangement mechanism allows the state changes of multiple attribute-affinity objects to present an orderly rhythm, enhancing the visual hierarchy of the interaction and the user experience.

[0061] In one embodiment, in a multiplayer online mode, when multiple virtual objects simultaneously expand their domain spaces and interact with the same scene environment object, the client can employ an arbitration mechanism based on attribute priority or timestamps to determine the effective domain effect. Attribute priority arbitration involves setting different priority levels for different target affinity attributes; for example, the first attribute has a higher priority than the second, and the second attribute has a higher priority than the third. When multiple attribute domains act on the same scene environment object simultaneously, the domain effect with the highest priority takes effect. Timestamp arbitration uses the order in which each domain space acts on the scene environment object as the basis; the domain effect that acts first takes effect, while subsequent domain effects are either temporarily ineffective or queued. This arbitration mechanism avoids logical conflicts caused by multiple domain effects acting on the same object simultaneously in multiplayer online scenarios, ensuring the consistency and predictability of the interaction results.

[0062] In one embodiment, the process of an attribute-affinity object recovering from a temporary state to its original state can be presented with a visual animation that is the opposite of the domain effect process. For example, when the deconstruction effect is lifted, the previously disintegrated wall fragments converge from all sides back to their original positions, recombine into a complete wall, and a restoration effect animation plays; when the stasis effect is lifted, the previously frozen windmill blades begin to rotate again from their static state, accompanied by particle effects of melting ice crystals; when the proliferation effect is lifted, the previously lush vines gradually shrink back to their original short form, accompanied by an effect of fading emerald light. This reversible and restorative visual presentation allows users to clearly perceive the complete lifecycle of the domain effect, enhancing the sense of feedback and immersion in the interaction.

[0063] In one embodiment, the visual effects of the domain space and the highlighting of attribute-affinity objects can be interconnected. When multiple scene environment objects matching the target affinity attribute exist within the domain space, the highlighting method of these objects can be consistent with the visual effects of the domain space, such as using the same color tone or particle style. When a domain effect is applied to an attribute-affinity object, the object's domain effect can resonate with the visual effects of the domain space; for example, the boundary halo of the domain space may pulsate or flicker when the object is affected, indicating to the user that an interaction is currently taking place. This visually interconnected design allows users to more intuitively understand the relationship between the domain space and attribute-affinity objects.

[0064] In one embodiment, after a domain effect acts on an attribute-affinity object, the object's appearance changes accordingly to visually demonstrate the effect's outcome to the user. The changes in appearance are related to the type of domain effect and work in conjunction with domain effects to form a complete visual feedback. For example, when a deconstruction effect acts on an attribute-affinity object, its appearance may gradually disintegrate and dissipate, with its material transparency gradually increasing until it disappears completely; when a reconstruction effect acts on an attribute-affinity object, its appearance may show fragments converging and recombining from all sides, with its material transparency gradually decreasing until it returns to its original state; when a stasis effect acts on an attribute-affinity object, its appearance may show an effect of being encased in ice crystals or frozen in time, with its surface material exhibiting a static frost texture; when a proliferation effect acts on an attribute-affinity object, its appearance may show a rapid growth or expansion effect, with its surface material exhibiting the vibrant texture of newly formed tissue. These changes in appearance, together with domain effects, constitute a multi-layered visual feedback system, allowing the user to intuitively perceive the current state stage of the attribute-affinity object.

[0065] In one embodiment, there is a linkage between the visual effects of the domain space and the apparent state changes of attribute-affinity objects. When an attribute-affinity object exists within the domain space, the visual effects of the domain space can enhance or focus on the location of that attribute-affinity object to guide the user's attention. For example, when multiple scene environment objects exist within the domain space but only one is identified as an attribute-affinity object, the particle effects of the domain space can converge and flow towards that attribute-affinity object, and attribute markers on the ground can become brighter and more prominent around that object. This linkage mechanism helps users quickly locate the object currently being affected by domain effects in complex scenes, improving the directionality and clarity of interaction.

[0066] In one embodiment, the order in which domain effects apply to attribute-affinity objects can be dynamically adjusted based on the functional importance or interaction priority of the attribute-affinity objects in the scene. The client can preset priority scores for different types of scene environment objects; for example, the priority score for mechanism-type objects is higher than that for vegetation-type objects, and the priority score for vegetation-type objects is higher than that for decorative objects. When multiple attribute-affinity objects enter the domain space simultaneously, the client applies domain effects sequentially according to their priority scores from highest to lowest, ensuring that objects with a greater impact on the game progress are changed first. In one embodiment, the priority score can also be dynamically adjusted based on the current task state of the virtual object. For example, when a virtual object is performing a task related to a specific mechanism, the priority score of that mechanism-type attribute-affinity object is temporarily increased to ensure that it is acted upon by domain effects first.

[0067] In one embodiment, when a domain effect acts on an attribute-affinity object, the change in the object's state can trigger audio feedback in the virtual scene, assisting the user in perceiving the interaction result through auditory means. Different types of domain effects correspond to different audio effects. For example, deconstruction effects may be accompanied by the sound of rocks breaking or objects collapsing; reconstruction effects may be accompanied by the sound of fragments assembling or metal being pieced together; stasis effects may be accompanied by the sound of ice crystals freezing or time standing still; and vegetation effects may be accompanied by the sound of plants growing or vines spreading. These audio effects work in conjunction with visual effects, enabling users to obtain interactive feedback through multiple sensory channels, further enhancing the immersion and perceptibility of the interaction.

[0068] In one embodiment, when a domain effect acts on an object with attribute affinity, the change in that object's state can further trigger a chain of events in the virtual scene, creating more complex scene changes. For example, when a deconstruction effect causes a broken wall with a first attribute affinity to lose its collision property, the water flow behind the wall, which was previously blocked, can now flow freely. The water then flows along the terrain and irrigates withered vegetation downstream, allowing it to revive and grow harvestable resources. Similarly, when a stagnation effect causes a windmill with a second attribute affinity to stop rotating, the pumping mechanism driven by the windmill stops working, the water level gradually drops, and a hidden underwater channel is revealed. This chain event mechanism allows a single domain effect to trigger a wider range of scene changes, enriching the layers and depth of interaction.

[0069] In one embodiment, the scope and intensity of the domain effect can be dynamically adjusted based on the distance between the virtual object and the attribute-affinity object. When the attribute-affinity object is closer to the virtual object, the domain effect acts faster and is stronger, resulting in more drastic changes in the attribute-affinity object's natural state. Conversely, when the attribute-affinity object is farther from the virtual object, the domain effect acts slower and is weaker, resulting in more gradual changes in the attribute-affinity object's natural state. For example, when a virtual object is pressed against a broken wall with a first attribute affinity, the deconstruction effect can completely disintegrate the wall within a preset time, such as 0.5 seconds. However, when the virtual object is standing at the edge of the domain space, farther from the broken wall, the deconstruction effect may take 2 seconds to complete. This distance-related dynamic adjustment mechanism provides users with a more layered interactive experience and allows users to control the pace of interaction by adjusting their own position.

[0070] As can be seen from the above embodiments, the technical solution of this application brings many beneficial effects, including but not limited to: First, this application enables scene environment objects, which were originally considered static background elements, to dynamically change their state based on user attribute configurations. Users no longer need to manually identify environment objects, switch items, or perform aiming operations; they only need to equip virtual items with specific attributes and trigger an unfolding event. The domain space will automatically perform affinity detection and state rewriting for the environment objects. This mechanism transforms the one-way, fixed interaction between the user and the static environment in traditional technologies into a multi-way, flexible interaction between the user and the dynamic environment through attribute configuration, significantly expanding the interactive functions and dimensions of environment objects in virtual scenes. The same scene environment object will produce drastically different state changes in domain spaces with different attributes. Users can change their interaction strategy with the same environment by changing virtual items, thereby greatly enriching the exploration and puzzle-solving experience of virtual scenes.

[0071] Secondly, this application alters the natural state of attribute-affinity objects in a virtual scene through domain effects, making the state changes of environmental objects temporary and reversible during their existence in the domain space. Users do not need to worry about the permanent nature of the changes to environmental objects and can repeatedly experiment with different interaction strategies to explore various possibilities with low risk. This low-trial-and-error-cost interaction mechanism encourages users to engage in creative exploration, enhances the freedom and playability of the virtual scene, and also enables users to more easily understand and master the interaction patterns between different attributes and different environmental objects.

[0072] Furthermore, this application utilizes an attribute affinity detection mechanism and real-time computation of the domain effect logic layer to enable the same scene environment object to exhibit different state changes in the domain space of different attributes, without needing to pre-define independent scene resources or state copies for each attribute combination. All state changes are calculated and rendered in real-time by the domain effect logic layer, avoiding frequent scene resource loading and unloading operations, and reducing memory usage and disk I / O overhead. Simultaneously, since the state changes of environment objects can be temporarily assigned during their existence in the domain space, attribute affinity objects can automatically revert to their natural state after the domain unfolding event ends. The entire process is completed in memory, without needing to write temporary states to persistent storage or requiring additional rollback instructions. This reduces database read / write pressure and simplifies the logical complexity of state management, improving system efficiency and stability.

[0073] Furthermore, this application significantly reduces user operational costs and cognitive burden by compressing user interaction with environmental objects from a multi-step process of identification, switching, aiming, and deployment into a two-step process of equipping items and triggering deployment events. This improves user operational efficiency. Users only need to focus on their movement path and the coverage area of ​​the domain space, without needing to identify and manually select target objects one by one to trigger environmental interactions within the domain. This interaction mode makes user exploration in virtual scenes smoother and more natural, reducing the sense of interruption caused by frequent item switching and aiming operations, and enhancing user immersion and operational efficiency.

[0074] Based on any embodiment of the method in this application, prior to the domain unfolding event, the method includes: Step S2100: In response to the attribute item loading event, determine the virtual item with the target affinity attribute that is equipped for the virtual object; The attribute item loading event refers to the event triggered when a virtual object acquires or activates a virtual item in a virtual scene. Virtual objects can acquire virtual items through various means, such as picking up item entities scattered in the scene during exploration, obtaining them as rewards after completing specific tasks, collecting them from the drops of specific targets after defeating them, or purchasing them with virtual currency in the virtual shop.

[0075] When a virtual object acquires a virtual item, the client generates an attribute item loading event and responds to this event to determine the virtual item currently equipped by the virtual object and its target affinity attribute. In one embodiment, a virtual object can simultaneously hold multiple virtual items, each carrying a different target affinity attribute, such as a fire attribute virtual item, a water attribute virtual item, and a wood attribute virtual item. Based on the virtual object's current equipment configuration, the client determines the currently active virtual item and reads the attribute type field from its attribute configuration file. The value of this field is, for example, fire, water, or wood, corresponding to the fire, water, and wood attributes, respectively.

[0076] In another embodiment, the virtual object can manually select the virtual prop it wants to equip through the assembly panel in the interactive interface. In response to the user's selection operation, the client determines the selected virtual prop as the virtual prop currently equipped by the virtual object and records its target affinity attribute.

[0077] Step S2200: Combine the virtual prop with the preset carrier held by the virtual object and activate it; A preset carrier is a dedicated device held by a virtual object, used to hold and activate virtual items. In one embodiment, the preset carrier is a wrist device called "Love Lock," with multiple slots on its surface, each slot capable of holding one virtual item. After the virtual object embeds a virtual item into a slot of the Love Lock, the client detects that the slot status changes from idle to occupied, triggering a binding event between the virtual item and the preset carrier. After binding, the client executes the virtual item activation process, including reading the virtual item's attribute configuration file, initializing the logical parameters of the domain effect, and registering a listener callback function for the domain expansion event.

[0078] In another embodiment, the preset carrier can be a specific item slot in the virtual object's inventory. The virtual object can drag and drop virtual items into that slot to complete the combination and activation. In yet another embodiment, the preset carrier can be a designated interactive device in the virtual scene, such as an altar or a workbench. The virtual object drags virtual items into the interactive device, and the client detects the change in the input state of the interactive device to complete the combination and activation.

[0079] In one embodiment, the activated virtual prop is presented as an icon in the status interface of the virtual object. The icon may be accompanied by an attribute identifier, such as a flame icon representing the fire attribute, a water droplet icon representing the water attribute, and a leaf icon representing the wood attribute, so that users can intuitively identify the attribute type of the currently activated virtual prop.

[0080] Step S2300: In response to the interactive trigger operation, generate the field expansion event.

[0081] In one embodiment, the interaction trigger operation is a user pressing a designated interaction key, which can be a predetermined key on a keyboard, a specific key on a gamepad, or a virtual button in a graphical user interface. When the client detects that the designated interaction key has been pressed, it generates a domain expansion event and passes the event to the domain space generation module.

[0082] In another embodiment, the interaction trigger can be a user's click on a specific control in the graphical user interface, such as clicking on a field expansion icon in the corner of the screen. In yet another embodiment, the interaction trigger can be a user's specific gesture input to the gesture recognition device, such as drawing a circle on the touchscreen.

[0083] After receiving the interactive trigger operation, the client first checks whether the current virtual object has been equipped with and enabled a valid virtual item. If the check passes, a domain expansion event is generated. The data structure of this event contains information such as the target affinity attribute value of the current virtual item, the current position coordinates of the virtual object, and the preset radius parameter of the domain space, for use in subsequent steps.

[0084] The above embodiments integrate the four stages of acquiring, assembling, activating, and deploying virtual props into a coherent operation chain. Users only need to acquire virtual props and perform a single button operation to enter the interactive state of the domain. There is no need to repeatedly switch between multiple interfaces or memorize complex operation sequences, thereby reducing the user's learning cost and operational burden, and improving the startup efficiency and smoothness of virtual scene interaction.

[0085] Based on any embodiment of the method in this application, prior to the domain unfolding event, the method includes: Step S1100: Determine the current environmental ecology type of the virtual object in the virtual scene; By detecting the spatial coordinates of a virtual object within a virtual scene and combining this information with map partitioning data or ecological region labels, the client can determine the current ecological type of the virtual object's environment. In one embodiment, the map data of the virtual scene includes pre-defined ecological region boundary information. Each ecological region is assigned a unique ecological type identifier, such as forest for forest ecology, desert for desert ecology, water for aquatic ecology, lava for lava ecology, and ruins for ruins ecology. The client obtains the current coordinates of the virtual object, traverses the ecological region boundary data, and determines which ecological region the virtual object is currently located within, thereby identifying the corresponding ecological type.

[0086] In another embodiment, the client can infer the ecological type of the environment by analyzing the compositional characteristics of the scene environment objects surrounding the virtual object. For example, when there are a large number of vegetation-type scene environment objects such as trees, vines, and grass around the virtual object, the current ecological type is inferred to be a forest ecosystem; when there are a large number of hydrological scene environment objects such as water bodies, fountains, and waterfalls around the virtual object, the current ecological type is inferred to be an aquatic ecosystem. In yet another embodiment, the client can synchronize metadata of the current area from the scene server. This metadata includes an ecological type field for the area, and the client can directly read the value of this field to determine the ecological type of the environment.

[0087] Step S1200: Based on the environmental ecology type, configure and display the shortcut operation area of ​​the virtual prop that matches the environmental ecology type, so as to trigger the field expansion event.

[0088] The client, based on a pre-determined environmental ecosystem type, searches for a target affinity attribute matching that type from a preset mapping relationship. Then, it configures a shortcut operation area for virtual items with that target affinity attribute among the virtual items currently held by the virtual object. In one embodiment, the shortcut operation area is a set of customizable shortcut slots in the graphical user interface, each slot corresponding to a virtual item. Users can trigger a domain expansion event by clicking a slot or pressing the corresponding shortcut key. The client automatically adjusts the order of virtual items in the shortcut slots according to the environmental ecosystem type, placing the virtual item most compatible with the current environmental ecosystem type in the highest priority position. For example, when the environmental ecosystem type is forest, the client places the shortcut slot for wood-attribute virtual items first in the shortcut operation area and highlights it with a bright green border; when the environmental ecosystem type is aquatic, the client places the shortcut slot for water-attribute virtual items first and highlights it with an ice-blue border; when the environmental ecosystem type is lava, the client places the shortcut slot for fire-attribute virtual items first and highlights it with a crimson border.

[0089] In another embodiment, the quick access area can be a circular quick access menu floating next to the virtual object. The options in this menu are dynamically arranged according to the environmental ecosystem type, with the virtual item option matching the current environmental ecosystem type placed in the default selected position at the twelve o'clock position. In yet another embodiment, when the virtual object does not possess any virtual items that match the current environmental ecosystem type, the client can display a prompt in the quick access area, such as displaying a gray empty slot with text suggesting that the user go to a specific area to obtain a virtual item with the corresponding attributes.

[0090] The above embodiments, as an organic whole, enable virtual objects to automatically acquire quick access to virtual items adapted to different environmental ecosystems. By automatically identifying environmental ecosystem types and dynamically configuring quick operation areas, users no longer need to manually browse their inventory or skill lists to find suitable virtual items when entering a new area, nor do they need to remember the attribute strategies corresponding to different environments. The client automatically places the most suitable virtual items in the most convenient operation positions according to the environmental ecosystem type, and users can expand the domain space matching the environment with just one click. This environment-adaptive quick configuration mechanism shortens the decision-making path from environment recognition to interaction execution, reduces the user's operational burden in complex and ever-changing environments, and improves the smoothness and immersion of virtual scene exploration.

[0091] Based on any embodiment of the method in this application, determining the scene environment object that enters the domain space in the virtual scene and matches the target affinity attribute as the attribute affinity object includes: Step S3210: When a scene environment object entering the domain space is detected to match the target affinity attribute, the scene environment object is highlighted; After completing affinity detection on the scene environment objects entering the domain space, the client immediately highlights those scene environment objects that match the target affinity attribute, visually indicating to the user that the object is interactive. The highlighting method can include various visual techniques. In one embodiment, the client generates a glowing outline around the edge of the matched scene environment object. The color of this outline corresponds to the target affinity attribute; for example, fire corresponds to a crimson outline, water to an ice-blue outline, and wood to an emerald green outline. The brightness of the outline can be set to pulsate periodically to attract the user's attention.

[0092] In another embodiment, the client changes the material color or transparency of the matched scene environment object, for example, increasing the color saturation of the object by a predetermined amount, such as 30%, or making its material appear translucent and glowing. In yet another embodiment, the client generates particle effects around the matched scene environment object, such as floating spark particles for fire attributes, rotating ice crystal particles for water attributes, and fluttering petal particles for wood attributes. The density and speed of the particles can be dynamically adjusted according to the distance between the object and the virtual object.

[0093] In a typical game scenario, when a virtual object expands into a fire-attribute domain, a broken wall within that domain, possessing fire affinity, is detected as a matching object. The client generates a crimson glowing outline at the edge of this broken wall, with a width of 3 pixels and a pulsation period of 0.8 seconds. Simultaneously, spark particles float around the broken wall at a rate of 20 particles per second, with a lifespan of 1.5 seconds. This highlighting feature allows users to quickly locate interactive environmental objects in complex scenes without having to try them one by one or rely on external prompts.

[0094] As can be seen, all of the above different embodiments can achieve the goal of highlighting scene environment objects in a visual manner, thereby highlighting the scene environment objects.

[0095] Step S3220: In response to the selection operation of the highlighted scene environment object, determine that the selected scene environment object is an attribute affinity object.

[0096] After highlighting a matching scene environment object, the client can wait for the user's selection action before designating the selected object as an attribute affinity object. The selection action can be an interactive behavior performed by the user on the highlighted scene environment object via an input device. In one embodiment, the selection action is when the user clicks on the highlighted scene environment object using a mouse or touchscreen. After detecting the click event, the client obtains the world coordinates of the click location and determines the clicked scene environment object through raycasting or collision detection. If the object is currently highlighted, it is designated as an attribute affinity object. In another embodiment, the selection action is when the user uses the arrow keys on a keyboard or gamepad to switch focus between highlighted objects. The focused object is highlighted with higher brightness. After the user presses the confirmation button, the currently focused object is designated as an attribute affinity object. In yet another embodiment, the selection action is when the user hovers the cursor over a highlighted object for more than a preset time, such as 500 milliseconds; the client automatically designates that object as an attribute affinity object.

[0097] Once a user selects one of several highlighted scene objects, the selected object is marked as an attribute-affinity object, and its highlighting can be further enhanced, such as increasing the outline brightness from 60% to 100% or doubling the density of particle effects, to distinguish it from other unselected highlighted objects. Unselected highlighted objects remain highlighted for the user to select again later. This user-initiated confirmation mechanism allows users to autonomously choose the target that best matches their current interaction intent from multiple matching objects, avoiding potential errors from automatic selection. It is particularly suitable for scenarios requiring precise control over interactive objects, such as in a densely vegetated area where a user only wants a specific vine to grow, rather than all the surrounding vines.

[0098] The semi-automated interaction mode constructed in the above embodiments improves operational efficiency while taking into account the user's subjective control needs, so that the convenience of automatic detection and the accuracy of user selection can be achieved at the same time. It is particularly suitable for complex interaction scenarios in which there are multiple attribute affinity objects that need to be distinguished and processed by the user.

[0099] Based on any embodiment of the method in this application, the domain effect of the target affinity attribute is applied to the attribute affinity object to change the natural state of the attribute affinity object in the virtual scene, including: Step S3311: Apply corresponding domain effects to the attribute affinity object to display the domain effect, and use the domain effects to change the natural state of the attribute affinity object in the virtual scene from the original state to the temporary state; After determining the attribute affinity object, the client generates and plays a corresponding domain effect for that object based on the type of the target affinity attribute. This domain effect visually demonstrates the process of the domain effect's action and simultaneously drives the attribute affinity object's natural state to transition from its native state to a temporary state. The presentation of the domain effect is closely related to the type of the target affinity attribute.

[0100] In one embodiment, when the target affinity property is fire and the domain effect is deconstruction effect, the client generates a crack texture on the surface of the property affinity object. The crack spreads from the center of the object to the surrounding area at a speed of 0.5 meters per second. At the same time, the object's material transparency gradually decreases from 100% to 0% for 2 seconds. When the transparency drops to 0%, the object's collider is removed, and the object no longer exists in its current position both visually and physically. Its natural state changes from the original state of complete standing to the temporary state of disintegration and dissipation.

[0101] In another embodiment, when the target affinity attribute is water and the domain effect is stagnation, the client generates ice crystal particles around the attribute-affinity object. The ice crystals spread upward from the bottom of the object at a speed of 0.3 meters per second. At the same time, the object's movement speed decreases linearly from the current value to 0, with a deceleration time of 1.5 seconds. When the movement speed drops to 0, the object's movement is completely frozen, and its natural state changes from the original state of uniform motion to the temporary state of static freezing.

[0102] In another embodiment, when the target affinity attribute is wood and the domain effect is a proliferation effect, the client generates sprout particles at the top of the attribute affinity object. The sprouts extend downward and branch at a speed of 0.4 meters per second. At the same time, the volume of the object is uniformly enlarged along the XYZ axes of the three-dimensional coordinate system, with the magnification factor increasing linearly from 1.0 times to 3.0 times and the growth time being 2.5 seconds. When the volume reaches the maximum value, the object's collider expands synchronously to match the new volume, and its natural state changes from the original short form to the temporary lush form.

[0103] During the playback of domain effects, the client continuously updates the state parameters of the attribute affinity object and synchronizes these parameter changes to the scene rendering engine in real time to ensure the consistency between visual performance and physical state.

[0104] Step S3312: When the preset recovery conditions are met, the attribute affinity object is restored from the temporary state to the original state. The preset recovery conditions include at least one of the following: the duration of the temporary state or the domain space exceeds a preset threshold, the attribute affinity object leaves the domain space, or the user or its virtual object triggers a specific recovery event.

[0105] After an attribute affinity object enters a temporary state, the client continuously monitors whether preset recovery conditions are met. Once any condition is triggered, the recovery process is immediately initiated, reversing the attribute affinity object's natural state from the temporary state back to its original state. In one embodiment, the preset recovery conditions include the duration of the temporary state exceeding a preset threshold, such as a maximum duration of stasis effect of 5 seconds. The client starts a timer when the attribute affinity object enters the stasis state. When the timer accumulates to 5 seconds, the recovery process is triggered, and the attribute affinity object's movement speed linearly recovers from 0 to its original value, with a recovery time of 1 second, while the ice crystal particles gradually dissipate.

[0106] In another embodiment, the preset recovery condition is that the duration of the domain space exceeds a preset threshold. For example, the maximum duration of the domain space is 30 seconds. When the domain space is generated, the client starts a global timer. When the timer accumulates to 30 seconds, all attribute affinity objects in the domain space trigger the recovery process at the same time, and the recovery animations of each object are played in parallel.

[0107] In another embodiment, the preset recovery condition is that the attribute affinity object leaves the domain space. The client continuously detects the spatial containment relationship between the attribute affinity object and the domain space. When the attribute affinity object leaves the domain space due to the movement of virtual objects or other reasons, the recovery process of the object is immediately triggered.

[0108] In another embodiment, the preset recovery condition is that the user or its virtual object triggers a specific recovery event, such as the user pressing the expand domain space button again to close the domain space, or the user performing a special recovery operation such as pressing the R key. In response to the recovery event, the client performs a batch recovery on all attribute affinity objects in the current domain space that are in a temporary state.

[0109] The visual representation of the restoration process can be an inverse animation of the transformation process in step S3311. For example, the restoration of the deconstruction effect is shown as fragments converging from all sides to their original positions, with transparency gradually recovering from 0% to 100%, and the collider being reactivated when transparency reaches 100%. The restoration of the stasis effect is shown as ice crystals melting and dissipating, and movement speed recovering from 0 to its original value. The restoration of the proliferation effect is shown as the volume linearly shrinking back to 1.0 times from the magnification, with the collider shrinking synchronously. During the restoration process, the client records the original state parameters of each attribute affinity object to ensure that the restored object is completely consistent with its original state before the domain effect takes effect.

[0110] The above embodiments, as an organic whole, construct a complete lifecycle loop for attribute-affinity objects, from their native state to their temporary state and back to their native state. Driven by domain effects, users can intuitively perceive the process and results of domain effects visually. Through multiple safeguards with preset recovery conditions, the state changes of attribute-affinity objects remain reversible and controllable. Users do not need to worry about the permanent nature of changes to environmental objects; they can repeatedly experiment with different interaction strategies and explore various possibilities with low risk. Furthermore, since state transitions and recovery are completed in client memory, there is no need to write temporary states to persistent storage or perform rollback operations, reducing system storage overhead and state management complexity, and improving operational efficiency. This reversible state management mechanism encourages creative exploration by users, enhancing the freedom and playability of the virtual scene.

[0111] Based on any embodiment of the method in this application, different target affinity attribute types may result in different domain effects. The following is a step-by-step description of different embodiments showing the correspondence between different target affinity attribute types and domain effects: Step S3321: When the target affinity attribute is the first attribute, the domain effect includes deconstruction effect and / or reconstruction effect; The first attribute corresponds to an interaction rule centered on structural change, and its domain effects include two inverse operation modes: deconstruction and reconstruction. When the deconstruction effect acts on an attribute-affinity object, it causes the object to lose its collision attribute in the virtual scene; its collider is temporarily removed, allowing the virtual object and other objects to pass through the space originally occupied by the object. In one embodiment, the parameters for the deconstruction effect include the collider removal delay time, for example, 0.3 seconds, and the distance threshold required for the collider to recover, such as automatic recovery when the virtual object is more than 5 meters away from the object. The reconstruction effect is the opposite of the deconstruction effect; when it acts on an attribute-affinity object, it causes the object to regain its collision attribute, restoring its original blocking or supporting function. In one embodiment, the parameters for the reconstruction effect include the collider reconstruction animation duration, for example, 1.2 seconds, and the reconstructed collider strength coefficient, for example, 1.0 indicating restoration to the original strength.

[0112] Deconstruction and reconstruction effects can be used alternately by the user's switching operation. For example, the user presses the Q key to switch to deconstruction mode and the E key to switch to reconstruction mode, allowing virtual objects to temporarily open or close specific paths as needed. In a typical game scenario, when a virtual object faces a stone door with a primary attribute affinity, it first uses the deconstruction effect to make the stone door lose its collision attribute to pass through, and then uses the reconstruction effect to restore the stone door's collision attribute to block pursuing enemies.

[0113] Step S3322: When the target affinity attribute is a second attribute, the domain effect includes the stagnation effect; The second attribute corresponds to an interaction rule centered on motion state control, and its domain effect is the stasis effect, used to pause the motion state of objects with attribute affinity in a virtual scene. The stasis effect is applicable to scene environment objects with preset motion patterns, such as rotating windmills, swaying suspension bridges, reciprocating lifting platforms, and floating soul fragments. In one embodiment, the parameters of the stasis effect include a motion speed decay curve, for example, linearly decreasing from the current speed to zero, with a deceleration time of 1.5 seconds; the duration of stasis, for example, 5 seconds; and the motion recovery curve after the stasis is lifted, for example, linearly accelerating from zero to the original speed, with an acceleration time of 1 second. After the client applies the stasis effect to a moving object with the second attribute affinity, the object's motion is temporarily frozen, remaining at the position and posture at the moment of stasis, and all its motion-related physical parameters, such as velocity, angular velocity, and acceleration, are set to zero. In a typical game scenario, a virtual object faces a rotating windmill that drives a lifting platform up and down. After the virtual object applies a stasis effect to the windmill, the windmill stops rotating, and the lifting platform also stops at its current height. The virtual object can then use the stationary platform to jump to a height that was previously inaccessible.

[0114] Step S3323: When the target affinity attribute is a third attribute, the domain effect includes the proliferation effect.

[0115] The third attribute corresponds to an interaction rule centered on morphological expansion, with its domain effect being a proliferation effect. This effect increases the volume or quantity of objects with attribute affinity in a virtual scene. The proliferation effect is applicable to scene environment objects with growth potential or replicability, such as vegetation objects like vines, trees, and grass, as well as loose deposits like piles of gravel and sand. In one embodiment, the parameters of the proliferation effect include a volume magnification factor, for example, linearly increasing from 1.0x to 3.0x; a growth duration, for example, 2.5 seconds; a growth direction vector, for example, increasing by 50% along both the positive Y-axis and positive X-axis of the world coordinate system; and a maximum number of replicated objects, for example, a maximum of 5 identical object instances. After the client applies the proliferation effect to an object with third attribute affinity, the object's geometric volume expands along a preset direction, or its quantity is replicated and increased in the scene, while its colliders are updated synchronously to match the new morphology. In a typical game scenario, a virtual object faces a short vine that is initially unable to support the weight of the virtual object. After the virtual object applies a growth effect to the vine, the vine rapidly grows and spreads to three times its original size, forming a thick vine that the virtual object can climb. The virtual object can then use this vine to climb to a higher platform.

[0116] The various embodiments, individually or in combination, represent different implementations that configure domain effect types matching the characteristics of different target affinity attributes, forming a complete attribute interaction system where fire corresponds to structural changes, water corresponds to motion state control, and wood corresponds to morphological expansion. Each domain effect changes the natural state of the attribute-affinity object in a unique way, enabling virtual objects to adopt differentiated interaction strategies when facing different types of scene environment objects. The same scene environment object will produce drastically different state changes in different attribute domain spaces. Users can change their interaction strategies with the same environment by changing virtual props, thus greatly enriching the exploration and puzzle-solving dimensions of virtual scenes. This one-to-one mapping relationship between attributes and effects makes the interaction logic clear and predictable. After learning the rules of each attribute's function, users can apply them to other situations, reducing cognitive costs and improving the intuitiveness and operability of the interaction.

[0117] Based on any embodiment of the method in this application, applying the domain effect of the target affinity attribute to the attribute affinity object includes: Step S3331: Take the scene environment object in the virtual scene that has a preset association relationship with the attribute affinity object as the dependent object; After determining the attribute affinity object, the client further queries other scene environment objects in the virtual scene that have a preset association relationship with the attribute affinity object, and identifies these objects as dependent objects. The preset association relationship may include at least one of physical connection relationship, logical dependency relationship, spatial adjacency relationship or causal triggering relationship.

[0118] In one embodiment, the client maintains a list of associated objects for each scene environment object in the scene data. This list records the unique identifiers of other objects that have a preset association with that object. Once an attribute affinity object is determined, the client iterates through its list of associated objects and marks all associated objects as dependent objects. For example, after a vine with a third attribute affinity is determined to be an attribute affinity object, the client queries its list of associated objects and finds that the vine has a spatial adjacency relationship with a nearby broken bridge wreckage, thus identifying the broken bridge wreckage as a dependent object.

[0119] In another embodiment, the preset association relationship can be pre-set through the visual connection tool in the scene editor. The scene designer can manually associate two or more scene environment objects and specify the type and parameters of the association relationship, such as the association type being physical connection, the association strength being 0.8, and the association range being 5 meters.

[0120] Step S3332: Apply the domain effect to the attribute affinity object to construct a temporary scene object based on the dependent object, and change the appearance state of the dependent object through the domain effect corresponding to the domain effect of the attribute affinity object to indicate that the dependent object has been constructed as a temporary scene object.

[0121] While applying domain effects to the attribute affinity object, the client constructs a temporary scene object based on the dependent object. During this process, the apparent state of the dependent object changes, but its natural state may remain unchanged or change simultaneously. When the natural state of the dependent object remains unchanged, it remains in its native state, indicating the change in its functional attributes to the user only through changes in its apparent state. When the natural state of the dependent object changes simultaneously, for example, due to additional gravity caused by vine growth, its natural state changes from its native state to a temporary state. The changes in apparent state and natural state work together to present the process and result of the domain effect to the user. This temporary scene object has new functional attributes in the virtual scene, such as allowing virtual objects to pass through, climb, or stand. In one embodiment, when the domain effect is a pluripotent effect corresponding to the third attribute, the client applies a pluripotent effect to a vine with third attribute affinity. The vine rapidly spreads along a preset growth path at a growth rate of 0.8 meters per second, pointing towards the location of the dependent object, i.e., the broken bridge wreckage. After the vines grow to the broken bridge ruins, they continue to extend laterally, using the ruins as a fulcrum, weaving a temporary bridge surface made of vines at the gap in the broken bridge. This bridge surface is large enough to support virtual objects crossing. Simultaneously, the client changes the appearance of the broken bridge ruins through the corresponding domain effect of the proliferation effect. Emerald green vine textures appear on the surface of the ruins, with a soft green halo emanating from its edges. The brightness of the halo pulsates slowly at a period of 1.5 seconds to indicate that the broken bridge ruins have been constructed as part of the temporary bridge surface. When a virtual object steps onto the temporary bridge surface, the surface will undergo slight elastic deformation according to the virtual object's walking movements, simulating the soft properties of vine material.

[0122] In another embodiment, when the domain effect is the pluripotency effect corresponding to the third attribute, the client applies the pluripotency effect to a sapling with affinity for the third attribute. Within 3 seconds, the sapling grows into a towering tree, its trunk diameter increasing from 0.1 meters to 0.8 meters, and its canopy radius expanding from 0.5 meters to 3 meters. Simultaneously, several branches grow from the side of the trunk, spaced 0.6 meters apart, forming a stepped structure that allows virtual objects to climb to the canopy. The soil at the original location of the sapling is constructed as the base of the temporary scene object, with vibrant green growth lines appearing on the soil surface. These lines spiral outwards from the center, indicating that the location has been constructed as the starting point of the temporary climbing structure.

[0123] In one embodiment, when preset restoration conditions are met, such as the duration of the domain space exceeding a preset threshold of 30 seconds, or a virtual object triggering a specific restoration event, the temporary bridge surface or temporary climbing structure gradually shrinks and restores, the vines retract along the growth path at a speed of 0.6 meters per second, the diameter and height of the trunk shrink synchronously, and the tree returns to its original seedling form within 5 seconds. The appearance of the attached object also returns to its original natural state, and the emerald green patterns and halo gradually fade away.

[0124] The above embodiments, as an organic whole, extend the scope of the domain effect from the attribute affinity object itself to other scene environment objects associated with it, achieving indirect modification of the environmental state by constructing temporary scene objects. Virtual objects only need to apply the domain effect to the attribute affinity object to automatically trigger a chain reaction of changes in associated objects, without needing to operate on each object individually. This indirect construction mechanism, using attribute affinity objects as intermediaries and dependent objects as the foundation, allows virtual objects to achieve a wider range of scene modification effects through limited interactive operations; for example, by adding a vine, a temporary path can be built at a gap in a broken bridge. Simultaneously, since the constructed temporary scene objects can be automatically restored after the preset restoration conditions are met, the scene environment returns to its original natural state after the interaction ends, without causing permanent changes to the virtual scene. This ensures both the richness of the interaction and the integrity and reusability of the scene.

[0125] Based on any embodiment of the method in this application, applying the domain effect of the target affinity attribute to the attribute affinity object includes: Step S3341: Take the scene environment object in the virtual scene that has a preset association with the attribute affinity object as the target transmission object; After identifying the attribute affinity object, the client further queries other scene environment objects in the virtual scene that have a preset association with the attribute affinity object, and identifies these objects as target transfer objects. The preset association may include at least one of physical connection relationships, logical dependency relationships, spatial adjacency relationships, or causal triggering relationships. In one embodiment, the client maintains a transmission chain data structure for each scene environment object in the scene data. This data structure records upstream and downstream objects with motion transmission relationships to the object in the form of a linked list. When the attribute affinity object is identified, the client traverses its transmission chain and marks all downstream objects that depend on the motion state of the object as target transfer objects. For example, after a rotating windmill is identified as an attribute affinity object, the client queries its transmission chain and finds that the windmill is connected to a lifting platform through a gear set. The rotational motion of the windmill drives the lifting platform to perform vertical reciprocating motion after the gear set's speed change; therefore, the lifting platform is identified as the target transfer object.

[0126] In another embodiment, the preset association relationship can be pre-set through the logical connection tool in the scene editor. The scene designer can add logical dependency connections for two scene environment objects and specify the dependency type as motion transfer with a transfer coefficient of 0.75, which means that for every unit change in the motion speed of the upstream object, the motion speed of the downstream object changes by 0.75 units accordingly.

[0127] Step S3342: Apply the domain effect to the attribute affinity object to cause the attribute affinity object to change the motion state of the target transfer object in conjunction with the domain effect, and change the appearance state of the target transfer object through the domain effect corresponding to the domain effect.

[0128] While applying domain effects to attribute affinity objects, the client calculates the impact of attribute affinity object state changes on the motion state of the target transfer object based on transmission parameters in the preset association relationship, and applies this impact to the target transfer object. In this process, the motion state of the target transfer object is a lower dimension of its natural state. The motion state of the target transfer object before being affected by linkage is its native motion state, for example, a lifting platform rising at a constant speed of 0.5 meters per second. After being affected by linkage, its motion state changes from its native motion state to a temporary motion state, for example, the lifting platform stops at its current height, and its speed drops to zero. This transformation from native motion state to temporary motion state is a concrete manifestation of the domain effect indirectly changing the natural state of the target transfer object through attribute affinity objects. In one embodiment, when the domain effect is the stagnation effect corresponding to the second attribute, the client applies a stagnation effect to a windmill rotating at 12 revolutions per minute. The windmill's rotation speed linearly decreases to 0 within 1.5 seconds, and the windmill blades stop at their current position. The client calculates the change in motion state of the lifting platform based on the transmission coefficients in the transmission chain. After the windmill stops rotating, the lifting platform, originally driven by the windmill, loses its power source, and its ascent speed decreases linearly from 0.5 meters per second to 0. The lifting platform stops at its current height, 3.2 meters above the ground. Simultaneously, the client changes the appearance of the lifting platform through the corresponding area effects of the stasis effect. A thin layer of ice crystals, approximately 0.02 meters thick, condenses on the surface of the lifting platform, and an ice-blue stasis halo appears at the edge of the platform, slowly rotating at a period of 0.6 seconds to indicate that the motion state of the lifting platform has been changed in conjunction with the effect. Virtual objects can use the stationary lifting platform as a temporary foothold to jump to previously inaccessible high platforms.

[0129] In one embodiment, when the stasis effect corresponding to the second attribute is released, for example, when the stasis duration reaches a preset threshold of 5 seconds, the client initiates a recovery process. The windmill's rotation speed linearly accelerates from 0 to 12 revolutions per minute, with an acceleration time of 1 second. Simultaneously, the lifting platform regains power, and its ascent speed linearly accelerates from 0 to 0.5 meters per second, with a recovery time of 1.2 seconds. The lifting platform continues to move upward from its current height. The ice crystals on the lifting platform gradually melt and dissipate, the brightness of the icy blue stasis halo decreases until it disappears, and the apparent state returns to its original natural state.

[0130] The above embodiments enable the domain effect to be transferred from the attribute affinity object to the target transfer object through a preset association relationship, realizing chain-like linkage control of motion state. Virtual objects only need to apply the domain effect to the attribute affinity object to indirectly control the motion state of other scene environment objects associated with it, without needing to operate on each object individually. This linkage mechanism, with the attribute affinity object as the control source and the target transfer object as the controlled end, allows virtual objects to achieve complex motion state control through limited interactive operations. For example, freezing a windmill can stop all mechanical devices on the entire transmission chain from operating. Simultaneously, since the motion state changed by the linkage can be automatically restored after the preset recovery conditions are met, the entire transmission chain returns to its original motion state after the interaction ends, satisfying both temporary interaction needs and ensuring the reusability of scene mechanical devices.

[0131] Based on any embodiment of the method in this application, applying the domain effect of the target affinity attribute to the attribute affinity object further includes: Step S3351: Select the scene environment object in the virtual scene that has a preset association with the attribute affinity object as the target exposure object; After determining the attribute affinity object, the client further queries other scene environment objects in the virtual scene that have a preset association with the attribute affinity object, and identifies these objects as target exposure objects. The preset association may include at least one of physical occlusion relationship, spatial inclusion relationship, logical hiding relationship, or causal triggering relationship. In one embodiment, the client maintains an occlusion relationship table for each scene environment object in the scene data. This table records the unique identifiers of other objects occluded by the object and their relative position offsets. When the attribute affinity object is determined, the client queries its occlusion relationship table and marks all objects occluded by the object as target exposure objects. For example, after a broken wall with a first attribute affinity is determined as an attribute affinity object, the client queries its occlusion relationship table and finds that there is a hidden cave entrance behind the broken wall. The spatial coordinates of the cave entrance are located 2.5 meters behind the center point of the broken wall, with an offset of 0.3 meters in the positive X-axis and 2.5 meters in the negative Z-axis. Therefore, the cave entrance is identified as a target exposure object.

[0132] In another embodiment, the preset association relationship can be automatically generated by the occlusion test tool in the scene editor. When the scene designer places scene environment objects, the engine automatically calculates the occlusion relationship between each object and records it in the occlusion relationship table. When the bounding boxes of two objects overlap in the line of sight, the object in front is recorded as the occluder and the object behind is recorded as the occluded object.

[0133] Step S3352: Apply the domain effect to the attribute affinity object to make the attribute affinity object lose its collision attribute, thereby revealing the target revealed object, and change the appearance state of the target revealed object through the domain effect corresponding to the domain effect, so as to indicate that the target revealed object has been revealed.

[0134] When the client applies domain effects to an attribute affinity object, it performs a corresponding state change operation based on the type of the target affinity attribute. This causes the attribute affinity object to lose its collision attribute, making the previously occluded target object visually and physically visible and accessible. During this process, the attribute affinity object's natural state changes from its native state to its temporary state; that is, its collision attribute changes from present to absent, representing a change in the collision state dimension within its natural state. The target object's natural state changes from its invisible state when occluded to its visible state after being revealed; its existence state changes from its hidden native state to its revealed temporary state. Simultaneously, domain effects alter the target object's appearance, such as displaying flame patterns at the edge of a hole to indicate that it has been revealed. The changes in the target object's natural and appearance states corroborate each other, jointly presenting the user with the interactive result that hidden content has been revealed.

[0135] For example, when the domain effect is the deconstruction effect corresponding to the first attribute, the client applies the deconstruction effect to a broken wall with the first attribute affinity. The collider of the broken wall gradually disappears within 0.5 seconds, its material transparency linearly decreasing from 100% to 0%, and the broken wall visually disappears completely. The cave entrance, which was originally hidden by the broken wall, is then revealed, its arched outline gradually appearing from behind the wall. Simultaneously, the client changes the appearance of the cave entrance through the domain effect corresponding to the deconstruction effect. Crimson flame patterns appear on the edge of the cave entrance, slowly rotating clockwise at a speed of 30 degrees per second. The dark area inside the cave entrance is illuminated by soft warm light at an intensity of 50 lux, indicating that the cave entrance has been revealed and is available for entry. Virtual objects can walk towards the cave entrance and trigger an entry operation.

[0136] In one embodiment, when the preset restoration conditions of the deconstruction effect are met, such as when the virtual object is more than 10 meters away from the area or the duration of the domain space reaches a preset threshold of 30 seconds, the client initiates the restoration process. Fragments of the broken wall converge from all sides towards their original position at a convergence speed of 0.3 meters per second. The material transparency linearly recovers from 0% to 100%. The collider is reactivated when the transparency reaches 100%, and the broken wall is restored to its original intact state. Simultaneously, the flame patterns at the cave entrance gradually extinguish, the intensity of the warm light decreases to 0 lux, and the cave entrance is once again obscured by the broken wall, restoring the apparent state to its original hidden state.

[0137] The above embodiments enable the domain effect to reveal previously occluded target objects by removing the collision attributes of attribute-affinity objects, thus realizing a dynamic discovery mechanism for hidden content. Virtual objects only need to apply the domain effect to attribute-affinity objects with occlusion capabilities to automatically reveal the hidden content behind them, without the need for brute-force tools or finding other entry points. This discovery mechanism, which uses attribute-affinity objects as occluders and target objects as hidden content, provides a new interactive dimension for exploring and solving puzzles in virtual scenes. Virtual objects can determine which occluders can be removed by observing the attribute affinity tags of objects in the scene environment, thereby planning their exploration paths. Simultaneously, since the collision attributes of occluders can be automatically restored after preset restoration conditions are met, the hidden content is re-occluded after the interaction ends, ensuring both the discoverability of hidden content and maintaining the repeatable challenge of scene puzzles.

[0138] Based on any embodiment of the method in this application, applying the domain effect of the target affinity attribute to the attribute affinity object further includes: Step S3361: Take the scene environment object in the virtual scene that has a preset association relationship with the attribute affinity object as the target reconstruction object; After identifying the attribute affinity object, the client further queries other scene environment objects in the virtual scene that have a preset association with the attribute affinity object, and identifies these objects as target reconstruction objects. The preset association may include at least one of physical support relationships, spatial filling relationships, logical dependency relationships, or causal triggering relationships. In one embodiment, the client maintains a reconstruction mapping table for each scene environment object in the scene data. This table records the unique identifiers of other objects that will be synchronously affected when the object is reconstructed, along with their relative position offsets and reconstruction parameters. Once the attribute affinity object is identified, the client queries its reconstruction mapping table and marks all objects that depend on the reconstruction result of that object as target reconstruction objects. For example, after a broken stone slab is identified as an attribute affinity object, the client queries its reconstruction mapping table and finds a stone pillar submerged beneath the slab. The original position of the pillar is 3.0 meters below the center point of the slab, and the original height of the pillar is 2.5 meters and its diameter is 0.6 meters. When the slab is reconstructed to a complete state, the pillar should rise synchronously from underwater to support the slab; therefore, the pillar is identified as a target reconstruction object. In another embodiment, the preset association relationship can be pre-set through the reconstruction link tool in the scene editor. The scene designer can add reconstruction dependency connection for two scene environment objects and specify the reconstruction delay time, such as 0.8 seconds, which means that the target reconstruction object will be reconstructed 0.8 seconds after the attribute affinity object is reconstructed.

[0139] Step S3362: Apply the domain effect to the attribute affinity object to make the attribute affinity object regain the collision attribute, so as to reconstruct the target reconstruction object, and change the appearance state of the target reconstruction object through the domain effect corresponding to the domain effect to indicate that the target reconstruction object has been reconstructed.

[0140] When the client applies domain effects to an attribute affinity object, it performs a corresponding state change operation based on the type of the target affinity attribute, causing the attribute affinity object to regain its collision attribute, thereby triggering the reconstruction process of the target reconstruction object. During this process, the natural state of the attribute affinity object is restored from a temporary state to its original state; that is, its collision attribute changes from non-existent to present, representing a restoration of the collision state dimension within the natural state. The natural state of the target reconstruction object changes from an incomplete state to a complete state, and its morphological state changes from a fragmented original state to a reconstructed temporary state. Simultaneously, domain effects alter the appearance of the target reconstruction object, such as displaying reconstruction light effects on the surface of a stone pillar, to indicate that it has been reconstructed. The changes in the natural and appearance states of the target reconstruction object work together to present the user with the interactive result that the structure has been reconstructed.

[0141] For example, when the domain effect is the reconstruction effect corresponding to the first attribute, the client applies a reconstruction effect to a broken stone slab. The fragments of the slab converge from all sides to their original position at a convergence speed of 0.4 meters per second. The material transparency linearly recovers from 0% to 100%, and the collider is reactivated when the transparency reaches 80%. The entire reconstruction process takes 2.0 seconds. After the stone slab is reconstructed into a complete state, the client initiates the reconstruction process of the target reconstruction object, i.e., the stone pillar, according to the parameters in the reconstruction mapping table. The stone pillar slowly rises from underwater at a rising speed of 0.5 meters per second. After 3.0 seconds, the top of the stone pillar contacts the bottom surface of the stone slab, forming a stable support structure. At the same time, the client changes the appearance of the stone pillar through the domain effect corresponding to the reconstruction effect. A crimson reconstruction light effect appears on the surface of the stone pillar, rising in a spiral from the bottom of the stone pillar at a rising speed of 0.8 meters per second. The material of the stone pillar gradually changes from a dull grayish-brown to a bright bluish-gray to indicate that the stone pillar has been reconstructed into a support structure. Virtual objects can step onto platforms made of stone slabs and pillars to travel to the other side, which was originally inaccessible.

[0142] In one embodiment, when the preset recovery conditions of the reconstruction effect are met, such as when the virtual object leaves the platform for more than 5 meters or the duration of the domain space reaches a preset threshold of 30 seconds, the client initiates the recovery process. The stone pillar slowly sinks at a descent speed of 0.4 meters per second, and after 3.5 seconds it is completely submerged in the water. The fragments of the stone slab gradually disintegrate and disperse at a dispersion speed of 0.3 meters per second. The collider is removed when the transparency drops to 20%. The apparent state of the stone slab and the stone pillar is restored to the original broken and submerged state, and the crimson light effect gradually fades.

[0143] The above embodiments enable the domain effect to synchronously reconstruct the target reconstruction object associated with the attribute affinity object by restoring the collision properties of the attribute affinity object, realizing a dynamic reconstruction mechanism for composite structures. Virtual objects only need to apply the reconstruction effect to attribute affinity objects in a broken or incomplete state to automatically trigger the complete reconstruction of that object and its supporting structure, without needing to repair each component separately. This reconstruction mechanism, with attribute affinity objects as the core and target reconstruction objects as subordinates, allows virtual objects to reconstruct complex scene structures through limited interactive operations. For example, reconstructing a broken stone slab can raise the supporting stone pillars below, forming a complete passageway. Simultaneously, since the reconstructed structure can be automatically restored after preset restoration conditions are met, the scene environment returns to its original broken state after the interaction ends, satisfying the need for temporary passage while maintaining the integrity and repeatable challenge of the scene puzzle.

[0144] Based on any embodiment of the method in this application, applying the domain effect of the target affinity attribute to the attribute affinity object includes: Step S3371: In multiplayer online mode, determine whether the attribute affinity object has entered multiple domain spaces corresponding to multiple virtual objects. If so, determine the priority of each domain space. In multiplayer mode, multiple virtual objects controlled by different users exist simultaneously in a virtual scene. Each virtual object can independently expand its domain space corresponding to the target affinity attribute of its pre-installed virtual props. When a scene environment object simultaneously enters the domain spaces of multiple different virtual objects, that scene environment object may be detected by multiple domain spaces as a candidate object matching their respective target affinity attributes, resulting in multiple domain effects competing for the same object. The client needs to identify and determine this competitive state.

[0145] Specifically, the client maintains a domain influence list for each scene environment object in the virtual scene. This list records relevant information about the domain space currently acting on the object, including the virtual object identifier to which the domain space belongs, the target affinity attribute type of the domain space, and the timestamp of the domain space acting on the object. When a scene environment object is identified as an attribute affinity object by a certain domain space, the client adds the information of that domain space to the object's domain influence list. The client continuously monitors the object's domain influence list, and when the number of records in the list is greater than or equal to two, it is determined that the attribute affinity object has entered multiple domain spaces corresponding to multiple virtual objects.

[0146] After determining the existence of multiple competing domain spaces, the client further determines the priority of each domain space. Priority determination can be based on various rules. In one embodiment, priority is determined based on the target affinity attribute type of each domain space, i.e., different priority levels are set for different target affinity attributes. For example, the priority of the first attribute can be set to level 3, the priority of the second attribute to level 2, and the priority of the third attribute to level 1, with higher priority values ​​indicating higher priority levels. When multiple domain spaces act on the same attribute affinity object simultaneously, the domain effect with the highest priority level takes effect first. In another embodiment, priority is determined based on the chronological order in which each domain space acts on the attribute affinity object, i.e., the domain space that first identifies the scene environment object as the attribute affinity object receives the highest priority, and subsequent domain spaces are arranged in chronological order. In yet another embodiment, priority is determined based on the permission level of each virtual object in the virtual scene; for example, the domain space of a team leader or room owner enjoys higher priority. In yet another embodiment, priority can be determined based on the spatial distance between each domain space and the attribute affinity object, with domain spaces that are closer to each other having higher priority. After determining the priority of each domain space, the client writes the priority information into the domain influence list of the attribute affinity object for use in subsequent steps.

[0147] Step S3372: Apply the domain effect of the multiple virtual objects to the attribute affinity objects in sequence or by selecting one pair according to the priority.

[0148] After determining the priority of each domain space, the client applies domain effects to attribute affinity objects according to the preset application strategy. The application strategy can include two modes: sequential application and selective application.

[0149] In one embodiment, the client employs a sequential application mode, applying the domain effects of each domain space to the attribute affinity object in descending order of priority. High-priority domain effects take effect first and last for their complete duration. Once the duration of a high-priority domain effect ends or the attribute affinity object recovers from its temporary state to its original, natural state, the next highest priority domain effect takes effect, and so on. For example, in a virtual scene, three domain spaces simultaneously act on the same attribute affinity object, with priorities of level 3 for the first attribute, level 2 for the second attribute, and level 1 for the third attribute. The client first applies the deconstruction effect corresponding to the first attribute to the attribute affinity object, causing the object to lose its collision attribute for 5 seconds. After 5 seconds, the object recovers to its original state, and the client then applies the stasis effect corresponding to the second attribute, pausing the object's motion for 4 seconds. After 4 seconds, the object again recovers to its original state, and finally, the client applies the proliferation effect corresponding to the third attribute, increasing the object's volume to twice its original size for 3 seconds. This sequential application pattern allows the domain effects of multiple virtual objects to have the opportunity to act on objects with the same attribute affinity. The effects of each domain do not interfere with each other, making it suitable for cooperative puzzle-solving scenarios, such as when multiple players need to use abilities with different attributes in sequence to unlock a complex mechanism.

[0150] In another embodiment, the client employs a selective application mode, applying only the domain effect corresponding to the highest priority domain space to the attribute affinity object, while domain effects from other lower priority domain spaces are either temporarily ineffective or discarded. For example, in a virtual scene, two domain spaces may simultaneously act on the same attribute affinity object, with priorities of level 3 for the first attribute and level 2 for the second attribute. The client only applies the deconstruction effect corresponding to the first attribute, causing the object to lose its collision attribute, while the stagnation effect corresponding to the second attribute is not executed. In selective application mode, the client can send a prompt to the virtual object belonging to the lower priority domain space, such as displaying a text message in the user interface indicating that the current object has been locked by another user's domain effect, or displaying an identifier above the object indicating the name of the virtual object belonging to the currently effective domain space and the type of the target affinity attribute. This selective application mode avoids logical conflicts and visual confusion caused by multiple domain effects acting on the same object simultaneously, and is suitable for competitive scenarios or scenarios requiring precise control over interaction results.

[0151] In one embodiment, the client can provide configuration options allowing game administrators or room owners to switch between sequential application mode and selective application mode to adapt to different types of gameplay and scenario requirements. In another embodiment, the client can automatically select the application mode based on the type of attribute affinity object. For example, a sequential application mode can be used for mechanism-type attribute affinity objects to support multiplayer cooperative puzzle solving, while a selective application mode can be used for collectible attribute affinity objects to avoid resource contention conflicts.

[0152] The above embodiments, as an organic whole, provide an orderly conflict resolution mechanism for situations where multiple virtual objects simultaneously apply domain effects to the same scene environment object in a multiplayer online mode. By introducing priority rules, the client can determine the order of action when multiple domain effects compete for the same target, avoiding logical conflicts and state confusion. Whether applying sequentially or selectively, the state changes of attribute-affinity objects are guaranteed to be deterministic and predictable, and each virtual object can clearly perceive whether and when its domain effect is effective. This arbitration mechanism preserves the possibility of multiplayer collaborative interaction while maintaining the consistency and fairness of the scene state, enabling the technical solution of this application to smoothly expand from single-player scenarios to multiplayer online scenarios, adapting to a wider range of application needs.

[0153] Based on any embodiment of the method in this application, according to the target affinity attribute of the pre-assembled virtual props, a domain space capable of moving with the virtual object in the virtual scene is generated, including: Step S3110: In response to the domain expansion event triggered by the virtual object assembling the virtual props onto the virtual carrier in the virtual scene, according to the current orientation of the virtual carrier, a ray is projected from the virtual carrier as the origin to the forward direction of the virtual carrier to generate a domain space. When virtual objects explore a virtual scene, they can acquire virtual props to enable them to interact with the environment. These virtual props possess specific target affinity attributes, such as fire, water, or wood. Virtual objects equip these props to pre-defined virtual carriers within the virtual scene. These carriers are specialized equipment held by the virtual object, such as a wrist accessory called a "Love Lock," a lantern, or a mechanism inherent in the virtual scene, such as a lamp holder. Once the assembly is complete, the virtual carrier and prop are combined and activated. Upon detecting the assembly event, the client generates a domain expansion event.

[0154] In response to the domain expansion event, the client projects a ray of light from the virtual carrier's current orientation within the virtual scene, using the virtual carrier's location as the origin, along the forward direction of the virtual carrier. This ray forms a domain space with a conical or fan-shaped cross-section within the virtual scene. The shape of the domain space is determined by the projection angle and diffusion range of the light. In one embodiment, the light diffuses forward from the virtual carrier as the origin, forming a conical area with a vertices of 60 degrees and a length of 15 meters. In another embodiment, the light spreads forward in a fan shape from the virtual carrier as the origin, forming a fan-shaped area with a central angle of 90 degrees and a radius of 12 meters. The domain space has an attribute tag corresponding to the target affinity attribute of the virtual item. For example, when the target affinity attribute of the virtual item is fire, the domain space is marked as a fire attribute domain, and the light displays a fiery red halo and flame particle effects; when the target affinity attribute is water, the light displays an icy blue frost halo and ice crystal particle effects; when the target affinity attribute is wood, the light displays a vibrant green life halo and leaf particle effects.

[0155] After the domain space is generated, the client continuously detects scene environment objects entering the range of the light projection, determining whether they match the target affinity attribute. When a match is found, the object is identified as an attribute affinity object, and the domain effect corresponding to the target affinity attribute is applied to it to change its natural state in the virtual scene. For example, when a virtual object is equipped with a fire attribute virtual prop and projects a fire attribute light forward, if the light shines on a broken wall with fire attribute affinity, the broken wall is identified as an attribute affinity object. The client applies a deconstruction effect to it, and the broken wall gradually disintegrates and dissipates, revealing the previously obscured passage. Similarly, when a virtual object is equipped with a wood attribute virtual prop and the light shines on a short vine, the vine is identified as an attribute affinity object. The client applies a proliferation effect to it, and the vine rapidly grows and spreads, forming a thick, climbable vine.

[0156] Step S3120: In response to the virtual object moving in the virtual scene, control the virtual carrier to rotate synchronously so as to change the position of the domain space.

[0157] As virtual objects move within a virtual scene, the client continuously monitors changes in the virtual object's position and the virtual carrier's posture. A fixed attachment relationship exists between the virtual carrier and the virtual object. When a virtual object moves forward, the virtual carrier translates synchronously with the virtual object's arm or body, and the light projection originating from the virtual carrier also translates accordingly, ensuring the domain space remains in the forward direction of the virtual carrier. When a virtual object turns, the virtual carrier rotates synchronously with the virtual object's body or arm, changing the direction of the light projection, and the position and orientation of the domain space within the virtual scene are updated synchronously. In one embodiment, the virtual object holding a lantern turns 90 degrees to the left, the lantern rotates to the left with its arm, and the light sweeps from the left front to the left, switching the domain space from a cone-shaped area covering the left side to a cone-shaped area covering the due left direction. In another embodiment, the virtual object continuously changes direction while running, and the lantern's light continuously sweeps across the virtual scene, constantly including newly entering scene environment objects within the light's range in the detection, while removing scene environment objects leaving the light's range from the detection. In each frame rendering loop, the client recalculates the starting point and direction of light projection based on the virtual object's current position and orientation, updates the spatial extent of the domain space, and performs affinity detection on newly entered scene environment objects. This dynamic update mechanism allows virtual objects to flexibly select and control the area of ​​effect of the domain space by adjusting their own position and orientation, without having to stand still and wait for the domain space to automatically cover the target. In one embodiment, a virtual object discovers a vine with wood affinity in the distance, and then holds a lantern equipped with a wood-attribute virtual prop and turns it towards the vine. The light is projected onto the vine, and after the vine enters the domain space, it is detected as a matching object and determined to be an attribute-affinity object. The client applies a growth effect to it, and the vine grows and spreads to form a path. In another embodiment, when exploring a maze, the virtual object continuously adjusts the orientation of the lantern, causing the light to sweep in different directions, detecting scene environment objects at each fork in the road one by one, and looking for mechanisms or passage entrances with interactive attributes.

[0158] When the above embodiments are applied as an organic whole, by shifting the anchor point for the generation of the domain space from the virtual object itself to the virtual carrier, and defining the spatial form of the domain space through light projection, a more flexible following relationship between the domain space and the virtual object is achieved. The virtual object does not need to unfold a spherical domain space centered on itself; instead, the direction of the domain space's action can be precisely controlled through the orientation of the virtual carrier, making the interaction more directional and purposeful. Simultaneously, because the domain space is presented in the form of light projection, its spatial range is visually clearer and more discernible. Users can directly observe the area covered by the light, intuitively understanding which scene objects are currently detectable and interactive. Furthermore, the mechanism of the virtual carrier rotating synchronously with the virtual object's movement allows the position and orientation of the domain space to respond to the user's operational intentions in real time. Users only need to adjust their own movement direction and the orientation of the virtual carrier to flexibly sweep across different areas of the virtual scene, without frequently switching props or re-triggering the domain unfolding event, improving the smoothness of interaction and exploration efficiency.

[0159] Please see Figure 4 According to one aspect of this application, a virtual scene interaction device includes a domain expansion module 3100, an object matching module 3200, and an effect application module 3300. The domain expansion module 3100 is configured to, in response to a domain expansion event, generate a domain space for virtual objects in the virtual scene that can move with the virtual objects based on the target affinity attributes of pre-assembled virtual props. The object matching module 3200 is configured to identify scene environment objects in the virtual scene that enter the domain space and match the target affinity attributes as attribute affinity objects. The effect application module 3300 is configured to apply the domain effect of the target affinity attributes to the attribute affinity objects to change the natural state of the attribute affinity objects in the virtual scene.

[0160] Based on any embodiment of the device in this application, prior to the domain expansion module 3100, the device further includes: a loading and assembly module, configured to determine, in response to an attribute item loading event, a virtual item with a target affinity attribute to be assembled for the virtual object; a combination and activation module, configured to combine and activate the virtual item with a preset carrier held by the virtual object; and an event triggering module, configured to generate the domain expansion event in response to an interactive triggering operation.

[0161] Based on any embodiment of the device in this application, prior to the domain expansion module 3100, this device further includes: an ecosystem identification module, configured to determine the current environment ecosystem type of the virtual object in the virtual scene; and a quick configuration module, configured to configure and display quick operation areas of virtual props that match the environment ecosystem type, so as to trigger the domain expansion event.

[0162] Based on any embodiment of the device in this application, the object matching module 3200 includes: a matching display module, configured to highlight the scene environment object when it is detected that a scene environment object entering the domain space matches the target affinity attribute; and an object selection module, configured to determine the selected scene environment object as an attribute affinity object in response to a selection operation on the highlighted scene environment object.

[0163] Based on any embodiment of the device in this application, the effect module 3300 includes: a temporary switching module, configured to apply corresponding domain effects to the attribute affinity object to display a domain effect, thereby changing the natural state of the attribute affinity object in the virtual scene from its original state to a temporary state through the domain effects; and a state restoration module, configured to restore the attribute affinity object from the temporary state to its original state when a preset restoration condition is met, wherein the preset restoration condition includes at least one of the following: the duration of the temporary state or the domain space exceeds a preset threshold, the attribute affinity object leaves the domain space, or the user or its virtual object triggers a specific restoration event.

[0164] Based on any embodiment of the device in this application, the effect module 3300 includes: when the target affinity attribute is a first attribute, the domain effect includes a deconstruction effect and / or a reconstruction effect; when the target affinity attribute is a second attribute, the domain effect includes a stagnation effect; and when the target affinity attribute is a third attribute, the domain effect includes a proliferation effect.

[0165] Based on any embodiment of the device in this application, the effect application module 3300 includes: an attachment determination module, configured to take a scene environment object in the virtual scene that has a preset association relationship with the attribute affinity object as an attachment object; and an object construction module, configured to apply the domain effect to the attribute affinity object to construct a temporary scene object based on the attachment object, and change the appearance state of the attachment object through the domain effect corresponding to the domain effect of the attribute affinity object to indicate that the attachment object has been constructed as a temporary scene object.

[0166] Based on any embodiment of the device in this application, the effect application module 3300 includes: a transmission determination module, configured to take a scene environment object in the virtual scene that has a preset association with the attribute affinity object as the target transmission object; and a motion change module, configured to apply the domain effect to the attribute affinity object to cause the attribute affinity object to change the motion state of the target transmission object in conjunction with the domain effect, and to change the appearance state of the target transmission object through the domain effect corresponding to the domain effect.

[0167] Based on any embodiment of the device in this application, the effect application module 3300 further includes: an exposure determination module, configured to take a scene environment object in the virtual scene that has a preset association with the attribute affinity object as the target exposure object; and a collision loss module, configured to apply the domain effect to the attribute affinity object to make the attribute affinity object lose its collision attribute, so as to expose the target exposure object, and change the appearance state of the target exposure object through the domain effect corresponding to the domain effect to indicate that the target exposure object has been exposed.

[0168] Based on any embodiment of the device in this application, the effect application module 3300 further includes: a reconstruction determination module, configured to take a scene environment object in the virtual scene that has a preset association relationship with the attribute affinity object as the target reconstruction object; and a collision acquisition module, configured to apply the domain effect to the attribute affinity object to make the attribute affinity object regain the collision attribute, so as to reconstruct the target reconstruction object, and change the appearance state of the target reconstruction object through the domain effect corresponding to the domain effect to indicate that the target reconstruction object has been reconstructed.

[0169] Based on any embodiment of the device in this application, the effect application module 3300 includes: a level recognition module, configured to determine, in a multiplayer online mode, whether the attribute affinity object has entered multiple domain spaces corresponding to multiple virtual objects, and if so, determine the priority of each domain space; and an application control module, configured to apply the domain effect of the multiple virtual objects to the attribute affinity object sequentially or selectively according to the priority.

[0170] Based on any embodiment of the device in this application, the domain expansion module 3100 includes: an assembly response module, configured to respond to a domain expansion event triggered by the virtual object assembling the virtual prop to a virtual carrier in a virtual scene, and to project light rays from the virtual carrier as the origin to the forward direction of the virtual carrier to generate a domain space according to the current orientation of the virtual carrier; and a movement change module, configured to respond to the movement of the virtual object in the virtual scene, and to control the virtual carrier to rotate synchronously to change the position of the domain space.

[0171] Another embodiment of this application also provides an electronic device. For example... Figure 5 The diagram shows the internal structure of an electronic device. This electronic device includes a processor, a computer-readable storage medium, a memory, and a network interface connected via a system bus. The computer-readable, non-volatile storage medium stores an operating system, a database, and computer-readable instructions. The database can store information sequences, and when executed by the processor, the computer-readable instructions enable the processor to implement a virtual scene interaction method.

[0172] The processor of this electronic device provides computing and control capabilities to support the operation of the entire device. The memory of this electronic device can store computer-readable instructions, which, when executed by the processor, cause the processor to perform the virtual scene interaction method of this application. The network interface of this electronic device is used for communication with a terminal.

[0173] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0174] In this embodiment, the processor is used to execute... Figure 4 The specific functions of each module are described, and the memory stores the program code and various data required to execute the aforementioned modules or sub-modules. The network interface is used to enable data transmission between user terminals or the server. In this embodiment, the non-volatile readable storage medium stores the program code and data required to execute all modules in the virtual scene interaction device of this application. The server can call the server's program code and data to execute the functions of all modules.

[0175] This application also provides a non-volatile readable storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the virtual scene interaction method of any embodiment of this application.

[0176] This application also provides a computer program product, including a computer program / instructions that, when executed by one or more processors, implement the steps of the method described in any embodiment of this application.

[0177] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The aforementioned storage medium can be a computer-readable storage medium such as a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM).

Claims

1. A virtual scene interaction method, characterized in that, Includes the following steps: In response to a domain expansion event, a domain space capable of moving with the virtual object is generated for the virtual object in the virtual scene based on the target affinity attribute of the pre-assembled virtual props. The scene environment object that enters the domain space in the virtual scene and matches the target affinity attribute is identified as the attribute affinity object; The domain effect of the target affinity attribute is applied to the attribute affinity object to change the natural state of the attribute affinity object in the virtual scene.

2. The virtual scene interaction method according to claim 1, characterized in that, In response to the domain expansion event, it also includes: In response to the attribute item loading event, determine the virtual item with the target affinity attribute that is equipped for the virtual object; Combine the virtual item with the preset carrier held by the virtual object and activate it; In response to an interactive trigger operation, the field expansion event is generated.

3. The virtual scene interaction method according to claim 1, characterized in that, In response to the domain expansion event, it also includes: Determine the current environmental ecology type of the virtual object in the virtual scene; Based on the environmental ecology type, configure and display the shortcut operation area of ​​virtual props that match the environmental ecology type, so as to trigger the field expansion event.

4. The virtual scene interaction method according to claim 1, characterized in that, Determining scene environment objects that enter the domain space in the virtual scene and match the target affinity attribute as attribute affinity objects includes: When a scene environment object entering the domain space is detected to match the target affinity attribute, the scene environment object is highlighted; In response to the selection operation of the highlighted scene environment object, the selected scene environment object is determined to be an attribute affinity object.

5. The virtual scene interaction method according to any one of claims 1 to 4, characterized in that, Applying the domain effect of the target affinity attribute to the attribute affinity object to change the natural state of the attribute affinity object in the virtual scene includes: Apply corresponding domain effects to the attribute affinity object to demonstrate domain effects, and use the domain effects to transform the natural state of the attribute affinity object in the virtual scene from its original state to a temporary state; When the preset recovery conditions are met, the attribute affinity object is restored from the temporary state to the original state.

6. The virtual scene interaction method according to any one of claims 1 to 4, characterized in that: When the target affinity attribute is the first attribute, the domain effect includes deconstruction effect and / or reconstruction effect; When the target affinity attribute is a second attribute, the domain effect includes the stagnation effect; When the target affinity attribute is a third attribute, the domain effect includes a proliferation effect.

7. The virtual scene interaction method according to any one of claims 1 to 4, characterized in that, Applying the domain effect of the target affinity attribute to the attribute affinity object includes: The scene environment object in the virtual scene that has a preset association with the attribute affinity object is taken as the dependent object; The domain effect is applied to the attribute affinity object to construct a temporary scene object, and the appearance state of the dependent object is changed by the domain effect corresponding to the domain effect of the attribute affinity object to indicate that the dependent object has been constructed as a temporary scene object, and the temporary scene object is based on the dependent object.

8. The virtual scene interaction method according to any one of claims 1 to 4, characterized in that, Applying the domain effect of the target affinity attribute to the attribute affinity object includes: The scene environment object in the virtual scene that has a preset association with the attribute affinity object is used as the target transmission object; The domain effect is applied to the attribute affinity object to cause the attribute affinity object to change the motion state of the target delivery object in conjunction with the domain effect, and the appearance state of the target delivery object is changed through the domain effect corresponding to the domain effect.

9. The virtual scene interaction method according to any one of claims 1 to 4, characterized in that, Applying the domain effect of the target affinity attribute to the attribute affinity object includes: The scene environment object in the virtual scene that has a preset association with the attribute affinity object is taken as the target exposure object; The domain effect is applied to the attribute affinity object to cause the attribute affinity object to lose its collision attribute, thereby revealing the target revealed object. The appearance state of the target revealed object is changed through the domain effect corresponding to the domain effect, so as to indicate that the target revealed object has been revealed.

10. The virtual scene interaction method according to any one of claims 1 to 4, characterized in that, Applying the domain effect of the target affinity attribute to the attribute affinity object includes: The scene environment object in the virtual scene that has a preset association with the attribute affinity object is taken as the target reconstruction object; The domain effect is applied to the attribute affinity object to make the attribute affinity object regain the collision attribute, so as to reconstruct the target reconstruction object. The appearance state of the target reconstruction object is changed by the domain effect corresponding to the domain effect to indicate that the target reconstruction object has been reconstructed.

11. The virtual scene interaction method according to any one of claims 1 to 4, characterized in that, Applying the domain effect of the target affinity attribute to the attribute affinity object includes: In multiplayer mode, determine whether the attribute affinity object has entered multiple domain spaces corresponding to multiple virtual objects. If so, determine the priority of each domain space. The domain effect of the multiple virtual objects is applied to the attribute affinity objects in sequence or by selecting one pair according to the priority.

12. The virtual scene interaction method according to any one of claims 1 to 4, characterized in that, Based on the target affinity attributes of pre-assembled virtual props, a domain space capable of moving with the virtual objects in the virtual scene is generated, including: In response to the domain expansion event triggered by the virtual object assembling the virtual props onto the virtual carrier in the virtual scene, a domain space is generated by projecting light rays from the virtual carrier as the origin to the forward direction of the virtual carrier, based on the current orientation of the virtual carrier. In response to the movement of the virtual object in the virtual scene, the virtual carrier is controlled to rotate synchronously to change its position in the domain space.

13. A virtual scene interaction device, characterized in that, include: The domain expansion module is configured to respond to a domain expansion event and generate a domain space for virtual objects in a virtual scene that can move with the virtual objects based on the target affinity attributes of pre-assembled virtual props. The object matching module is configured to identify scene environment objects in the virtual scene that enter the domain space and match the target affinity attribute as attribute affinity objects. The effect application module is configured to apply the domain effect of the target affinity attribute to the attribute affinity object in order to change the natural state of the attribute affinity object in the virtual scene.