Method and apparatus for controlling virtual vehicle, and storage medium and electronic device

By introducing intelligent control elements into virtual vehicles, providing driving assistance and information prompts, the problem of insufficient control accuracy of virtual vehicles is solved, and a safer and smoother driving experience is achieved.

WO2025156979A1PCT designated stage Publication Date: 2025-07-31TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/070637
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-01-26
Filing Date
2025-01-06
Publication Date
2025-07-31

AI Technical Summary

Technical Problem

In the control scenario of virtual vehicles, the control accuracy of virtual vehicles is insufficient, resulting in overturning and virtual characters being damaged, especially when driving at high speeds.

Method used

Introduce intelligent control elements to improve control accuracy by displaying intelligent controls and assisting to control virtual characters to detach or continue driving virtual vehicles in a safe state.

Benefits of technology

Effectively avoid overturns and other safety accidents, improve the control accuracy of virtual vehicles, and enhance player operation safety and gaming experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025070637_31072025_PF_FP_ABST
    Figure CN2025070637_31072025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are a method and apparatus for controlling a virtual vehicle, and a storage medium and an electronic device. The method comprises: displaying a virtual vehicle driven by a virtual character, and an intelligent control element; when the intelligent control element is of a disengagement control type, in response to an operation triggered on the basis of the intelligent control element, controlling the virtual character to disengage from the virtual vehicle in a safe state; and when the intelligent control element is of a driving control type, assisting, by means of the intelligent control element, in controlling the virtual character to continue driving the virtual vehicle in the safe state. The present application solves the technical problem of the control accuracy for a virtual vehicle being relatively low.
Need to check novelty before this filing date? Find Prior Art

Description

Control method, device, storage medium and electronic device for virtual vehicle

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on January 26, 2024, with application number 2024101248224 and application name “Control method, device, storage medium and electronic device for virtual vehicle”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of game technology, and in particular to virtual vehicle control technology. Background Art

[0003] In virtual vehicle control scenarios, insufficient control accuracy often causes the virtual vehicle to overturn or even be destroyed, especially when the virtual vehicle is traveling at a high speed. This can cause damage to the virtual character driving or riding the virtual vehicle.

[0004] However, there is currently no effective solution to the problem of low control accuracy of virtual vehicles. Summary of the Invention

[0005] The embodiments of the present application provide a method, device, storage medium, and electronic device for controlling a virtual vehicle, which can improve the control accuracy of the virtual vehicle.

[0006] According to one aspect of an embodiment of the present application, a method for controlling a virtual vehicle is provided, which is executed by an electronic device and includes: displaying a virtual vehicle and an intelligent control element driven by a virtual character; in a case where the above-mentioned intelligent control element belongs to a separation control type, in response to an operation triggered based on the above-mentioned intelligent control element, controlling the above-mentioned virtual character to separate from the above-mentioned virtual vehicle in the above-mentioned safe state; in a case where the above-mentioned intelligent control element belongs to a driving control type, assisting in controlling the above-mentioned virtual character to continue driving the above-mentioned virtual vehicle in the above-mentioned safe state through the above-mentioned intelligent control element.

[0007] According to another aspect of an embodiment of the present application, a control device for a virtual vehicle is also provided, including: a display unit for displaying a virtual vehicle and an intelligent control element driven by a virtual character; a first control unit for controlling the virtual character to detach from the virtual vehicle in the above-mentioned safe state in response to an operation triggered based on the above-mentioned intelligent control element when the above-mentioned intelligent control element belongs to a detachment control type; and a second control unit for assisting in controlling the above-mentioned virtual character to continue driving the above-mentioned virtual vehicle in the above-mentioned safe state through the above-mentioned intelligent control element when the above-mentioned intelligent control element belongs to a driving control type.

[0008] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided, which includes a stored program, wherein the program executes the above virtual vehicle control method when executed by an electronic device.

[0009] According to another aspect of an embodiment of the present application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the above-described virtual vehicle control method.

[0010] According to another aspect of an embodiment of the present application, an electronic device is also provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the virtual vehicle control method through the computer program.

[0011] In an embodiment of the present application, a virtual vehicle driven by a virtual character and an intelligent control element are displayed; in the case where the intelligent control element belongs to the disengagement control type, in response to an operation triggered by the intelligent control element, the virtual character is controlled to disengage from the virtual vehicle in the above-mentioned safe state; in the case where the intelligent control element belongs to the driving control type, the intelligent control element is used to assist in controlling the virtual character to continue driving the virtual vehicle in the above-mentioned safe state. By introducing the intelligent control element, the relationship between the virtual character and the virtual vehicle is assisted in controlling, thereby improving the control accuracy of the virtual character when driving the virtual vehicle, thereby avoiding the occurrence of safety accidents such as rollover and destruction, and being able to safely disengage or continue driving the virtual vehicle when necessary, thereby achieving the purpose of adapting and compensating to a certain extent through the intelligent control element even if the player's operation is not accurate or timely, thereby reducing the risk of accidents caused by control errors, thereby achieving the technical effect of improving the control accuracy of the virtual vehicle, and solving the technical problem of low control accuracy of the virtual vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0013] FIG1 is a schematic diagram of an application environment of an optional virtual vehicle control method according to an embodiment of the present application;

[0014] FIG2 is a schematic diagram of a process of an optional virtual vehicle control method according to an embodiment of the present application;

[0015] FIG3 is a schematic diagram of an optional method for controlling a virtual vehicle according to an embodiment of the present application;

[0016] FIG4 is a schematic diagram of another optional virtual vehicle control method according to an embodiment of the present application;

[0017] FIG5 is a schematic diagram of another optional virtual vehicle control method according to an embodiment of the present application;

[0018] FIG6 is a schematic diagram of another optional virtual vehicle control method according to an embodiment of the present application;

[0019] FIG7 is a schematic diagram of another optional virtual vehicle control method according to an embodiment of the present application;

[0020] FIG8 is a schematic diagram of another optional virtual vehicle control method according to an embodiment of the present application;

[0021] FIG9 is a schematic diagram of another optional virtual vehicle control method according to an embodiment of the present application;

[0022] FIG10 is a schematic diagram of another optional virtual vehicle control method according to an embodiment of the present application;

[0023] FIG11 is a schematic diagram of another optional virtual vehicle control method according to an embodiment of the present application;

[0024] FIG12 is a schematic diagram of another optional virtual vehicle control method according to an embodiment of the present application;

[0025] FIG13 is a schematic diagram of another optional virtual vehicle control method according to an embodiment of the present application;

[0026] FIG14 is a schematic diagram of an optional control device for a virtual vehicle according to an embodiment of the present application;

[0027] FIG15 is a schematic structural diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] According to one aspect of an embodiment of the present application, a method for controlling a virtual vehicle is provided. Optionally, as an optional implementation, the method for controlling a virtual vehicle may be, but is not limited to, applied in the environment shown in FIG1 . The method may include, but is not limited to, a user device 102 and a server 112 . The user device 102 may include, but is not limited to, a display 104 , a processor 106 , and a memory 108 . The server 112 may include, but is not limited to, a database 114 and a processing engine 116 .

[0031] The specific process can be as follows:

[0032] Step S102: The user equipment 102 obtains an assist control instruction triggered by the intelligent control element;

[0033] Step S104 , sending the assistance control instruction to the server 112 via the network 110 ;

[0034] In steps S106-S108, the server 112 responds to the assisting control instruction through the processing engine 116, determines the type of the intelligent control element from the database 114, and further obtains an intelligent control instruction for assisting the virtual character in safely detaching from the virtual vehicle, or an intelligent control instruction for assisting the virtual character in safely continuing to drive the virtual vehicle.

[0035] In step S110, the intelligent control instruction is sent to the user device 102 via the network 110. The user device 102 responds to the intelligent control instruction via the processor 106, controls the virtual character to detach from the virtual vehicle in a safe state, or assists in controlling the virtual character to continue driving the virtual vehicle in a safe state, and displays the control result on the display 104, and stores the above intelligent control instruction in the memory 108.

[0036] In addition to the example shown in Figure 1, the above-mentioned terminal device can be a terminal device configured with a target client, which can include but is not limited to at least one of the following: a mobile phone (such as an Android phone, an iOS phone, etc.), a laptop computer, a tablet computer, a PDA, an MID (Mobile Internet Devices), a PAD, a desktop computer, a smart TV, etc. The target client can be a game client, a video client, an instant messaging client, a browser client, an education client, etc. The above-mentioned network can include but is not limited to: a wired network, a wireless network, wherein the wired network includes: a local area network, a metropolitan area network and a wide area network, and the wireless network includes: Bluetooth, WIFI and other networks that realize wireless communication. The above-mentioned server can be a single server, or it can be a server cluster composed of multiple servers, or a cloud server. The above is only an example and is not limited to this in this embodiment.

[0037] Optionally, as an optional implementation, as shown in FIG2 , the method for controlling a virtual vehicle may be executed by an electronic device, which may be, for example, a user device or a server as shown in FIG1 , and the specific steps include:

[0038] S202, displaying a virtual vehicle driven by a virtual character and intelligent control elements;

[0039] S204, in a case where the intelligent control element is of the escape control type, in response to an operation triggered by the intelligent control element, controlling the virtual character to escape from the virtual vehicle in a safe state;

[0040] S206 , when the intelligent control element belongs to the driving control type, assist in controlling the virtual character to continue driving the virtual vehicle in a safe state through the intelligent control element.

[0041] Optionally, in this embodiment, the aforementioned virtual vehicle control method can be applied, but is not limited to, in game scenarios featuring virtual motorcycles. Virtual motorcycles are generally the fastest, smallest, most maneuverable, and most visually appealing virtual vehicles, making them the preferred choice for advanced players. Excellent driving skills can enable players to reach their destinations as quickly as possible using a virtual motorcycle, or even reach locations inaccessible to other virtual characters, thereby occupying advantageous terrain and ultimately giving them an advantage in combat.

[0042] However, as a two-wheeled vehicle, a virtual motorcycle vehicle has poor stability and is prone to rollover. The risk of rollover increases significantly when traveling at high speeds or over rough terrain. Once a rollover occurs, the player's virtual character may be injured, which is disadvantageous in the game. The virtual vehicle control method in the embodiment of the present application improves the control accuracy of the virtual motorcycle vehicle by introducing intelligent control elements, thereby reducing the risk of rollover. When a potentially dangerous situation is detected, such as excessive speed or rough terrain, the intelligent control elements will assist the player in safely disengaging the virtual motorcycle vehicle to prevent injury to the virtual character.

[0043] Secondly, virtual motorcycle vehicles are also prone to overturning when landing after driving over a landslide or flying through the air. This is because the change in the contact surface at the moment of landing may cause the virtual motorcycle vehicle to lose balance. The intelligent control elements in the virtual vehicle control method in the embodiments of this application can also play a role in this situation. While the virtual motorcycle vehicle is flying through the air, the flight trajectory and the terrain at the landing point can be analyzed. The intelligent control elements can provide suggested operational guidance, such as adjusting the flight posture or landing speed, to help the player control the virtual character to continue driving the motorcycle vehicle in a safe state.

[0044] Furthermore, the virtual vehicle control method in the embodiments of the present application can also address the lack of corresponding driving assistance and information prompts for virtual motorcycle vehicles in games. For example, if a player controls a virtual character driving a virtual motorcycle and needs to stop the vehicle urgently, the intelligent control element can provide a parking control function to assist the player in controlling the virtual character to park safely in an emergency. For another example, if a player controls a virtual character flying uphill on a virtual motorcycle to the rooftop, the intelligent control element can provide clear information prompts, such as the optimal takeoff point, flight trajectory, and landing location, to reduce the difficulty of operation and increase the success rate.

[0045] In summary, applying the virtual vehicle control method of the embodiments of this application to a game scenario featuring a virtual motorcycle vehicle can effectively address issues such as poor stability, easy rollover, and a lack of driving assistance and information prompts. By introducing intelligent control elements, control accuracy is improved, risk is reduced, and corresponding driving assistance and information prompts are provided to meet the player's advanced needs when controlling a virtual character driving a virtual motorcycle vehicle. This, in turn, improves the control accuracy of the virtual motorcycle vehicle, which will also help increase the usage rate of the virtual motorcycle vehicle in the game and enhance the player's gaming experience.

[0046] Optionally, when a player controls a virtual character to drive a virtual vehicle (e.g., a virtual car, a virtual motorcycle, etc.), this embodiment will display the virtual vehicle and provide some intelligent control elements. These intelligent control elements are designed to help players control the virtual character and virtual vehicle more safely and effectively, especially when facing potential dangers or requiring difficult operations.

[0047] Optionally, in this embodiment, the virtual character can be a virtual object controlled by the player in the game, representing the player's identity, and can perform various actions and tasks, such as driving a vehicle, running, jumping, etc.

[0048] Optionally, in this embodiment, the virtual vehicle may be a virtual transportation tool used by a virtual character in a virtual environment, such as a game or simulator, such as a car, motorcycle, airplane, or ship, for rapid movement or execution of specific tasks in the virtual world.

[0049] Optionally, in this embodiment, the intelligent control element can be a special element or function on the user interface, which uses algorithms and preset logic to assist players in indirectly or directly controlling virtual characters and virtual vehicles. It can also provide real-time suggestions, warnings, or automatically control virtual characters or virtual vehicles based on the current game status, the performance of the virtual vehicle and the player's operations.

[0050] Optionally, in this embodiment, controlling the virtual character to detach from or continue driving the virtual vehicle in a safe state can be understood as a function provided by the intelligent control element, which can help the player control the virtual character when necessary so that the player can safely detach from the virtual vehicle (such as jumping out of the vehicle) or continue driving the vehicle in dangerous situations (such as preventing rollover through the automatic stabilization system), and can also provide the player with control reference information in some cases.

[0051] To further illustrate, optionally, assume that in an open world game, the player controls a virtual character driving a high-speed virtual motorcycle vehicle. When the virtual motorcycle vehicle loses control on a steep mountain road, a flashing "emergency escape" button (intelligent control element) may appear on the game interface. After the player presses this button, the virtual character will perform a safe jump, jump off the virtual motorcycle vehicle, and roll to a safe location. Similarly, if the player encounters a small obstacle while controlling the virtual character's driving, but there is still a possibility of control, this embodiment may help the virtual character continue to drive safely by automatically adjusting the speed and direction of the virtual motorcycle vehicle (through intelligent control elements).

[0052] Optionally, when an intelligent control element of the escape control type is activated or selected, that is, when the intelligent control element of the escape control type is triggered, this embodiment can help the player control the virtual character so that the virtual character can escape from the virtual vehicle being driven in a safe manner.

[0053] To further illustrate, let's assume, for example, that in a racing game, the player's avatar is driving a virtual race car. Due to excessive speed and a sharp turn ahead, the car is about to lose control and crash into the guardrail beside the track. At this point, a prominent "Emergency Escape" button (a type of intelligent control element known as an escape control) might appear on the game interface. Upon pressing this button, the player's avatar immediately ejects from the race car, performs a mid-air roll, and lands safely on the grass beside the track, avoiding a collision with the guardrail.

[0054] Optionally, when the intelligent control element of the driving control type is activated or selected, that is, when the intelligent control element of the driving control type is triggered, this embodiment can provide assistance or direct help when the player controls the virtual character to drive the virtual vehicle, helping the player to maintain control of the virtual vehicle so that the virtual character can continue driving in a safe state.

[0055] To further illustrate, optionally, assume that in an off-road driving game, the player's virtual character is driving a virtual off-road vehicle through a rugged mountain road. Because the terrain is complex and full of obstacles, the player may encounter difficulties, such as wheel slippage, loss of direction, etc. In this case, a "stability control" button (an intelligent control element belonging to the driving control type) will be displayed on the game interface. After the player activates this button, this embodiment will intervene and help adjust the vehicle's power output, braking, and steering to ensure that the virtual off-road vehicle can safely pass through this difficult terrain; or,

[0056] In the above situation, the game interface will display control reference information on how to pass the above mountain road section to help players control the virtual vehicle based on the control reference information, so that the virtual character can continue driving in a safe state.

[0057] It should be noted that, through the clever introduction of intelligent control elements, this embodiment significantly enhances the control accuracy of virtual characters when driving virtual vehicles. This innovation not only effectively prevents potential safety hazards such as rollovers and destruction, but also ensures that at critical moments, players can freely choose to control their virtual characters to safely disengage or continue driving. Even if there are deviations or delays in the player's operation, the intelligent control elements can quickly adapt and compensate, significantly reducing the risk of accidents caused by human error. As a result, this embodiment successfully achieves a technological breakthrough in improving the accuracy of virtual vehicle control, providing players with a smoother and safer driving experience.

[0058] To further illustrate, optionally, as shown in (a) of FIG3 , a virtual vehicle 304 driven by a virtual character 302 and an intelligent control element 306 of the escape control type are displayed. At the same time, in order to facilitate understanding of the function of the intelligent control element 306 , an ordinary control element 308 is also used as an example. Further, as shown in (b) of FIG3 , after the player clicks the intelligent control element 306 , the virtual character 302 is controlled to escape from the virtual vehicle 304 in a safe state.

[0059] If the player clicks the normal control element 308, the virtual character 302 will be controlled to directly leave the virtual vehicle 304, but there is no guarantee whether the virtual character 302 is in a safe state, or the player cannot know whether the virtual character 302 is in a safe state when directly controlling the virtual character 302 to leave the virtual vehicle 304.

[0060] To illustrate further, optionally, as shown in FIG4 , a virtual vehicle 404 driven by a virtual character 402 and an intelligent control element 406 belonging to a driving control type are displayed. At the same time, in order to facilitate understanding of the function of the intelligent control element 406 , a virtual obstacle 408 is also displayed as an example.

[0061] Furthermore, when the player is controlling the virtual character 402 to drive the virtual vehicle 404 and faces a virtual obstacle 408 that is about to be passed, the player needs to accurately control the virtual character 402 to continue driving the virtual vehicle 404 in order to successfully pass the virtual obstacle 408. However, there is no guarantee that the virtual character 402 will pass the virtual obstacle 408 safely. In other words, the player cannot know how to control the virtual character 402 to drive the virtual vehicle 404 in order to safely pass the virtual obstacle 408. However, this embodiment displays an intelligent control element 406 to prompt the player that the virtual character 402 needs to drive the virtual vehicle 404 at a speed of "70 km / h" in order to successfully pass the virtual obstacle 408. That is, in this embodiment, the intelligent control element 406 can be an element used for prompting rather than an element that directly triggers control.

[0062] As another example, as shown in FIG5(a), a virtual vehicle 504 driven by a virtual character 502 and a driving control type intelligent control element 506 are shown. Furthermore, to facilitate understanding of the function of the intelligent control element 506, a virtual obstacle area 508 is also shown as an example. Furthermore, when the player controls the virtual character 502 to drive the virtual vehicle 504 and navigates the virtual obstacle area 508, the player needs to precisely control the virtual character 502 to continue driving the virtual vehicle 504 in order to successfully pass through the virtual obstacle area 508. However, there is no guarantee that the virtual character will safely pass through the virtual obstacle area 508. However, as shown in FIG5(b), after the player clicks the intelligent control element 506, the virtual character can be controlled to safely pass through the virtual obstacle area 508.

[0063] However, if the player independently controls the virtual character 502 to drive the virtual vehicle 504 through the virtual obstacle area 508 based on his operating experience, there is no guarantee that the virtual character 502 is in a safe state, or in other words, the player cannot know whether the virtual character 502 can successfully pass through the virtual obstacle area 508 in a safe state when independently controlling the virtual character 502 to drive the virtual vehicle 504 through the virtual obstacle area 508.

[0064] Through the embodiments provided by this application, a virtual vehicle driven by a virtual character and an intelligent control element are displayed; in the case where the intelligent control element is of the disengagement control type, in response to an operation triggered by the intelligent control element, the virtual character is controlled to disengage from the virtual vehicle in a safe state; in the case where the intelligent control element is of the driving control type, the intelligent control element assists in controlling the virtual character to continue driving the virtual vehicle in a safe state. By introducing the intelligent control element, the relationship between the virtual character and the virtual vehicle is assisted in controlling, thereby improving the control accuracy of the virtual character when driving the virtual vehicle, thereby avoiding the occurrence of safety accidents such as rollover and destruction, and being able to safely disengage or continue driving the virtual vehicle when necessary, thereby achieving the purpose of reducing the risk of accidents caused by control errors by adapting and compensating to a certain extent even if the player's operation is not accurate or timely, thereby achieving the technical effect of improving the control accuracy of the virtual vehicle.

[0065] As an optional solution, display the virtual vehicle and intelligent control elements driven by the virtual character, including:

[0066] A virtual vehicle driven by a virtual character and at least one smart control are displayed, wherein the number of the at least one smart control is related to the state of the virtual vehicle, and the smart control is a smart control element of the out-of-control type.

[0067] Optionally, when displaying a virtual character driving a virtual vehicle, this embodiment may display intelligent control elements, specifically intelligent controls related to disengagement. These intelligent controls can be understood as a form of intelligent control element that dynamically changes based on the current state of the virtual vehicle, aiming to help the player safely control the virtual character to disengage from the virtual vehicle when necessary.

[0068] It should be noted that this embodiment provides more intuitive and timely operational feedback by displaying intelligent controls related to the virtual vehicle's status, enabling players to quickly make correct decisions through the intelligent controls at critical moments. These intelligent controls also provide an additional level of safety, allowing players to maintain a certain level of control even when unfamiliar with the game's operations or facing unexpected situations.

[0069] Through the embodiments provided in the present application, a virtual vehicle driven by a virtual character and at least one intelligent control are displayed, wherein the number of the at least one intelligent control is related to the state of the virtual vehicle, and the intelligent control is an intelligent control element that belongs to the out-of-control type. The game achieves the purpose of providing more intuitive and timely operation feedback, enabling players to make correct decisions quickly through the intelligent controls at critical moments, thereby achieving the technical effect of improving the control accuracy of the virtual vehicle.

[0070] As an optional solution, displaying a virtual vehicle driven by a virtual character and at least one intelligent control includes:

[0071] S-1, when the virtual vehicle is in a safe state, displaying a virtual vehicle driven by a virtual character and a first smart control, wherein the at least one smart control includes the first smart control;

[0072] S-2. When the virtual vehicle is in a dangerous state, the virtual vehicle driven by the virtual character, as well as the first smart control and the second smart control are displayed, wherein the first distance between the second smart control and the control control of the virtual vehicle is smaller than the second distance between the first smart control and the control control, and wherein at least one smart control includes the first smart control and the second smart control.

[0073] Optionally, when the virtual character is driving a virtual vehicle, the number and position of the smart controls displayed in this embodiment may vary according to the state of the virtual vehicle (safe or dangerous).

[0074] Optionally, in this embodiment, the safe state may refer to a state in which the virtual vehicle is driving normally and does not encounter an emergency situation.

[0075] Optionally, in this embodiment, the dangerous state may refer to a state in which the virtual vehicle encounters an emergency situation (such as collision, loss of control, etc.) that may cause an accident or damage.

[0076] Optionally, in this embodiment, the first smart control may be displayed when the virtual vehicle is in a safe state, and it provides basic driving assistance functions.

[0077] Optionally, in this embodiment, the second smart control may be displayed only when the virtual vehicle is in a dangerous state, and is used for rapid driving assistance operations in emergency situations.

[0078] It should be noted that this embodiment dynamically adjusts the number and position of smart controls based on the state of the virtual vehicle, providing a more personalized and immersive user experience. In dangerous situations, placing a second smart control in a more accessible location helps players react more promptly, thereby avoiding or reducing potential losses from accidents. This design not only enhances the gameplay's playability and challenge, but also helps cultivate players' adaptability and decision-making skills in emergency situations.

[0079] Through the embodiments provided by the present application, when the virtual vehicle is in a safe state, the virtual vehicle driven by the virtual character and the first smart control are displayed; when the virtual vehicle is in a dangerous state, the virtual vehicle driven by the virtual character, the first smart control and the second smart control are displayed, wherein the second smart control is closer to the control control of the virtual vehicle than the first smart control, thereby helping the player to respond more promptly in a dangerous state, thereby avoiding or reducing potential accident losses, and achieving the technical effect of improving the control accuracy of the virtual vehicle.

[0080] As an optional solution, before displaying the virtual vehicle driven by the virtual character and the at least one intelligent control, the method further includes:

[0081] S2-1, obtaining a survival value of the virtual vehicle and an angle between the virtual vehicle and a driving surface, wherein when the survival value of the virtual vehicle is lower than a first preset threshold, driving is prohibited, and the driving surface is the surface on which the virtual vehicle is currently driving;

[0082] S2-2, when the survival value is lower than the second preset threshold and / or the angle is less than the third preset threshold, determine that the state of the virtual vehicle is a dangerous state, wherein the second preset threshold is greater than the first preset threshold.

[0083] Optionally, before displaying the relevant intelligent controls, this embodiment can perform a series of pre-judgments and settings. These pre-judgments mainly focus on the survival value of the virtual vehicle and the angle between the virtual vehicle and the driving surface, thereby evaluating the current state of the virtual vehicle (safe or dangerous).

[0084] Alternatively, in this embodiment, the survival value may refer to the "health" or durability of the virtual vehicle, typically expressed as a numerical value. When this value drops below a certain level (e.g., a first preset threshold), the virtual vehicle may be unable to continue driving. When this value is greater than the first preset threshold but less than a second preset threshold, the virtual vehicle may be easily damaged.

[0085] Optionally, in this embodiment, the angle may refer to the angle between the virtual vehicle and the driving surface (e.g., ground, water, runway, etc.). This angle may reflect whether the virtual vehicle is in a normal driving posture, such as whether it is tilting or flipping. In this embodiment, if this angle is less than a third preset threshold, it may be considered that the virtual vehicle is in an abnormal driving state and is prone to tilting or flipping.

[0086] It's important to note that by pre-determining the virtual vehicle's survival value and its angle with the driving surface, this embodiment can more accurately identify when the virtual vehicle is in danger and promptly display corresponding intelligent controls on the interface. This not only enhances realism and immersion, improving the player experience, but also provides timely assistance and feedback to players at critical moments. This design also helps cultivate players' adaptability and decision-making skills in emergency situations.

[0087] Through the embodiments provided in the present application, the survival value of the virtual vehicle and the angle of the virtual vehicle relative to the driving surface are obtained; when the survival value is lower than the second preset threshold, and / or the angle is less than the third preset threshold, it is determined that the state of the virtual vehicle is a dangerous state, thereby achieving the purpose of more accurately identifying when the virtual vehicle is in a dangerous state and promptly displaying the corresponding intelligent controls on the interface, thereby achieving the technical effect of improving the control accuracy of the virtual vehicle.

[0088] As an optional solution, in response to an operation triggered by an intelligent control element, controlling the virtual character to leave the virtual vehicle in a safe state includes:

[0089] S3-1, in response to an operation triggered on any one of the at least one intelligent control, adjusting the state of the virtual vehicle to a safe state;

[0090] S3-2, controlling the virtual character to move from the driving position of the virtual vehicle to the non-driving position of the virtual vehicle;

[0091] S3-3, control the virtual character to detach from the virtual vehicle from a non-driving position.

[0092] Optionally, when the player triggers any of the at least one intelligent control, this embodiment uses the intelligent control to control the virtual character to safely exit the virtual vehicle. This process includes adjusting the state of the virtual vehicle, moving the position of the virtual character, and ultimately causing the virtual character to exit the vehicle.

[0093] Optionally, in this embodiment, the operation triggered on the smart control may refer to a click, touch, or other forms of interactive actions performed by the player on the smart control.

[0094] Alternatively, in this embodiment, the driving position may refer to the position of the virtual character when driving the virtual vehicle. The non-driving position may refer to a position on the virtual vehicle other than the driving position, which is usually used to temporarily place the virtual character before leaving the virtual vehicle.

[0095] It should be noted that, through the assistance of intelligent controls, this embodiment can quickly and accurately adjust the state of the virtual vehicle when the player triggers the intelligent controls, and control the virtual character to safely escape the virtual vehicle. This not only improves the playability and smoothness of the game, but also provides players with a more intuitive and easy-to-use emergency escape mechanism. At the same time, this design also helps cultivate players' rapid reaction and decision-making abilities in emergency situations.

[0096] Through the embodiments provided by the present application, in response to an operation triggered on any one of at least one smart control, the state of the virtual vehicle is adjusted to a safe state; the virtual character is controlled to move from the driving position on the virtual vehicle in a safe state to a non-driving position on the virtual vehicle; and then the virtual character is controlled to detach from the virtual vehicle from the non-driving position. This achieves the purpose of quickly and accurately adjusting the state of the virtual vehicle and controlling the virtual character to detach from the virtual vehicle in a safe manner when the player triggers the smart control, thereby realizing the technical effect of improving the control accuracy of the virtual vehicle.

[0097] As an optional solution, display the virtual vehicle and intelligent control elements driven by the virtual character, including:

[0098] S4-1, showing a virtual character driving a virtual vehicle in mid-air, wherein a vertical distance between the virtual vehicle in mid-air and any surface is greater than a fourth threshold and the surfaces do not intersect with each other;

[0099] S4-2, displays the intelligent landing control, wherein the intelligent landing control is used to assist in controlling the virtual character to continue driving the virtual vehicle in the air in a safe state. The intelligent landing control is an intelligent control element belonging to the driving control type.

[0100] Optionally, in this embodiment, the aerial state may refer to a state in which the virtual vehicle completely leaves the ground or other driving surface and is in the air.

[0101] Optionally, in this embodiment, the smart landing control can be understood as a user interface element for assisting the player in controlling the virtual character to continue driving safely or to land a virtual vehicle in mid-air.

[0102] It should be noted that by displaying a virtual vehicle in mid-air and intelligent landing controls, this embodiment provides players with an intuitive and easy-to-use method for controlling the virtual character to continue driving the virtual vehicle or to land the virtual vehicle safely. This not only enhances the gameplay and realism, but also improves the player's gaming experience, as players receive timely assistance and feedback at critical moments. Furthermore, this design helps cultivate players' adaptability and decision-making skills in emergency situations.

[0103] Through the embodiments provided by the present application, a virtual character is displayed driving a virtual vehicle in an airborne state, and an intelligent landing control is displayed, wherein the intelligent landing control is used to control the virtual character to continue driving the virtual vehicle in an airborne state in a safe state, thereby providing players with an intuitive and easy-to-operate way to control the virtual character to continue driving the virtual vehicle or to land the virtual vehicle safely, thereby achieving the technical effect of improving the control accuracy of the virtual vehicle.

[0104] As an optional solution, intelligent control elements are used to assist the virtual character in continuing to drive the virtual vehicle in a safe state, including:

[0105] S5-1, in response to an operation triggering the intelligent landing control, obtaining an estimated angle between the virtual vehicle in the air and a landing surface, where the landing surface is an estimated landing surface of the virtual vehicle in the air;

[0106] S5-2, when the estimated angle is greater than the first preset angle, adjust the current driving posture of the virtual vehicle in the air until the estimated angle is less than the first preset angle.

[0107] Optionally, an intelligent landing control is used to assist the player in controlling the virtual character to safely continue driving the virtual vehicle in the air, including responding to the player's trigger operation, obtaining the estimated angle between the virtual vehicle and the landing surface, and adjusting the driving posture of the virtual vehicle according to the angle.

[0108] Optionally, in this embodiment, the operation triggered on the smart landing control may be a click, touch or other interactive action performed by the player on the smart landing control.

[0109] Optionally, in this embodiment, the estimated angle may be an angle that may be formed between the virtual vehicle and the landing surface when the virtual vehicle is expected to land.

[0110] Optionally, in this embodiment, the surface to be landed may be a surface on which the virtual vehicle is expected to land, such as the ground, water surface, platform, etc.

[0111] Optionally, in this embodiment, the first preset angle may be a safety angle standard. When the estimated angle is greater than this angle, it is considered that the landing posture of the virtual vehicle is adjusted, otherwise the virtual vehicle may be in a dangerous state when landing.

[0112] It should be noted that, with the assistance of the intelligent landing control, this embodiment can automatically evaluate and adjust the virtual vehicle's landing posture after the player triggers the intelligent landing control, ensuring that the virtual vehicle continues to drive and land in a safe manner. This not only improves the playability and smoothness of the game, but also provides players with a more intuitive and easy-to-use landing assistance mechanism. At the same time, this design also helps to cultivate players' attention and decision-making skills when controlling the landing of the virtual vehicle.

[0113] Through the embodiments provided by the present application, in response to the operation of triggering the intelligent landing control, the estimated angle between the virtual vehicle in the air and the surface to be landed is obtained. When the estimated angle is greater than the first preset angle, the virtual vehicle in the air is controlled to adjust the current driving posture until the estimated angle is less than the first preset angle. The game achieves the purpose of automatically evaluating and adjusting the landing posture of the virtual vehicle after the player triggers the intelligent landing control to ensure that the virtual vehicle continues to drive and land in a safe manner, thereby achieving the technical effect of improving the control accuracy of the virtual vehicle.

[0114] As an optional solution, display the virtual vehicle and intelligent control elements driven by the virtual character, including:

[0115] S6-1, showing a virtual character driving a virtual vehicle in mid-air, wherein a vertical distance between the virtual vehicle in mid-air and any surface is greater than a fourth threshold and the surfaces do not intersect with each other;

[0116] S6-2, displays the vehicle angle identifier, wherein the vehicle angle identifier is used to assist in controlling the virtual character to continue driving the virtual vehicle in the air in a safe state, and the vehicle angle identifier is used to indicate the estimated angle between the virtual vehicle in the air and the landing surface, and the landing surface is the estimated landing surface of the virtual vehicle in the air, and the vehicle angle identifier is an intelligent control element belonging to the driving control type.

[0117] Optionally, the content displayed in the virtual environment of this embodiment, especially when the virtual vehicle driven by the virtual character is in the air, the displayed intelligent control elements and their functions can help the player control the safe driving of the virtual vehicle through visual cues.

[0118] Optionally, in this embodiment, the vehicle angle indicator can be a visual element or indicator used to show the player the angle between the virtual vehicle in the air and the surface on which it is expected to land, which angle is critical for a safe landing.

[0119] In addition to the vehicle angle indicator, this embodiment can also provide other types of driving control elements, such as a speed indicator, an altimeter, a heading indicator, etc., which can help players better understand the status of the virtual vehicle and make corresponding controls.

[0120] It's important to note that displaying the virtual vehicle in mid-flight and its associated vehicle angle indicator provides players with intuitive visual feedback, making it easier for them to understand the virtual vehicle's current flight status and its relationship to the intended landing surface. This not only enhances the game's immersion and realism, but also helps improve the player's gaming experience, as players can make more accurate control decisions based on these visual cues, allowing them to more safely control their virtual character's vehicle. This design also helps cultivate players' spatial perception and flight control skills in complex flight situations.

[0121] Through the embodiments provided by the present application, a virtual character is displayed driving a virtual vehicle in an airborne state, and a vehicle angle identifier is displayed, wherein the vehicle angle identifier is used to represent the estimated angle between the virtual vehicle in the airborne state and the surface to be landed. This provides players with an intuitive visual feedback, making it easier for them to understand the current flight status of the virtual vehicle and the relationship between it and the expected landing surface, thereby achieving the technical effect of improving the control accuracy of the virtual vehicle.

[0122] As an optional solution, the vehicle angle indicator is displayed, including:

[0123] S7-1, when the estimated angle is less than the second preset angle, displaying a first angle indicator, wherein the first angle indicator is used to indicate that it is safe for the virtual vehicle in the air to land in the current driving posture;

[0124] S7-2: If the estimated angle is greater than or equal to the second preset angle and less than or equal to the third preset angle, display a second angle indicator, wherein the second angle indicator is used to indicate that there is a risk for the virtual vehicle in the air to land in the current driving posture;

[0125] S7-3, when the estimated angle is greater than the third preset angle, a third angle mark is displayed, wherein the third angle mark is used to indicate that it is dangerous for the virtual vehicle in the air to land in the current driving posture.

[0126] Optionally, in a virtual environment, when a virtual vehicle is in mid-air, this embodiment displays different vehicle angle indicators based on the estimated angle between the virtual vehicle and the landing surface to remind the player of the safety of the current landing posture.

[0127] In addition to displaying the vehicle angle mark, this embodiment can also provide sound prompts or vibration feedback to further enhance the player's perception of the safety of the landing posture.

[0128] It's important to note that by displaying different vehicle angle indicators, this embodiment provides players with intuitive and immediate feedback, helping them determine the safety of landing their virtual vehicle in mid-air and at its current attitude. This not only enhances the gameplay's playability and realism, but also helps cultivate players' judgment and reaction skills in complex flight situations. This design also increases the game's challenge and tension, as players must make accurate control decisions based on the angle indicators within a limited timeframe.

[0129] To further illustrate, optionally, assuming that the player controls the virtual vehicle driven by the virtual character to land from a mid-air state, this embodiment will display different vehicle angle indicators based on the estimated angle between the virtual vehicle and the landing surface.

[0130] Specifically, if the estimated angle is very small (less than the second preset angle, such as 5 degrees), this embodiment will display a green first angle icon, indicating that it is safe for the virtual vehicle to land in the current driving state.

[0131] If the estimated angle is medium (greater than or equal to the second preset angle and less than or equal to the third preset angle, such as between 5 degrees and 10 degrees), this embodiment will display a yellow second angle icon, indicating that there is a certain risk in landing the virtual vehicle in the current driving state, and the player needs to pay attention.

[0132] If the estimated angle is large (greater than the third preset angle, such as 10 degrees), this embodiment will display a red third angle mark, indicating that it is dangerous for the virtual vehicle to land in the current driving state and the player needs to make immediate adjustments.

[0133] Through the embodiments provided by the present application, when the estimated angle is less than the second preset angle, a first angle mark is displayed, wherein the first angle mark is used to indicate that it is safe for the virtual vehicle in the mid-air state to land with the current driving posture; or, when the estimated angle is greater than or equal to the second preset angle and less than or equal to the third preset angle, a second angle mark is displayed, wherein the second angle mark is used to indicate that it is risky for the virtual vehicle in the mid-air state to land with the current driving posture; or, when the estimated angle is greater than the third preset angle, a third angle mark is displayed, wherein the third angle mark is used to indicate that it is dangerous for the virtual vehicle in the mid-air state to land with the current driving posture, thereby providing intuitive and immediate feedback to the player, helping the player to judge whether it is safe for the virtual vehicle to land in the mid-air state with the current driving posture, thereby achieving the technical effect of improving the control accuracy of the virtual vehicle.

[0134] As an optional solution, display the virtual vehicle and intelligent control elements driven by the virtual character, including:

[0135] S8-1, showing a virtual character driving a virtual vehicle in a flying scene, wherein the flying scene is a virtual scene including a flying starting point object and a flying target object;

[0136] S8-2, when the virtual vehicle is heading towards the leap starting point object and the distance between the virtual vehicle and the leap starting point object is less than the preset distance, the leap control element is displayed, wherein the leap control element is an intelligent control element belonging to the driving control type, and the leap control element is used to assist in controlling the virtual character to continue driving the virtual vehicle in a safe state to pass the leap starting point object and leap to the leap target object. The leap control element is also used to prompt at least one effective speed and the current driving speed of the virtual vehicle, and the effective speed is the speed required for the virtual vehicle to pass the leap starting point object and leap to the leap target object.

[0137] Optionally, the content displayed in the virtual environment of this embodiment, especially when the virtual character drives a virtual vehicle in a specific leaping scene, the elements to be displayed and their functions can help the player control the virtual character to drive the virtual vehicle to safely complete the leaping action.

[0138] Alternatively, in this embodiment, the flying scene may refer to a specific virtual scene, which includes a flying starting point object and a flying target object. The virtual character needs to drive a virtual vehicle to take off from the flying starting point object and fly to the flying target object.

[0139] Optionally, in this embodiment, the flying start object and the flying target object may be two key elements in the flying scene. The flying start object is the place where the virtual vehicle takes off, and the flying target object is the destination to which the virtual vehicle needs to fly.

[0140] Optionally, in this embodiment, the leap control element can be an intelligent control element, belonging to the driving control type, used to assist the player in controlling the virtual character to safely pilot the virtual vehicle to complete a leap. This element provides information about the effective leap speed and displays the virtual vehicle's current speed. The effective speed refers to the speed the virtual vehicle needs to achieve to safely complete the leap, i.e., the speed the virtual vehicle needs to achieve to successfully leap from the leap starting point to the leap target.

[0141] Optionally, in this embodiment, the preset distance may be a pre-set distance value used to determine whether the distance between the virtual vehicle and the flying starting point object is close enough to determine whether to display the flying control element.

[0142] It's important to note that by displaying the jump control elements when the virtual vehicle approaches the jump starting point, this embodiment provides players with important information about the required speed for the jump, helping them adjust the virtual vehicle's speed to ensure the virtual vehicle safely and successfully completes the jump. This not only enhances the game's interactivity and challenge, but also improves the player's gaming experience, as they can make more accurate control decisions based on this information. This design also helps cultivate players' judgment and reaction skills in complex driving situations.

[0143] To further illustrate, in a racing game, a player controls a virtual character driving a virtual racing car on a track that includes a jump pad (a jump starting point object) and a landing point (a jump target object). When the virtual racing car approaches the jump pad and the distance between the jump pad and the jump pad is less than a preset distance, a jump control element, such as a speedometer or speed indicator icon, will be displayed on the game interface. This element can indicate to the player the minimum speed that the virtual racing car needs to reach in order to successfully jump to the landing point, and will also display the car's current speed.

[0144] Through the embodiment provided by the present application, a virtual character is shown driving a virtual vehicle in a leaping scene. When the virtual vehicle is heading towards the leaping starting point object and the distance between the virtual vehicle and the leaping starting point object is less than a preset distance, a leaping control element is displayed, wherein the leaping control element is used to prompt the virtual character to continue driving the virtual vehicle through the leaping starting point object in a safe state and successfully leap to at least one effective speed of the leaping target object, and the current driving speed of the virtual vehicle, thereby providing the player with important information about the speed required for the leap and helping the player adjust the driving speed of the virtual vehicle to ensure that the virtual vehicle safely and successfully completes the leaping action, thereby achieving the technical effect of improving the control accuracy of the virtual vehicle.

[0145] As an optional solution, before displaying the fly-through control element, the method further includes:

[0146] S9-1, obtaining an estimated flight trajectory of the virtual vehicle after it passes the flight starting point object at the current driving speed;

[0147] S9-2, obtaining at least one flying speed when the estimated flying trajectory intersects the flying target object, and determining the flying speed as the effective speed.

[0148] Optionally, before displaying the leap control element, this embodiment performs a series of operations to ensure that the effective speed provided to the player is capable of ensuring that the virtual vehicle successfully completes the leap action, that is, it can ensure that the virtual vehicle successfully leaps from the leap starting point object to the leap target object.

[0149] Optionally, in this embodiment, the estimated flight trajectory may refer to the possible flight path of the virtual vehicle after taking off from the flight starting point object based on the current driving speed of the virtual vehicle and other relevant parameters (such as the weight of the vehicle, wind resistance, etc.).

[0150] Alternatively, in this embodiment, the flight velocity may refer to the estimated velocity of the virtual vehicle when the flight trajectory intersects the flight target object. In other words, the velocity that the virtual vehicle should reach at the flight starting point in order for the virtual vehicle to successfully fly to the flight target object. This velocity is determined as the effective velocity because it is required to complete the flight.

[0151] It should be noted that by obtaining the estimated leap trajectory and determining the effective speed, this embodiment can provide players with more accurate and useful information, helping them make more reasonable control decisions when controlling their virtual character to leap through a virtual vehicle. This not only improves the gameplay and challenge, but also enhances the player's gaming experience, as they can adjust their actions based on this information to complete leaps more safely and efficiently. Furthermore, this design helps cultivate players' spatial perception and anticipation abilities in complex driving and leaping situations.

[0152] To further illustrate, optionally, suppose that in a motorcycle stunt game, the player controls the virtual character to drive a virtual motorcycle vehicle towards a jump platform (jump starting point object) and intends to jump to a distant platform (jump target object). When the virtual vehicle approaches the jump platform, the game system will first calculate an estimated jump trajectory based on the current speed and other physical parameters of the virtual motorcycle vehicle. Then, the system will analyze this estimated trajectory to find the speed when the trajectory intersects with the platform as the jump target object. This speed is the minimum jump speed that the virtual motorcycle vehicle needs to reach. Finally, this jump speed will be determined as the effective speed and displayed in the jump control element for the player's reference and adjustment.

[0153] Through the embodiments provided in the present application, an estimated leap trajectory of a virtual vehicle after it passes through a leap starting point object at a current driving speed is obtained; at least one leap speed when the estimated leap trajectory intersects with a leap target object is obtained, and the leap speed is determined as an effective speed, thereby providing players with more accurate and useful information and helping players make more reasonable control decisions when driving a virtual vehicle for a leap, thereby achieving the technical effect of improving the control accuracy of the virtual vehicle.

[0154] As an optional solution, display the virtual vehicle and intelligent control elements driven by the virtual character, including:

[0155] S10-1, showing a virtual character driving a virtual vehicle in a flying scene, wherein the flying scene is a virtual scene including a flying starting point object and a flying target object;

[0156] S10-2, when the virtual vehicle is heading towards the leap starting point object and the distance between the virtual vehicle and the leap starting point object is less than the preset distance, the intelligent leap control is displayed, wherein the intelligent leap control is an intelligent control element belonging to the driving control type, and the intelligent leap control is used to control the virtual character to continue driving the virtual vehicle in a safe state through the leap starting point object and leap to the leap target object.

[0157] Optionally, in a virtual environment, when a virtual character drives a virtual vehicle through a specific fly-through scene, this embodiment displays a series of interface elements and control elements to help the player control the virtual character to drive the virtual vehicle and complete the fly-through action. The smart fly-through control can be a smart control element designed to assist the player in controlling the virtual character to safely drive the virtual vehicle in the fly-through scene and ensure a successful fly-through from the fly-through starting point to the fly-through target.

[0158] Optionally, in this embodiment, the flying scene can be understood as a special virtual environment, which includes a starting point (flying starting point object) and an end point (flying target object) of the flying action.

[0159] Optionally, in this embodiment, the smart leap control can be understood as a user interface element, which belongs to the driving control type. It provides necessary controls and instructions based on the current state of the virtual vehicle (such as position, speed, direction, etc.) and the characteristics of the leap scene (such as the position and distance of the leap starting point and the leap target), to help players control the virtual character to drive the virtual vehicle to complete the leap.

[0160] Optionally, in this embodiment, the preset distance can be understood as a fixed distance value. When the distance between the virtual vehicle and the leap starting point object is less than this value, the smart leap control will be activated and displayed.

[0161] It's worth noting that the introduction of intelligent leap controls significantly improves the player experience and success rate in leap scenarios. By providing intuitive prompts and essential controls, this embodiment helps players more accurately judge the timing and speed of leaps, reducing the likelihood of errors. This not only increases the game's fun and challenge, but also allows players to focus more on enjoying the thrill and sense of accomplishment that leaps bring. Furthermore, this design demonstrates the game's meticulous consideration of the player experience, enhancing its overall quality.

[0162] To further illustrate, optionally, in an extreme sports game, the player drives a virtual motorcycle vehicle into a leaping scene. The leaping scene has a jump platform (jumping starting point object) and a landing point (jumping target object). When the virtual motorcycle vehicle is heading towards the jump platform and the distance to the jump platform is less than a certain range (preset distance), an intelligent leaping control will appear on the game interface. This control may be a button that prompts the player to "prepare for leaping" and automatically triggers the leaping action when the virtual motorcycle vehicle reaches the appropriate speed, or provides a speedometer to indicate the speed that the player's virtual motorcycle vehicle should reach.

[0163] Through the embodiment provided by the present application, a virtual character is shown driving a virtual vehicle in a leaping scene. When the virtual vehicle is heading towards the leaping starting point object and the distance between the virtual vehicle and the leaping starting point object is less than a preset distance, an intelligent leaping control is displayed, wherein the intelligent leaping control is used to control the virtual character to continue driving the virtual vehicle through the leaping starting point object in a safe state and leap to the leaping target object, thereby achieving the purpose of helping players to judge the timing and speed of the leap more accurately and reducing the possibility of errors, thereby achieving the technical effect of improving the control accuracy of the virtual vehicle.

[0164] As an optional solution, intelligent control elements are used to assist the virtual character in continuing to drive the virtual vehicle in a safe state, including:

[0165] S11-1, in response to an operation triggered on the intelligent leap control, obtaining an estimated leap trajectory presented by the virtual vehicle after passing through the leap starting point object at the current driving speed;

[0166] S11-2, when the estimated flying trajectory and the flying target object do not intersect each other, controlling the virtual vehicle to adjust the current driving speed until the estimated flying trajectory intersects the flying target object.

[0167] Optionally, when a player drives a virtual vehicle in a virtual environment, approaches a jump starting point, and prepares to jump, this embodiment assists the player in controlling the virtual vehicle through intelligent jump controls to ensure that the virtual vehicle completes the jump in a safe state. A safe state may mean that the virtual vehicle can jump to the jump target at an appropriate speed and angle without collision or other dangerous situations occurring during the jump.

[0168] Optionally, in this embodiment, the operation triggered on the smart leap control may refer to an operation performed by the player on the smart leap control, such as clicking, touching or pressing a key, etc., to activate the leap control process.

[0169] Optionally, in this embodiment, the estimated flight trajectory can be the flight path of the virtual vehicle after taking off from the flight starting point object, predicted by physical calculation based on the current driving speed of the virtual vehicle and other relevant parameters (such as the mass of the vehicle, air resistance, etc.).

[0170] Optionally, this embodiment can automatically or prompt the player to adjust the speed of the virtual vehicle based on the relationship between the estimated flight trajectory and the flight target object to ensure that the flight trajectory can intersect with the flight target object, that is, successfully fly to the flight target object.

[0171] In addition to adjusting speed, this embodiment can also prompt players to adjust the jump angle, use nitrogen acceleration, etc. based on the estimated jump trajectory to further optimize the jump effect. At the same time, the system can also provide a real-time preview of the jump trajectory, allowing players to more intuitively understand the jump process and landing point.

[0172] It's important to note that by combining intelligent leap controls with estimated leap trajectories, this embodiment provides players with more accurate and timely leap control assistance, helping them complete leaps more safely and efficiently. This not only increases the game's playability and challenge, but also enhances the player experience, as players can more accurately control their virtual vehicle to complete leaps based on system prompts and adjustments. This design also demonstrates the game's meticulous consideration of the player experience and its user-friendly design.

[0173] To further illustrate, optionally, in a racing game, the player drives a virtual racing car close to a jump platform (jump starting point object) and prepares to jump to a distant landing point (jump target object). When the player controls the virtual racing car to approach the jump platform, he can click the "leap preparation" button (smart leap control) displayed on the screen. The system can calculate an estimated leap trajectory based on the current speed and other parameters of the virtual racing car. If this estimated leap trajectory does not intersect with the landing point, this embodiment will prompt the player to speed up or decelerate, or automatically adjust the speed of the virtual racing car with the player's consent until the estimated leap trajectory intersects with the landing point, so that the virtual racing car can successfully jump to the landing point.

[0174] Through the embodiments provided by the present application, in response to the operation triggered on the intelligent leap control, the estimated leap trajectory presented by the virtual vehicle after passing the leap starting point object at the current driving speed is obtained; when the estimated leap trajectory and the leap target object do not intersect with each other, the virtual vehicle is controlled to adjust the current driving speed until the estimated leap trajectory and the leap target object intersect, thereby providing players with more accurate and timely leap control assistance, helping players to complete the leap action more safely and effectively, and achieving the technical effect of improving the control accuracy of the virtual vehicle.

[0175] As an optional solution, for ease of understanding, the above-mentioned virtual vehicle control method is applied to shooting game scenes, and there will be virtual motorcycle vehicles in shooting game scenes. Virtual motorcycle vehicles are generally the fastest, smallest, most flexible to drive, and most ornamental virtual vehicles. They are the first choice for high-level players. Good driving skills can use virtual motorcycle vehicles to reach the destination in the fastest time, or reach places that others cannot reach, occupy favorable terrain, and bring unparalleled advantages to players in battle.

[0176] However, in current games, the usage rate of virtual motorcycle vehicles has always ranked last. The main reasons are as follows:

[0177] 1. Due to the characteristics of a two-wheeled vehicle, the virtual motorcycle vehicle has poor stability and is very prone to rollover. Furthermore, due to its high speed, even if the player allows the virtual character to return to the ground from the virtual motorcycle vehicle, as shown in Figure 6, the player clicks the "Get Off" button to exit the driving state. The virtual character will have inertia when it lands. If this inertia is too large, exceeding 60 km / h, the virtual character will lose health points. If it exceeds 80 km / h, the virtual character will be eliminated directly.

[0178] 2. In the scene where the virtual motorcycle vehicle flies over the landslide and then lands, it is easy to overturn due to the contact surface. If the virtual character is in battle, he will basically be eliminated directly.

[0179] In addition, the virtual motorcycle vehicle has some other more advanced requirements, and the game does not provide a good solution. For example, when the player controls the virtual character to drive the virtual motorcycle vehicle, there is no good way to stop and get off the vehicle suddenly, and there is no good information prompt when relying on the virtual motorcycle vehicle to fly uphill to the roof.

[0180] The reason for this is the lack of safety-related information in the game, which has led to a sharp increase in the cost of operating virtual motorcycles for players. Rollovers often occur, affecting the player's combat experience, ultimately leading to very low usage of the virtual motorcycles in the game and affecting the game's diversity. Furthermore, current safety-related operations are relatively complex. If a player wants to safely dismount their virtual character in a dangerous situation, they must click the position-swap button in the lower right corner, slide the joystick with their left hand to ensure the virtual vehicle has a certain tilt, and then click the "dismount" button. This requires at least three steps to be completed with both hands, which is extremely inefficient and delays the player's combat plans. There's a high chance that the character will be eliminated due to inability to keep up with the controls. Similarly, when the virtual motorcycle is in mid-air, players must repeatedly click the "raise head" and "press head" buttons to adjust the angle of the virtual motorcycle until it is parallel to the ground. This is cumbersome and inaccurate, and can easily lead to rollovers due to operational errors, affecting the gaming experience.

[0181] This embodiment is designed throughout the entire process around the above-mentioned pain points, adds safety information prompts in every situation of driving a virtual vehicle, and provides quick and accurate system functions related to "AI driving".

[0182] First of all, when the player controls the virtual character to drive a virtual motorcycle vehicle, a permanent button "AI-Safe Exit" will be added to the right side of the interface. After the player clicks the button, the current virtual motorcycle vehicle will tilt to a certain angle in either the left or right direction, and the virtual character will automatically switch to the back seat and then get off. Using this mechanism, no matter how fast the player controls the virtual character to get off, the virtual character's health will not be affected. At the same time, in dangerous scenarios such as low health of the virtual motorcycle vehicle or too large a tilt angle of the virtual motorcycle vehicle, a temporary button "AI-Safe Exit" will appear above the left joystick. After the player clicks it, the result will be the same as the above, controlling the virtual character to get off safely.

[0183] Secondly, when the player drives a virtual motorcycle vehicle through special terrain such as uphill to fly, a special UI element "the current angle between the motorcycle and the ground" will be displayed at the crosshairs in the center of the interface, and the three colors of red, yellow and green will clearly inform the player whether the current angle is safe. After the player understands this information, he can manually click "press the head" or "raise the head" to adjust the virtual vehicle to the appropriate angle, or click the new temporary button "AI-Safe Landing" on the right side of the interface to allow the system to automatically adjust the angle between the virtual motorcycle vehicle and the ground to a safe range.

[0184] Finally, when a player drives a virtual motorcycle uphill within a certain range of houses, the system calculates in real time which areas of the slope and the minimum speed required to reach the rooftop, providing the player with clear information. This entire process not only provides additional safety information but also provides a convenient and accurate "AI Safety" button, freeing players' hands and enhancing the gaming experience. It also lowers the barrier to entry for virtual motorcycle use and increases the competitiveness of the game.

[0185] Optionally, in this embodiment, with the core purpose of "allowing players to drive virtual motorcycle vehicles more conveniently and safely", when controlling the virtual character to drive the virtual motorcycle vehicle, a permanent button "AI-Safe Exit" is added on the right side of the interface, and, when facing a special dangerous state, a temporary button "AI-Safe Exit" is also added above the joystick on the left side of the interface; when the virtual motorcycle vehicle is in the air, the "angle" is displayed on the crosshairs, and a temporary button "AI-Safe Landing" is added on the right side of the interface; when the player drives the virtual motorcycle vehicle uphill near the house, the "speed and range" information that can reach the roof is displayed on the ramp model. A total of at least 5 new graphical user interface (GUI) effects are used to complete the implementation of functions and the transmission of information.

[0186] To further illustrate, optionally, based on the scenario of Figure 6, continuing with the example shown in Figure 7, when the player is driving the virtual motorcycle vehicle normally, a permanent button "AI-Safely Get Off" will be added to the right side of the interface. The default display is normal. When the player presses the finger, it is in the click state. After lifting it, it will execute the behavior of controlling the virtual character to get off safely according to a certain algorithm logic and return to the non-driving state.

[0187] For another example, as shown in Figure 8, when the player is driving a virtual motorcycle vehicle, the health of the virtual motorcycle vehicle is less than 40, and / or the angle between the current tilt angle of the virtual motorcycle vehicle and the ground is less than 60°, a temporary button "AI-Safely Get Off" will be displayed on the left side of the interface, and guidance will be provided through a yellow special effect (it can also be a special effect of other colors, not limited). When the player drags his finger to the button or presses his finger on the button, the button becomes a click state. After lifting the finger, the action of controlling the virtual character to get off safely will be executed according to a certain algorithm logic, and the player will return to the non-driving state.

[0188] For another example, as shown in Figure 9, when a player is driving a virtual motorcycle vehicle, if the vertical distance from the virtual motorcycle vehicle to the ground reaches a preset threshold, the virtual motorcycle vehicle is judged to be in the air. When in this state, a user interface element (User Interface, referred to as UI) will be displayed at the crosshairs to indicate the current angle between the virtual motorcycle vehicle and the ground. The UI will appear in different colors according to the different safety conditions corresponding to different angles. At the same time, a permanent button "AI-Safe Landing" will be added to the right side of the interface. Under normal circumstances, it will display the normal state. When the player's finger is pressed, the button becomes selected. When the player releases the finger, the virtual motorcycle vehicle will adjust the angle according to a certain algorithm logic until it lands on the ground.

[0189] For another example, as shown in Figure 10, when the player drives a virtual motorcycle vehicle and approaches a ramp within a certain range of a virtual building (house), a certain algorithm logic will be used to calculate whether the virtual motorcycle vehicle can leap onto the roof of the building when passing the ramp. If so, the area on the roof that can be leaped will be prompted by a flashing yellow special effect, and the minimum required speed and the current speed will be displayed. For example, the player will be prompted that the minimum required speed is 100km / h and the current speed is 50km / h.

[0190] Optionally, the core functions of this embodiment are mainly composed of five functions: "providing 'AI-safe exit' function in driving state", "safe exit algorithm logic", "providing 'AI-safe landing' function in mid-air state", "safe landing algorithm logic", and "providing information prompts when flying over the roof". The first four functions are interrelated and affect each other, and the last one is relatively independent.

[0191] Specifically, as shown in FIG11 , in this embodiment, the logic of “providing the ‘AI-Safe Exit’ function during driving” is as follows:

[0192] When the player is driving a virtual motorcycle in battle, an "AI-Safe Exit" button will be permanently displayed on the right side of the interface. It will also be necessary to determine whether the player's virtual character is currently in a "dangerous state", that is, whether the virtual motorcycle's health is less than 40, and / or whether the virtual motorcycle's tilt angle is greater than 30 degrees. If the virtual character is in a "dangerous state", the "AI-Safe Exit" button will be displayed above the left joystick.

[0193] At this point, it is necessary to determine in real time whether the player has pressed the "AI-Safe Exit" button. If so, the button will be selected and the style will become highlighted. Furthermore, it is necessary to determine whether the player has lifted his finger. If so, the safe exit logic will be executed, and the process ends here.

[0194] Alternatively, in this embodiment, assuming the virtual vehicle's tilt angle is greater than 15° and the avatar is exiting the vehicle from the back seat, if both conditions are met, the avatar can exit the virtual vehicle without losing any health points. Furthermore, while the avatar is in the virtual vehicle, it is necessary to determine whether the avatar is currently in the driver's seat or the passenger seat. If the avatar is in the passenger seat, the "AI - Safe Exit" button is not displayed. If the avatar is in the driver's seat, it is again determined whether there are other avatars in the passenger seat. If there are other avatars, the "AI - Safe Exit" button is not displayed. If the avatar meets the conditions and detects that the player has clicked the "AI - Safe Exit" button, the avatar is first controlled to tilt 16° to the left. If the virtual vehicle's current tilt angle is already greater than 15°, no change is made. The avatar is then controlled to switch to the passenger seat and automatically exit the vehicle.

[0195] Specifically, as shown in FIG12 , in this embodiment, the logic of “providing the ‘AI-safe landing’ function in the air state” is as follows:

[0196] When a player is driving a virtual motorcycle in battle, it is necessary to determine in real time whether the virtual motorcycle is currently at a distance from the ground and does not intersect with it. If so, it is determined that the virtual motorcycle is currently in the air.

[0197] When in the air, the angle UI needs to be displayed at the center of the interface. The angle between the virtual motorcycle vehicle and the ground needs to be judged in real time. If they are parallel, a green UI will be displayed to indicate a safe landing. If they intersect but the angle is less than or equal to 45°, a yellow UI will be displayed to indicate a risky landing. If they intersect and the angle is greater than 45°, a red UI will be displayed to indicate a dangerous landing.

[0198] When in the air, the "AI-Safe Exit" button on the right side of the interface also needs to be replaced with the "AI-Safe Landing" button. It is necessary to determine whether the player clicks the button. If clicked, the button enters the selected state; when in the selected state, it is necessary to determine whether the player lifts his finger. If lifted, the safe landing logic is executed and the process ends.

[0199] Alternatively, in this embodiment, it is assumed that as long as the extension line of the bottom of the virtual motorcycle vehicle is parallel to the extension line of the ground, the virtual motorcycle vehicle will not roll over when it lands. When the virtual motorcycle vehicle is in the air and the player clicks "Al-Safe Landing", the system will enter a takeover state until the airborne state ends. In order to quickly make the bottom of the virtual motorcycle vehicle parallel to the ground and maintain it, this embodiment first identifies the current ground terrain and the current front-to-back inclination of the virtual motorcycle vehicle. For example, if the ground is uphill at 15°, the virtual motorcycle vehicle is parallel and not tilted 15° forward or backward;

[0200] Furthermore, it is determined whether the two extension lines are parallel. If not, the angle is determined, and the adjustment of the virtual motorcycle vehicle will be faster. For example, the angle between the virtual motorcycle vehicle and the ground is also 15°, which is not parallel. The virtual motorcycle vehicle needs to be adjusted. The virtual motorcycle vehicle can be parallel to the ground by rotating 15° to the left. If it is rotated to the right, it needs to rotate 345°, so rotating to the left (i.e. looking up in the game) will be faster. Further, the operation is performed according to the above direction and angle, and the player is automatically helped to click "Look Up" until the virtual motorcycle vehicle is parallel to the ground. As long as it is still in the air, it will continue to judge and repeat the above steps to ensure that the virtual motorcycle vehicle is parallel to the ground.

[0201] Optionally, in this embodiment, the prerequisite for flying over the roof information is assumed to be: when the virtual motorcycle vehicle reaches at least 70km / h, it will perform parabolic motion strictly according to the angle of the slope. If the straight-line distance between the house and the slope exceeds 500m, it has exceeded the limit distance of the parabola and it is impossible to fly over it. It is directly excluded without judgment.

[0202] The calculation method for 500m is that the maximum ramp angle in the game is 60°, the maximum speed of the motorcycle vehicle is 140km / h, and the calculated parabola landing point is the farthest 500m.

[0203] Furthermore, the virtual motorcycle's parabola after sprinting up the slope can cover the roof. If so, the virtual motorcycle can land on the roof. First, the angle between the current uphill slope and the ground must be determined. For example, for a 15° uphill slope, the angle is 15°. Next, the parabola's curve must be determined for speeds above 70 km / h at this slope. For example, Figure 13 shows the parabola curves of the virtual motorcycle traversing the uphill slope at 70 km / h and 140 km / h, respectively. Furthermore, a house (the falling object) is placed within the parabola to determine if the roof (the falling surface) is within the parabola's coverage. For example, if a house is 10 meters from the slope and is 4 meters high, the virtual motorcycle meets the requirements. The virtual motorcycle can reach the roof by sprinting and then drop vertically onto the roof by dismounting. For example, if a house is 40 meters from the slope, regardless of its height, it does not meet the requirements.

[0204] By running the above algorithm through all points on the ramp, we can determine which points require the desired speed to reach the roof, as well as the minimum required speed. For example, as shown in Figure 10, only the shaded area of ​​the ramp meets the requirements, and the player is prompted with a minimum speed of 100 km / h, while the current speed is 50 km / h.

[0205] Through the embodiments provided in this application, the five safety tips and safety functions added when players drive virtual motorcycle vehicles in the game can help players better perceive whether the virtual motorcycle vehicle is currently safe, assist players in better and more convenient driving control, and the two AI-related functions can help players complete all operations with one click, quickly and accurately maintaining a safe state, further raising the ceiling of the game's competitiveness, improving the gaming experience, and satisfying the players' pain points.

[0206] All interactive operations of the entire system are completed through clicks, which are the simplest and most intuitive interactive gestures. No other complex interactive operations and understanding are required, which reduces the player's learning cost to a minimum, increases the user experience, and facilitates players to better operate in the game.

[0207] It is understandable that in the specific implementation of this application, related data such as user information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0208] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.

[0209] According to another aspect of the embodiments of the present application, a virtual vehicle control device for implementing the above-mentioned virtual vehicle control method is also provided. As shown in FIG14 , the device includes:

[0210] Display unit 1402, for displaying the virtual vehicle driven by the virtual character and intelligent control elements;

[0211] The first control unit 1404 is configured to, when the intelligent control element is of the escape control type, control the virtual character to escape from the virtual vehicle in a safe state in response to an operation triggered by the intelligent control element;

[0212] The second control unit 1406 is configured to assist in controlling the virtual character to continue driving the virtual vehicle in a safe state through the intelligent control element when the intelligent control element belongs to the driving control type.

[0213] For specific embodiments, reference may be made to the examples shown in the above-mentioned virtual vehicle control method, which will not be repeated here.

[0214] As an optional solution, the display unit 1402 includes:

[0215] The first display module is used to display a virtual vehicle driven by a virtual character and at least one smart control, wherein the number of the at least one smart control is related to the state of the virtual vehicle, and the smart control is an intelligent control element of the out-of-control type.

[0216] For specific embodiments, reference may be made to the examples shown in the above-mentioned virtual vehicle control method, which will not be repeated here.

[0217] As an optional solution, the first display module includes:

[0218] a first display submodule, configured to display the virtual vehicle driven by the virtual character and a first smart control when the virtual vehicle is in a safe state, wherein the at least one smart control includes the first smart control;

[0219] The second display submodule is used to display the virtual vehicle driven by the virtual character, as well as the first smart control and the second smart control when the virtual vehicle is in a dangerous state, wherein the first distance between the second smart control and the control control of the virtual vehicle is smaller than the second distance between the first smart control and the control control, and wherein at least one smart control includes the first smart control and the second smart control.

[0220] For specific embodiments, reference may be made to the examples shown in the above-mentioned virtual vehicle control method, which will not be repeated here.

[0221] As an optional solution, the device further includes:

[0222] an acquisition submodule, configured to acquire, before displaying the virtual vehicle driven by the virtual character and at least one intelligent control, a survival value of the virtual vehicle and an angle of the virtual vehicle relative to a driving surface, wherein when the survival value of the virtual vehicle is lower than a first preset threshold, driving is prohibited, and the driving surface is the surface on which the virtual vehicle is currently driving;

[0223] A determination submodule is used to determine that the state of the virtual vehicle is a dangerous state before displaying the virtual vehicle driven by the virtual character and at least one intelligent control, when the survival value is lower than the second preset threshold and / or the angle is less than the third preset threshold, wherein the second preset threshold is greater than the first preset threshold.

[0224] For specific embodiments, reference may be made to the examples shown in the above-mentioned virtual vehicle control method, which will not be repeated here.

[0225] As an optional solution, the first control unit 1404 includes:

[0226] A first adjustment module is configured to adjust the state of the virtual vehicle to a safe state in response to an operation triggered on any one of the at least one intelligent control;

[0227] A first control module is used to control the virtual character to move from a driving position of the virtual vehicle to a non-driving position of the virtual vehicle;

[0228] The second control module is used to control the virtual character to detach from the virtual vehicle from the non-driving position.

[0229] For specific embodiments, reference may be made to the examples shown in the above-mentioned virtual vehicle control method, which will not be repeated here.

[0230] As an optional solution, the display unit 1402 includes:

[0231] a second display module for displaying a virtual character driving a virtual vehicle in an airborne state, wherein a vertical distance between the virtual vehicle in the airborne state and any surface is greater than a fourth threshold and the surfaces do not intersect with each other;

[0232] The third display module is used to display the intelligent landing control, wherein the intelligent landing control is used to assist in controlling the virtual character to continue driving the virtual vehicle in the air in a safe state. The intelligent landing control is an intelligent control element belonging to the driving control type.

[0233] For specific embodiments, reference may be made to the examples shown in the above-mentioned virtual vehicle control method, which will not be repeated here.

[0234] As an optional solution, the second control unit 1406 includes:

[0235] a first acquisition module, configured to acquire, in response to an operation triggered on the intelligent landing control, an estimated angle between the virtual vehicle in the air and a landing surface, where the landing surface is an estimated landing surface of the virtual vehicle in the air;

[0236] The third control module is used to adjust the current driving posture of the virtual vehicle in the air when the estimated angle is greater than the first preset angle until the estimated angle is less than the first preset angle.

[0237] For specific embodiments, reference may be made to the examples shown in the above-mentioned virtual vehicle control method, which will not be repeated here.

[0238] As an optional solution, the display unit 1402 includes:

[0239] a fourth display module, configured to display a virtual character driving a virtual vehicle in mid-air, wherein a vertical distance between the virtual vehicle in mid-air and any surface is greater than a fourth threshold and the vertical distance between the virtual vehicle and any surface does not intersect with each other;

[0240] The fifth display module is used to display the vehicle angle identifier, wherein the vehicle angle identifier is used to assist in controlling the virtual character to continue driving the virtual vehicle in the air in a safe state, and the vehicle angle identifier is used to indicate the estimated angle between the virtual vehicle in the air and the landing surface, and the landing surface is the estimated landing surface of the virtual vehicle in the air, and the vehicle angle identifier is an intelligent control element belonging to the driving control type.

[0241] For specific embodiments, reference may be made to the examples shown in the above-mentioned virtual vehicle control method, which will not be repeated here.

[0242] As an optional solution, the fifth display module includes:

[0243] The third display submodule is configured to display a first angle indicator when the estimated angle is less than the second preset angle, wherein the first angle indicator is configured to indicate that it is safe for the virtual vehicle in the air to land in the current driving posture; or

[0244] a fourth display submodule, configured to display a second angle indicator when the estimated angle is greater than or equal to the second preset angle and less than or equal to the third preset angle, wherein the second angle indicator is configured to indicate that there is a risk for the virtual vehicle in the air to land in the current driving posture; or

[0245] The fifth display submodule is used to display a third angle mark when the estimated angle is greater than a third preset angle, wherein the third angle mark is used to indicate that it is dangerous for the virtual vehicle in the air to land in the current driving posture.

[0246] For specific embodiments, reference may be made to the examples shown in the above-mentioned virtual vehicle control method, which will not be repeated here.

[0247] As an optional solution, the display unit 1402 includes:

[0248] a sixth display module, configured to display a virtual character driving a virtual vehicle in a flying scene, wherein the flying scene is a virtual scene including a flying starting point object and a flying target object;

[0249] The seventh display module is used to display a leap control element when the virtual vehicle is heading towards the leap starting object and the distance between the virtual vehicle and the leap starting object is less than a preset distance, wherein the leap control element is an intelligent control element belonging to the driving control type, and the leap control element is used to assist in controlling the virtual character to continue driving the virtual vehicle in a safe state to pass the leap starting object and leap to the leap target object. The leap control element is also used to prompt at least one effective speed and the current driving speed of the virtual vehicle, and the effective speed is the speed required for the virtual vehicle to pass the leap starting object and leap to the leap target object.

[0250] For specific embodiments, reference may be made to the examples shown in the above-mentioned virtual vehicle control method, which will not be repeated here.

[0251] As an optional solution, the device further includes:

[0252] A second acquisition module is used to acquire an estimated flight trajectory of the virtual vehicle after it passes through the flight starting point object at the current driving speed before displaying the flight control element;

[0253] The third acquisition module is configured to acquire at least one flying speed when the estimated flying trajectory intersects the flying target object before displaying the flying control element, and determine the flying speed as the effective speed.

[0254] For specific embodiments, reference may be made to the examples shown in the above-mentioned virtual vehicle control method, which will not be repeated here.

[0255] As an optional solution, the display unit 1402 includes:

[0256] an eighth display module, configured to display a virtual character driving a virtual vehicle in a flying scene, wherein the flying scene is a virtual scene including a flying starting point object and a flying target object;

[0257] The ninth display module is used to display an intelligent leap control when the virtual vehicle is heading towards the leap starting point object and the distance between the virtual vehicle and the leap starting point object is less than a preset distance, wherein the intelligent leap control is an intelligent control element belonging to the driving control type, and the intelligent leap control is used to control the virtual character to continue driving the virtual vehicle in a safe state through the leap starting point object and leap to the leap target object.

[0258] For specific embodiments, reference may be made to the examples shown in the above-mentioned virtual vehicle control method, which will not be repeated here.

[0259] As an optional solution, the second control unit 1406 includes:

[0260] a fourth acquisition module, configured to, in response to an operation triggered on the intelligent leap control, acquire an estimated leap trajectory of the virtual vehicle after it passes through the leap starting point object at the current driving speed;

[0261] The second adjustment module is used to control the virtual vehicle to adjust the current driving speed until the estimated flight trajectory intersects the flight target object when the estimated flight trajectory does not intersect with the flight target object.

[0262] For specific embodiments, reference may be made to the examples shown in the above-mentioned virtual vehicle control method, which will not be repeated here.

[0263] According to another aspect of an embodiment of the present application, an electronic device for implementing the above-mentioned virtual vehicle control method is also provided. The electronic device may be, but is not limited to, the user device 102 or the server 112 shown in Figure 1. This embodiment takes the electronic device as the user device 102 as an example. Further, as shown in Figure 15, the electronic device includes a memory 1502 and a processor 1504. A computer program is stored in the memory 1502, and the processor 1504 is configured to execute the steps in any of the above-mentioned method embodiments through the computer program.

[0264] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.

[0265] Optionally, in this embodiment, the processor may be configured to execute the steps of the virtual vehicle control method through a computer program.

[0266] Alternatively, those skilled in the art will appreciate that the structure shown in FIG15 is merely illustrative and does not limit the structure of the electronic device. For example, the electronic device may include more or fewer components (such as network interfaces) than those shown in FIG15 , or may have a configuration different from that shown in FIG15 .

[0267] Memory 1502 can be used to store software programs and modules, such as program instructions / modules corresponding to the virtual vehicle control method and device in the embodiments of the present application. Processor 1504 executes the software programs and modules stored in memory 1502 to execute various functional applications and data processing, thereby implementing the aforementioned virtual vehicle control method. Memory 1502 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, memory 1502 may further include memory remotely located from processor 1504, which can be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. Memory 1502 can specifically, but is not limited to, be used to store information such as virtual characters, virtual vehicles, and intelligent control elements. As an example, as shown in FIG15 , memory 1502 may, but is not limited to, include the display unit 1402, the first control unit 1404, and the second control unit 1406 of the aforementioned virtual vehicle control device. In addition, it may also include but is not limited to other module units in the control device of the above-mentioned virtual vehicle, which will not be repeated in this example.

[0268] Optionally, the transmission device 1506 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one embodiment, the transmission device 1506 includes a network interface controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In one embodiment, the transmission device 1506 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0269] In addition, the electronic device further includes: a display 1508 for displaying information such as the virtual character, virtual vehicle, and intelligent control elements; and a connection bus 1510 for connecting the various module components in the electronic device.

[0270] In other embodiments, the user device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting multiple nodes via network communication. The nodes may form a peer-to-peer network, and any computing device, such as a server, user device, or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.

[0271] According to one aspect of the present application, a computer program product is provided, comprising a computer program / instructions containing program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication component and / or installed from a removable medium. When the computer program is executed by a central processing unit, the various functions provided in the embodiments of the present application are performed.

[0272] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0273] It should be noted that the computer system of the electronic device is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0274] A computer system includes a central processing unit (CPU), which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) or programs loaded from the storage unit into random access memory (RAM). The RAM also stores various programs and data required for system operation. The CPU, the read-only memory, and the RAM are connected to each other via a bus. Input / output interfaces (I / O interfaces) are also connected to the bus.

[0275] The following components are connected to the input / output interface: an input section including a keyboard, mouse, etc.; an output section including a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section including a hard disk; and a communication section including a network interface card such as a local area network card and a modem. The communication section performs communication processing via a network such as the Internet. A drive is also connected to the input / output interface as needed. Removable media such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, etc. are installed in the drive as needed so that computer programs read from them can be installed into the storage section as needed.

[0276] In particular, according to an embodiment of the present application, the processes described in the various method flow charts can be implemented as computer software programs. For example, an embodiment of the present application includes a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for executing the methods shown in the flow charts. In such an embodiment, the computer program can be downloaded and installed from a network via a communication portion, and / or installed from a removable medium. When the computer program is executed by a central processing unit, the various functions defined in the system of the present application are performed.

[0277] According to one aspect of the present application, a computer-readable storage medium is provided, and a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various optional implementations described above.

[0278] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for executing the steps in the virtual vehicle control method.

[0279] Alternatively, in the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories), or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0280] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the electronic device through a program, and the program may be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0281] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0282] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above-mentioned computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods of each embodiment of the present application.

[0283] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0284] In the several embodiments provided in this application, it should be understood that the disclosed user equipment can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, and can be electrical or other forms.

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

[0286] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0287] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A control method for a virtual vehicle, executed by an electronic device, comprising: Displaying a virtual vehicle driven by a virtual character and intelligent control elements; When the intelligent control element belongs to the type of out-of-control, in response to an operation triggered based on the intelligent control element, controlling the virtual character to get out of the virtual vehicle in the safe state; When the intelligent control element belongs to the type of driving control, assisting in controlling the virtual character to continue driving the virtual vehicle in the safe state through the intelligent control element.

2. The method according to claim 1, wherein the displaying the virtual vehicle driven by the virtual character and the intelligent control elements comprises: Displaying the virtual vehicle driven by the virtual character and at least one intelligent control, wherein the number of the at least one intelligent control is related to the state of the virtual vehicle, and the intelligent control is an intelligent control element belonging to the type of out-of-control.

3. The method according to claim 2, wherein the displaying the virtual vehicle driven by the virtual character and at least one intelligent control comprises: When the state of the virtual vehicle is a safe state, displaying the virtual vehicle driven by the virtual character and a first intelligent control, wherein the at least one intelligent control includes the first intelligent control; When the state of the virtual vehicle is a dangerous state, displaying the virtual vehicle driven by the virtual character, and the first intelligent control and a second intelligent control, wherein a first distance between the second intelligent control and a control control of the virtual vehicle is less than a second distance between the first intelligent control and the control control, and the at least one intelligent control includes the first intelligent control and the second intelligent control.

4. The method according to claim 2 or 3, before the displaying the virtual vehicle driven by the virtual character and at least one intelligent control, the method further comprises: Obtaining a survival value of the virtual vehicle and an angle between the virtual vehicle and a driving surface, wherein when the survival value of the virtual vehicle is lower than a first preset threshold, it is set as prohibited from driving, and the driving surface is the surface on which the virtual vehicle is currently driving; When the survival value is lower than a second preset threshold, and / or the angle is less than a third preset threshold, determining that the state of the virtual vehicle is a dangerous state, wherein the second preset threshold is greater than the first preset threshold.

5. The method according to any one of claims 2 to 4, wherein the responding to an operation triggered based on the intelligent control element and controlling the virtual character to get out of the virtual vehicle in the safe state comprises: In response to an operation triggered on any one of the at least one intelligent control, adjusting the state of the virtual vehicle to a safe state; Controlling the virtual character to move from the driving position of the virtual vehicle to a non-driving position of the virtual vehicle; Controlling the virtual character to get out of the virtual vehicle from the non-driving position.

6. The method according to any one of claims 1 to 5, wherein the displaying of the virtual vehicle and intelligent control elements driven by the virtual character comprises: showing the virtual character driving a virtual vehicle in mid-air, wherein a vertical distance between the virtual vehicle in mid-air and any surface is greater than a fourth threshold and the surfaces do not intersect with each other; An intelligent landing control is displayed, wherein the intelligent landing control is used to assist in controlling the virtual character to continue driving the virtual vehicle in the air in the safe state, and the intelligent landing control is an intelligent control element belonging to the driving control type.

7. The method according to claim 6, wherein the step of assisting the virtual character in controlling the virtual vehicle to continue driving the virtual vehicle in the safe state through the intelligent control element comprises: In response to an operation triggered on the intelligent landing control, obtaining an estimated angle between the virtual vehicle in the air and a landing surface, where the landing surface is an estimated landing surface of the virtual vehicle in the air; When the estimated angle is greater than a first preset angle, the current driving posture of the virtual vehicle in the air is adjusted until the estimated angle is less than the first preset angle.

8. The method according to any one of claims 1 to 7, wherein the displaying of the virtual vehicle and intelligent control elements driven by the virtual character comprises: showing the virtual character driving a virtual vehicle in mid-air, wherein a vertical distance between the virtual vehicle in mid-air and any surface is greater than a fourth threshold and the surfaces do not intersect with each other; A vehicle angle identifier is displayed, wherein the vehicle angle identifier is used to assist in controlling the virtual character to continue driving the virtual vehicle in the air in the safe state, and the vehicle angle identifier is used to represent an estimated angle between the virtual vehicle in the air and the surface to be landed, the surface to be landed is the estimated landing surface of the virtual vehicle in the air, and the vehicle angle identifier is an intelligent control element belonging to the driving control type.

9. The method according to claim 8, wherein displaying the vehicle angle mark comprises: When the estimated angle is less than the second preset angle, a first angle mark is displayed, wherein the first angle mark is used to indicate that it is safe for the virtual vehicle in the air to land in the current driving posture; or When the estimated angle is greater than or equal to the second preset angle and less than or equal to the third preset angle, a second angle indicator is displayed, wherein the second angle indicator is used to indicate that there is a risk for the virtual vehicle in the air to land in the current driving posture; or When the estimated angle is greater than the third preset angle, a third angle mark is displayed, wherein the third angle mark is used to indicate that it is dangerous for the virtual vehicle in the air to land in the current driving posture.

10. The method according to any one of claims 1 to 9, wherein the displaying of the virtual vehicle and intelligent control elements driven by the virtual character comprises: Display the virtual character driving the virtual vehicle in a flying scene, where the flying scene is a virtual scene including a flying start object and a flying target object; When the virtual vehicle is facing the flying start object and the distance between the virtual vehicle and the flying start object is less than a preset distance, display a flying control element, where the flying control element is an intelligent control element belonging to the driving control type, and the flying control element is used to assist in controlling the virtual character to continue driving the virtual vehicle through the flying start object in the safe state and fly to the flying target object. The flying control element is further used to prompt at least one effective speed and the current driving speed of the virtual vehicle, and the effective speed is the speed required for the virtual vehicle to pass through the flying start object and fly to the flying target object.

11. The method according to claim 10, before displaying the flying control element, the method further includes: Obtain a predicted flying trajectory presented after the virtual vehicle passes through the flying start object at the current driving speed; Obtain at least one flying speed when the predicted flying trajectory intersects with the flying target object, and determine the flying speed as the effective speed.

12. The method according to any one of claims 1 to 11, the display of the virtual vehicle driven by the virtual character and the intelligent control element includes: Display the virtual character driving the virtual vehicle in a flying scene, where the flying scene is a virtual scene including a flying start object and a flying target object; When the virtual vehicle is facing the flying start object and the distance between the virtual vehicle and the flying start object is less than a preset distance, display an intelligent flying control, where the intelligent flying control is an intelligent control element belonging to the driving control type, and the intelligent flying control is used to control the virtual character to continue driving the virtual vehicle through the flying start object in the safe state and fly to the flying target object.

13. The method according to any one of claims 10 to 12, the assisting in controlling the virtual character to continue driving the virtual vehicle in the safe state through the intelligent control element includes: In response to an operation triggered by the intelligent flying control, obtain a predicted flying trajectory presented after the virtual vehicle passes through the flying start object at the current driving speed; When the predicted flying trajectory does not intersect with the flying target object, control the virtual vehicle to adjust the current driving speed until the predicted flying trajectory intersects with the flying target object.

14. A control device for a virtual vehicle, including: A display unit for displaying a virtual vehicle driven by a virtual character and an intelligent control element; A first control unit for, when the intelligent control element belongs to a detachment control type, in response to an operation triggered based on the intelligent control element, controlling the virtual character to detach from the virtual vehicle in the safe state; A second control unit, configured to, when the intelligent control element belongs to the driving control type, assist in controlling the virtual character to continue driving the virtual vehicle in the safe state through the intelligent control element.

15. A computer-readable storage medium, the computer-readable storage medium comprising a stored program, wherein, When the program is run on an electronic device, the method described in any one of claims 1 to 14 is executed.

16. A computer program product, comprising a computer program / instructions, which, when executed by a processor, implement the steps of the method described in any one of claims 1 to 14.

17. An electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to execute the method described in any one of claims 1 to 14 through the computer program.

Citation Information

Patent Citations

  • Control device, device and equipment of virtual object in virtual scene and storage medium

    CN110052027A

  • Carrier control method, carrier control device, storage medium and electronic device

    CN110772784A

  • Carrier control method and device and computer readable storage medium

    CN112156474A

  • Method and apparatus for driving vehicle in virtual environment, terminal, and storage medium

    US20220184506A1