Guiding method, device and equipment in three-dimensional virtual environment and medium

CN117282099BActive Publication Date: 2026-09-29TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210691338.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-17
Publication Date
2026-09-29
Estimated Expiration
2042-06-17

AI Technical Summary

Benefits of technology

[0020]当主控虚拟角色在跳伞前或跳伞过程中,在三维虚拟环境中标记了目标地点,则在虚拟环境画面中显示指向目标地点的三维路径指引,该三维路径指引显示为从主控虚拟角色当前位置到目标地点的三维线条,三维线条指向目标地点的方向可以指引主控虚拟角色移动的方向,三维线条指向目标地点的倾斜程度可以指引主控虚拟角色的移动速度。并且,随着主控虚拟角色位置的移动,该三维路径指引会实时更新,基于该三维路径指引控制主控虚拟角色能够准确地使其降落到目标地点,提高对主控虚拟角色跳伞过程的控制精准度、提高人机交互效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117282099B_ABST
    Figure CN117282099B_ABST
Patent Text Reader

Abstract

The application discloses a guiding method and device in a three-dimensional virtual environment, equipment and a medium, and belongs to the virtual environment field. The method comprises the following steps: in response to a marking operation, displaying a target location which is marked, and the target location is a target landing location on the ground of the three-dimensional virtual environment; in the case that the host virtual character jumps out of the aircraft and is in a landing state, displaying a three-dimensional path guide pointing to the target location, the three-dimensional path guide comprises a three-dimensional line connecting the current position of the host virtual character in the air and the target location on the ground, and the three-dimensional path guide is used for indicating a control mode of controlling the host virtual character to land from the current position to the target location; and in response to the change of the current position of the host virtual character, updating the display of the three-dimensional path guide according to the changed current position. The above scheme can provide the operation indication of the parachute according to the target location, and facilitates the control of the host virtual character to land on the target location.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of virtual environments, and in particular to a guidance method, apparatus, device, and medium in a three-dimensional virtual environment. Background Technology

[0002] In tactical competitive shooting games, virtual characters need to take a plane and parachute into the virtual environment at the start of the game.

[0003] In related technologies, the final landing position of a virtual character depends on many factors, such as the timing of the virtual character jumping out of the plane, the direction and speed of the virtual character gliding in the air after jumping out of the plane, the timing of the virtual character opening the parachute, the direction of movement of the virtual character after opening the parachute, and the speed of movement after opening the parachute.

[0004] For novice players, it is difficult to control the main virtual character to accurately land at the target location using the complex parachute operation described above. Summary of the Invention

[0005] This application provides a guidance method, device, equipment, and medium in a three-dimensional virtual environment, which can provide parachute operation instructions according to the target location, making it easier to control the main virtual character to land at the target location.

[0006] The technical solution is as follows:

[0007] According to one aspect of this application, a guidance method in a three-dimensional virtual environment is provided, the method comprising:

[0008] In response to the marking operation, the marked target location is displayed, which is the target landing location located on the ground of the three-dimensional virtual environment;

[0009] When the main virtual character jumps out of the aircraft and is in the landing state, a three-dimensional path guide pointing to the target location is displayed. The three-dimensional path guide includes a three-dimensional line connecting the current position of the main virtual character in the air to the target location on the ground. The three-dimensional path guide is used to indicate the control method for controlling the main virtual character to land from the current position to the target location.

[0010] In response to a change in the current position of the main virtual character, the three-dimensional path guidance is updated and displayed according to the changed current position.

[0011] According to another aspect of this application, a guidance device in a three-dimensional virtual environment is provided, the device comprising:

[0012] The interaction module is used to receive tagging operations;

[0013] The display module is used to display the marked target location in response to the marking operation, wherein the target location is the target landing location located on the ground of the three-dimensional virtual environment;

[0014] The display module is used to display a three-dimensional path guide pointing to the target location when the main virtual character jumps out of the aircraft and is in the landing state. The three-dimensional path guide includes a three-dimensional line connecting the current position of the main virtual character in the air and the target location on the ground. The three-dimensional path guide is used to indicate the control method for controlling the main virtual character to land from the current position to the target location.

[0015] The display module is used to update the display of the three-dimensional path guide according to the changed current position of the main virtual character in response to the change of the current position.

[0016] According to one aspect of this application, a computer device is provided, the computer device comprising: a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the guidance method in a three-dimensional virtual environment as described above.

[0017] According to another aspect of this application, a computer-readable storage medium is provided, the storage medium storing a computer program that is loaded and executed by a processor to implement the guidance method in a three-dimensional virtual environment as described above.

[0018] According to another aspect of this application, a computer program product is provided, the computer program product including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, causing the computer device to perform the guidance method in a three-dimensional virtual environment provided in the above aspect.

[0019] The beneficial effects of the technical solutions provided in this application include at least the following:

[0020] When the main virtual character marks a target location in the 3D virtual environment before or during the parachute jump, a 3D path guide pointing to the target location is displayed on the virtual environment screen. This 3D path guide is displayed as a 3D line from the main virtual character's current position to the target location. The direction of the 3D line pointing to the target location guides the direction of movement of the main virtual character, and the degree of inclination of the 3D line pointing to the target location guides the movement speed of the main virtual character. Furthermore, as the main virtual character moves, the 3D path guide is updated in real time. Based on this 3D path guide, the main virtual character can be accurately landed at the target location, improving the control accuracy of the main virtual character's parachute jump process and improving the efficiency of human-computer interaction. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 A block diagram of a computer system provided in an exemplary embodiment is shown;

[0023] Figure 2 A flowchart illustrating a guidance method in a three-dimensional virtual environment provided by an exemplary embodiment is shown;

[0024] Figure 3 A schematic diagram of a guidance method in a three-dimensional virtual environment provided by an exemplary embodiment is shown;

[0025] Figure 4 A schematic diagram of a guidance method in a three-dimensional virtual environment provided by an exemplary embodiment is shown;

[0026] Figure 5 A schematic diagram of a guidance method in a three-dimensional virtual environment provided by an exemplary embodiment is shown;

[0027] Figure 6 A flowchart illustrating a guidance method in a three-dimensional virtual environment provided by an exemplary embodiment is shown;

[0028] Figure 7 A flowchart illustrating a guidance method in a three-dimensional virtual environment provided by an exemplary embodiment is shown;

[0029] Figure 8 A schematic diagram of a guidance method in a three-dimensional virtual environment provided by an exemplary embodiment is shown;

[0030] Figure 9 A flowchart illustrating a guidance method in a three-dimensional virtual environment provided by an exemplary embodiment is shown;

[0031] Figure 10 A schematic diagram of a guidance method in a three-dimensional virtual environment provided by an exemplary embodiment is shown;

[0032] Figure 11 A schematic diagram of a guidance method in a three-dimensional virtual environment provided by an exemplary embodiment is shown;

[0033] Figure 12 A schematic diagram of a guidance method in a three-dimensional virtual environment provided by an exemplary embodiment is shown;

[0034] Figure 13 A flowchart illustrating a guidance method in a three-dimensional virtual environment provided by an exemplary embodiment is shown;

[0035] Figure 14 A flowchart illustrating a guidance method in a three-dimensional virtual environment provided by an exemplary embodiment is shown;

[0036] Figure 15 A schematic diagram of a guidance method in a three-dimensional virtual environment provided by an exemplary embodiment is shown;

[0037] Figure 16 A flowchart illustrating a guidance method in a three-dimensional virtual environment provided by an exemplary embodiment is shown;

[0038] Figure 17 A structural block diagram of a guidance device in a three-dimensional virtual environment provided by an exemplary embodiment is shown;

[0039] Figure 18 A structural block diagram of a computer device provided in an exemplary embodiment is shown. Detailed Implementation

[0040] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0041] It should be understood that "several" in this article refers to one or more, and "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0042] First, a brief introduction to the terms used in the embodiments of this application:

[0043] A three-dimensional virtual environment (or "virtual environment") is a virtual environment displayed (or provided) by the client when running on the terminal. This virtual environment can be a simulation of the real world, a semi-simulated / semi-fictional environment, or a purely fictional environment.

[0044] Optionally, the virtual environment is a battle environment for virtual characters. For example, in a battle royale game, at least one virtual character engages in a single battle in the virtual environment. The virtual character survives by avoiding attacks from enemy units and dangers present in the virtual environment (such as poison gas circles, swamps, etc.). When a virtual character's health points in the virtual environment reach zero, the virtual character's life ends, and the last surviving virtual character is the winner.

[0045] Figure 1 A structural block diagram of a computer system provided in an exemplary embodiment of this application is shown. The computer system 100 includes a terminal 120 and a server 140.

[0046] Terminal 120 has a client installed and running that supports a virtual environment. A control account for the main virtual character is logged into the client. The client can be any of the following: a 3D map program, a shooting game, a Virtual Reality (VR) application, or an Augmented Reality (AR) application. Terminal 120 is the terminal used by the user, who uses Terminal 120 to control the main virtual character located in the virtual environment to perform activities, including but not limited to: adjusting body posture, walking, running, jumping, riding, driving, aiming, picking up, and using at least one of the following: throwing objects. For example, the main virtual character is a virtual person, such as a simulated character or an anime character. For example, the user controls the main virtual character's activities through UI controls on the virtual environment screen.

[0047] Terminal 120 is connected to server 140 via a wireless network or a wired network.

[0048] Server 140 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. For example, server 140 includes a processor 144 and a memory 142. Memory 142 further includes a receiving module 1421, a control module 1422, and a sending module 1423. The receiving module 1421 receives requests sent by clients, such as requests to control the movement of virtual characters. The control module 1422 controls the rendering of the virtual environment. The sending module 1423 sends responses to clients, such as indicating that the virtual character's position has changed. Server 140 provides background services to clients supporting the virtual environment. Optionally, server 140 undertakes the primary computing work, and terminal 120 undertakes secondary computing work; or, server 140 undertakes secondary computing work, and terminal 120 undertakes primary computing work; or, server 140 and terminal 120 undertake computing work collaboratively.

[0049] Optionally, the client described above can run on different operating system platforms (Android or iOS). Optionally, the device type of the terminal includes at least one of the following: smartphone, smartwatch, in-vehicle terminal, wearable device, smart TV, tablet computer, e-book reader, MP3 player, MP4 player, laptop computer, and desktop computer. The following embodiments use a smartphone as an example.

[0050] Those skilled in the art will understand that the number of terminals described above can be more or less. For example, there may be only one terminal, or there may be dozens or hundreds of terminals, or even more. This application does not limit the number of terminals or the type of device.

[0051] Figure 2 A flowchart illustrating a guidance method in a three-dimensional virtual environment provided in an exemplary embodiment of this application is shown, in which the method is applied... Figure 1 The terminal 120 shown (or a client installed on the terminal 120 that supports a three-dimensional virtual environment) is used as an example to illustrate the method, which includes:

[0052] Step 220: In response to the marking operation, display the marked target location, which is the target landing location located on the ground of the three-dimensional virtual environment.

[0053] Master Virtual Character: Refers to an active object controlled by the client in a virtual environment. This active object can be a virtual person, virtual animal, anime character, etc., such as a person or animal displayed in a 3D virtual environment. Optionally, the virtual character is a 3D model created based on animation skeletal technology. Each virtual character has its own shape and volume in the 3D virtual environment and occupies a portion of the space in the 3D virtual environment.

[0054] The marking operation can be clicking on the target location on the map control (minimap) of the 3D virtual environment. Alternatively, it can be selecting the target location on the 3D virtual environment screen. Or, it can be selecting a location as the target location from several candidate locations.

[0055] For example, such as Figure 3 As shown, clicking on the target location 302 on the map control 301 in the 3D virtual environment will complete the marking operation of the target location 302.

[0056] For example, a list of candidate locations is displayed, which includes at least one candidate location. In response to the operation of selecting a first candidate location, the first candidate location is determined as the target location, and a marker is displayed at the target location in the map control and / or the 3D virtual environment.

[0057] In another embodiment, players mark target locations using peripherals such as gamepads, mice, and keyboards. In yet another embodiment, players can perform the marking operation using VR (Virtual Reality) glasses, VR headsets, voice control, or motion sensing.

[0058] After a target location is marked, an icon indicating the marked location is displayed on the map control, or in the 3D virtual environment. For example, ... Figure 3 As shown, a location marker is displayed at target location 302. Alternatively, as... Figure 4 As shown, a beam of light is displayed at target location 302 in the 3D virtual environment, marking the location.

[0059] Alternatively, the target location can also be marked by other virtual characters, such as by teammates of the controlling virtual character.

[0060] In this embodiment of the application, the user can mark the target location before parachuting or after parachuting.

[0061] For example, the method provided in this application embodiment is applied to the parachute process of the master virtual character, the parachute process includes: (1) the master virtual character rides an aircraft along a predetermined route; (2) in response to the parachute operation, the master virtual character jumps out of the aircraft and glides in the air; (3) in response to the parachute opening operation, the master virtual character opens the parachute and slowly descends in the air; (4) the master virtual character reaches the ground.

[0062] Users can mark the target location at any time during the parachute jump and before the main virtual character reaches the ground.

[0063] The target location is situated on the ground within the 3D virtual environment. Alternatively, the target location may be located on a building within the 3D virtual environment. Optionally, the marking operation involves selecting the target location on a map control. The terminal reads the 2D coordinates of the target location from the map control and maps these coordinates onto the 3D virtual environment to obtain the 2D horizontal coordinates of the target location on a horizontal plane within the 3D virtual environment. Optionally, a detection line is emitted vertically downwards from a preset height above these 2D horizontal coordinates. The intersection of the detection line and the 3D virtual environment model is the target location, thus obtaining its 3D coordinates.

[0064] The target location is the place the user marks as the place they want to control the main virtual character to reach. Based on this target location, the terminal generates a 3D guide line for the user to instruct them on how to control the main virtual character to reach that location.

[0065] Step 240: When the main virtual character jumps out of the aircraft and is in the landing state, a three-dimensional path guide pointing to the target location is displayed. The three-dimensional path guide includes a three-dimensional line connecting the current position of the main virtual character in the air and the target location on the ground. The three-dimensional path guide is used to indicate the control method for the main virtual character to descend from the current position to the target location.

[0066] When the main virtual character is in the landing phase and a marked target location exists, the terminal calculates the expected path from the current location to the target location based on the main virtual character's current position and the target location, and displays a 3D path guide based on this expected path. This 3D path guide contains instructions for various operations.

[0067] For example, the main virtual character can perform at least one of the following operations during descent: change flight direction (any direction in 360°), fly to the left front, fly to the right front, increase descent speed, decrease descent speed, and open parachute.

[0068] The 3D path guide can display operation icons for each action, instructing the user to perform the corresponding action to control the main virtual character's movement along the 3D path. Alternatively, the 3D path guide can display speed values ​​at various locations, indicating the descent speed the main virtual character should maintain at each location. Alternatively, the 3D path guide can display the gliding path and parachute deployment path in different colors to indicate when the main virtual character should deploy the parachute.

[0069] For example, a 3D path guide includes a 3D line, which is a line in 3D space. This 3D line contains at least two 3D coordinate points in the 3D virtual environment. The 3D line can be a straight line, a curve, or a line of any shape. This 3D line represents the expected movement path planned by the terminal / server for the main virtual character, and the user can control the main virtual character to move along this 3D line to accurately land at the target location.

[0070] The 3D path guide connects the current position and the target location with 3D lines; the direction of the 3D path guide is used to guide the direction of the main virtual character's descent, including the direction from the current position to the target location along the 3D path guide; and / or, the slope of the 3D path guide in the vertical direction is used to guide the speed of the main virtual character's descent.

[0071] For example, such as Figure 5As shown, a 3D path guide 303 pointing to the target location 302 is displayed on the virtual environment screen. This 3D path guide 303 connects the current position of the main virtual character 304 and the target location 302. The 3D path guide 303 includes a parachute deployment path guide represented by dashed lines and a gliding path guide represented by solid lines. Furthermore, a parachute deployment marker 306 "parachute" is displayed next to the parachute deployment path guide, and a gliding marker 305 "small airplane" is displayed next to the gliding path guide.

[0072] Users can rotate the viewing angle to observe the 3D path guide from various perspectives, thereby obtaining information such as the direction and descent speed indicated by the path guide. For example, Figure 5 The system allows users to observe the 3D path guidance from a top-down perspective perpendicular to the horizontal plane, and then adjust the flight direction of the main virtual character to match the direction indicated by the 3D path guidance. Users can also observe the 3D path guidance from a perspective perpendicular to the vertical plane, and adjust the descent speed of the main virtual character by observing the slope of the 3D path guidance in the vertical direction (the greater the slope, the closer the 3D path guidance is to the vertical direction, and the faster the descent speed; the smaller the slope, the closer the 3D path guidance is to the horizontal direction, and the slower the descent speed).

[0073] For example, a 3D path guide will only be displayed in the 3D virtual environment if the main virtual character can reach the target location by parachuting. If the target location cannot be reached from the main virtual character's current location by parachuting, the 3D path guide will not be displayed in the 3D virtual environment.

[0074] When the main virtual character jumps out of the aircraft and is in a landing state, and the target location is within the first reachable range, a three-dimensional path guide pointing to the target location is displayed; wherein, the first reachable range is determined based on the current position of the main virtual character.

[0075] For example, the first reachable range is the area that can be reached from the current location of the master virtual character through a series of operations during the parachute jump.

[0076] For example, the main virtual character can adjust its descent speed in both gliding and parachute deployment states. In gliding state, the descent speed ranges from the slowest to the fastest gliding descent speed; in parachute deployment state, the descent speed ranges from the slowest to the fastest parachute deployment speed. All of these—descent speed, slowest gliding descent speed, fastest gliding descent speed, slowest parachute deployment speed, and fastest parachute deployment speed—are vertical speeds.

[0077] For example, the terminal obtains the current altitude of the current position of the main virtual character; calculates the maximum descent time by dividing the current altitude by the slowest descent speed when the parachute is deployed, where the slowest descent speed is the minimum speed at which the main virtual character descends when the parachute is deployed; calculates the maximum descent time by multiplying it by the horizontal movement speed, where the horizontal movement speed is the speed at which the main virtual character moves horizontally; calculates the horizontal distance from the current position to the target location; and determines that the target location is within a first reachable range if the horizontal distance is not greater than the longest horizontal distance.

[0078] In one alternative implementation, the descent speed of the main virtual character is not adjustable. The main virtual character descends at the default gliding descent speed while gliding and at the default parachute descent speed while in parachute deployment mode. Therefore, the slowest descent speed for parachute deployment in the above calculation method can be replaced with the default parachute descent speed.

[0079] Step 260: In response to the change in the current position of the main virtual character, update the displayed 3D path guide according to the changed current position.

[0080] The 3D path guidance changes in real time based on the position of the main virtual character. The terminal calculates the movement path to the target location based on the position of the main virtual character and displays the 3D path guidance based on the movement path. If the calculation result indicates that it is impossible to land at the target location from the current position of the main virtual character, the 3D path guidance is canceled.

[0081] In summary, the method provided in this application allows the virtual character to mark a target location in a 3D virtual environment before or during parachuting. A 3D path guide pointing to the target location is then displayed on the virtual environment screen. This path guide is displayed as a 3D line from the virtual character's current position to the target location. The direction of the 3D line towards the target location guides the direction of movement for the virtual character, and the degree of inclination of the line guides the speed of movement. Furthermore, as the virtual character moves, the 3D path guide is updated in real time. Controlling the virtual character based on this path guide enables accurate landing at the target location, improving the accuracy of control over the virtual character's parachuting process and enhancing human-computer interaction efficiency.

[0082] For example, this application provides three methods for guiding skydiving operations.

[0083] Method 1: Before parachuting, display the parachute reachable range (third reachable range) on the minimap with the aircraft as the center.

[0084] Method 2: If the target location is marked before parachuting, a guide line will be displayed on the minimap to guide you from the aircraft to the target location.

[0085] Method 3: After parachuting, if the target location has been marked, a 3D path guide pointing to the target location will be displayed in the 3D virtual environment.

[0086] The three guidance methods described above can be combined in any way to obtain new guidance methods. An exemplary embodiment is given below for each method.

[0087] Method 3:

[0088] based on Figure 2 In the optional embodiment shown, step 230 is included before step 240, and step 240 can be replaced by steps 240-1 to 240-2. Step 250 is included before step 240-2. Figure 6 A flowchart illustrating a guidance method in a three-dimensional virtual environment provided in an exemplary embodiment of this application is shown. The method includes:

[0089] Step 220: In response to the marking operation, display the marked target location, which is the target landing location located on the ground of the three-dimensional virtual environment.

[0090] For example, the execution time of step 220 can be arbitrary. For instance, step 220 can be executed before step 230, that is, the marking operation can be performed before parachuting. Alternatively, step 220 can be executed after step 230, that is, the marking operation can be performed after parachuting. Or, step 220 can also be executed after step 250, that is, the marking operation can be performed after the parachute is opened, in which case step 240-1 will not be executed.

[0091] Step 230: In response to the parachute operation, control the main virtual character to jump out of the aircraft and enter a gliding state.

[0092] The gliding state refers to the state in which the main virtual character is gliding in the air before the parachute is opened.

[0093] The parachute action allows users to trigger parachute controls.

[0094] For example, after jumping out of the aircraft, the main virtual character glides through the air. Optionally, the main virtual character has a constant horizontal speed. This horizontal speed can be the speed of the aircraft. Optionally, while gliding, the main virtual character undergoes free fall in the vertical direction. While gliding, the user can adjust the descent speed of the main virtual character by adjusting its attitude in the air.

[0095] For example, the landing state includes at least one of gliding and parachute deployment. When the main virtual character is in gliding, the 3D path guidance includes at least one of gliding path guidance and parachute deployment path guidance. When the main virtual character is in parachute deployment, the 3D path guidance includes parachute deployment path guidance.

[0096] Step 240-1: When the main virtual character is in a gliding state and there is a marked target location, display a three-dimensional path guide pointing to the target location. The three-dimensional path guide includes a gliding path guide and a parachute deployment path guide.

[0097] The display styles for gliding path guidance and parachute deployment path guidance differ. These display styles include at least one of the following: line style, color, display effects, icons, and line thickness. For example, ... Figure 5 As shown, the gliding path guide is displayed in a dark color with the gliding symbol 305 "small plane" next to it, while the parachute deployment path guide is displayed in a light color with the parachute deployment symbol 306 "parachute" next to it.

[0098] The gliding path guide is used to guide the main virtual character's gliding movement path, and the parachute deployment path guide is used to guide the main virtual character's movement path after the parachute is deployed. The gliding path guide and the parachute deployment path guide are connected, and the connection point between the gliding path guide and the parachute deployment path guide is used to instruct the main virtual character to deploy the parachute.

[0099] After the main virtual character parachutes, if a marker is placed on the minimap and the marker (target location) is within the reachable parachute area, a 3D route guide (3D path guide) will be displayed in the 3D virtual environment. Its two endpoints are the main virtual character's location and the target location, respectively. The 3D path guide uses different colors to mark gliding and parachute deployment sections. For example, a green line indicates that the main virtual character needs to glide on the current section, while a yellow line indicates that the parachute needs to be deployed.

[0100] When the descent speed can be adjusted during gliding and parachute deployment, one way to display 3D path guidance includes:

[0101] The terminal obtains the current position and current height of the main virtual character;

[0102] Calculate the first reachable distance, which is the farthest horizontal distance that can be moved before the parachute is deployed; the first reachable distance is equal to the product of the slowest descent time after parachute deployment and the horizontal movement speed of the main virtual character, and the slowest descent time after parachute deployment is equal to the current altitude divided by the slowest descent speed after parachute deployment.

[0103] Calculate the second reachable distance, which is the furthest horizontal distance that the parachute can travel when it automatically deploys. The second reachable distance is equal to the third distance plus the fourth distance. The third distance is equal to the first altitude divided by the slowest gliding descent speed multiplied by the horizontal movement speed. The first altitude is equal to the current altitude minus the automatic parachute deployment altitude. The fourth distance is equal to the automatic parachute deployment altitude divided by the slowest descent speed multiplied by the horizontal movement speed.

[0104] Calculate the third reachable distance, which is the farthest horizontal distance of the gliding movement; the third reachable distance is equal to the third distance.

[0105] Calculate the horizontal distance between the current location and the target location;

[0106] When the horizontal distance is less than the first reachable distance but greater than the second reachable distance, a three-dimensional path guide pointing to the target location is displayed. The three-dimensional path guide is a straight line connecting the current location and the target location, and the three-dimensional path guide is displayed as an umbrella opening path guide.

[0107] If the horizontal distance is less than the second reachable distance but greater than the third reachable distance, calculate the coordinates of the first turning point. The first turning point is the point on the line connecting the current position and the target location whose horizontal distance from the target location is equal to the farthest distance traveled after automatic parachute deployment. Display three-dimensional path guidance, which includes gliding path guidance connecting the current position and the first turning point, and parachute deployment path guidance connecting the first turning point and the target location.

[0108] If the horizontal distance is less than the third reachable distance, calculate the coordinates of the second turning point, which is the point on the line connecting the current position and the target location at the automatic parachute deployment altitude; display three-dimensional path guidance, including gliding path guidance connecting the current position and the second turning point, and parachute deployment path guidance connecting the second turning point and the target location.

[0109] like Figure 7 As shown, another way to display 3D path guidance includes:

[0110] Step 401: The terminal responds to the parachute operation on the parachute button and controls the main virtual character to jump out of the plane and parachute.

[0111] Step 402: The terminal determines whether the target location has been marked. If the target location has not been marked, the 3D path guidance will not be displayed; if the target location has been marked, proceed to step 403.

[0112] Step 403: The terminal determines the distance between the current position of the main virtual character and the target location. Based on the distance and a corresponding algorithm, it converts the distance into corresponding 3D line segments and adds appropriate colors to display a 3D path guide. For example, if the first reachable distance is calculated to be 900m, the second reachable distance to be 500m, and the third reachable distance to be 400m, the horizontal distance between the current position and the target location is calculated. If the horizontal distance is less than 400m, or greater than 401m but less than 500m, or greater than 501m but less than 900m, the corresponding algorithm is used to calculate and display the 3D path guide. If the horizontal distance is greater than 900m, the 3D path guide is not displayed.

[0113] For example, the method for obtaining 3D path guidance can be implemented as described above, or it can employ a neural network model. The neural network model is trained using training samples to output 3D lines for path guidance based on the input current position, target location, and the state of the controlling virtual character. Subsequently, the current position, target location, and state of the controlling virtual character (gliding or parachute deployed) are input into the neural network model, which outputs 3D lines, and the 3D path guidance is displayed based on these lines.

[0114] For example, such as Figure 8 As shown in (1), after parachuting, the main virtual character has a horizontal movement speed in the horizontal direction. If the vertical descent speed remains unchanged, the movement trajectory of the main virtual character is a diagonal line, and the main virtual character moves forward while descending. Figure 8 As shown in (2), a method for calculating the distance of a three-dimensional line guiding a three-dimensional path is given. Assume the descent speed of the main virtual character is 2 m / s, the horizontal movement speed is 1 m / s, the descent speed after parachute deployment is 1 m / s, the flight altitude is 900 m (i.e., the parachute height of the main virtual character), and if the main virtual character has not actively deployed its parachute when it is 100 m above the ground, the terminal will automatically deploy the parachute. Then, assuming the horizontal movement distance after parachute deployment is X, the gliding horizontal movement distance is A, and the parachute deployment horizontal movement distance is B, then X = A + B; 900 = 2A + B; where A is definitely less than 400 m, and B is definitely greater than 100 m. Assuming the horizontal distance between the current position of the main virtual character and the target location is 700m, then 700 = A + B; 900 = 2A + B; therefore, A = 200; B = 500; that is, the main virtual character needs to glide horizontally for 200m and then open the parachute to move horizontally for 500m.

[0115] Step 250: In response to the parachute opening operation, control the main virtual character to open the parachute and enter the parachute opening state.

[0116] The parachute-opening state refers to the state in which the main virtual character descends through the air after the parachute is opened.

[0117] The umbrella opening action allows users to trigger the umbrella opening control.

[0118] For example, after jumping out of the aircraft, the main virtual character glides through the air. The user can then control the main virtual character to deploy its parachute by triggering a parachute deployment control. Optionally, while the parachute is deployed, the main virtual character maintains a constant horizontal speed. This horizontal speed can be the speed of the aircraft. While the parachute is deployed, the user can adjust the parachute to control the descent speed of the main virtual character.

[0119] Step 240-2: When the main virtual character is in the parachute deployment state and there is a marked target location, display a three-dimensional path guide pointing to the target location. The three-dimensional path guide includes a parachute deployment path guide, which is used to guide the main virtual character's aerial movement path after the parachute is deployed.

[0120] When the descent speed of the main virtual character is adjustable while the parachute is open, one way to display 3D path guidance includes:

[0121] The terminal obtains the current position and current height of the main virtual character;

[0122] Calculate the fourth reachable distance, which is the farthest horizontal distance traveled after parachute deployment; the fourth reachable distance is equal to the product of the slowest descent time after parachute deployment and the horizontal movement speed of the main virtual character, and the slowest descent time after parachute deployment is equal to the current altitude divided by the slowest descent speed after parachute deployment.

[0123] Calculate the horizontal distance between the current location and the target location;

[0124] When the horizontal distance is less than the fourth reachable distance, a three-dimensional path guide pointing to the target location is displayed. The three-dimensional path guide is a straight line connecting the current location and the target location, and the three-dimensional path guide is displayed as an umbrella opening path guide.

[0125] Step 260: In response to the change in the current position of the main virtual character, update the displayed 3D path guide according to the changed current position.

[0126] For example, the 3D path guide is canceled in response to the main virtual character reaching the ground or the target location being out of reach.

[0127] In summary, the method provided in this application displays a three-dimensional path guide in a three-dimensional virtual environment after the main virtual character jumps. This path guide is displayed as three-dimensional lines. By observing the direction and slope of the three-dimensional lines, the user can determine the direction of movement and descent speed. By observing the color of the three-dimensional lines, the user can determine the landing state that the main virtual character needs to maintain on the current route. By observing the intersection of two colored line segments on the three-dimensional lines, the user can determine the timing for controlling the main virtual character to open the parachute. For novice users, they only need to control the main virtual character to keep its movement path as close as possible to the three-dimensional path guide to accurately land at the target location, improving the accuracy of parachuting operations for novice users and increasing human-computer interaction efficiency.

[0128] Method 2:

[0129] based on Figure 2 In the optional embodiment shown, step 210 is included before step 220, and step 221 is included after step 220. Figure 9 A flowchart illustrating a guidance method in a three-dimensional virtual environment provided in an exemplary embodiment of this application is shown. The method includes:

[0130] Step 210: Display the aircraft. The main virtual character is located in the aircraft, and the aircraft flies along the predetermined route.

[0131] For example, such as Figure 4 As shown, a 3D model 307 of the aircraft is displayed on the virtual environment screen.

[0132] Alternatively, display the aircraft's icon on the map control (mini-map) of the 3D virtual environment. For example... Figure 4 As shown, the aircraft icon 308 moves along the predetermined route 309 on the map control.

[0133] At this time, since the main virtual character is located inside the aircraft, the main virtual character may not be displayed on the virtual environment screen.

[0134] A predetermined flight path is a route randomly assigned by the terminal or server after the start of a game. This predetermined flight path can be at least one of a straight line, a curve, or an irregular line. For example, the predetermined flight path is displayed on a map control. For example, the predetermined flight path is a line parallel to the horizontal plane, meaning the aircraft flies at the same horizontal altitude. Alternatively, the predetermined flight path is a line not parallel to the horizontal plane, meaning the aircraft's flight altitude can be arbitrary.

[0135] Step 220: In response to the marking operation, display the marked target location, which is the target landing location located on the ground of the three-dimensional virtual environment.

[0136] Step 221: If a marked target location exists, display a guide line for the target location. The guide line is used to indicate the shortest path from the aircraft to the target location. The guide line intersects with the predetermined flight path. The intersection of the guide line and the predetermined flight path is used to instruct the main control virtual character to parachute out of the aircraft.

[0137] For example, guide lines are line segments displayed on the map control. Guide lines are used to indicate when the main virtual character should perform a parachute jump, and they are also used to indicate the horizontal distance traveled after the jump, including the gliding route and the parachute deployment route.

[0138] Alternatively, the guide line is a line segment displayed in a three-dimensional virtual environment. This guide line is displayed on the flight plane of the aircraft in the three-dimensional virtual environment. The height of the flight plane is equal to the flight altitude of the aircraft, and the flight plane is parallel to the horizontal plane.

[0139] For example, in response to the main virtual character being inside the aircraft and a marked target location existing, a guide line pointing to the target location is displayed in the 3D virtual environment and on the map control; this guide line is located on the flight plane. In response to the main virtual character being in a landing state and a marked target location existing, a guide line pointing to the target location is displayed on the map control.

[0140] When the target location is in front of the aircraft, the guide line includes a line segment perpendicular to the predetermined flight path. For example, such as... Figure 10 As shown, when the target location is in front of the aircraft's flight direction, the guide line 310 is a line segment perpendicular to the predetermined flight path from the target location 302.

[0141] When the target location is behind the aircraft, the guide line includes a line segment connecting the target location and the aircraft's position. For example, as... Figure 11 As shown, when the target location is behind the direction of flight of the aircraft, the guide line 310 is a line segment from the target location 302 to the location of the aircraft.

[0142] The guide lines include gliding lines and parachute deployment lines. The gliding and parachute deployment lines have different display styles. The gliding line indicates the gliding path of the main virtual character, while the parachute deployment line indicates the path for the main virtual character to deploy their parachute and descend. The intersection of the gliding and parachute deployment lines indicates when the main virtual character deploys their parachute. The display style includes at least one of the following: line style, color, display effect, icon, and line thickness.

[0143] When the target location is within the second reachable range, a guide line for the target location is displayed on the map control of the 3D virtual environment; wherein, the second reachable range is determined based on the farthest parachute distance and the remaining flight path of the aircraft, and the farthest parachute distance is the farthest horizontal distance that the main virtual character moves after parachuting out of the aircraft.

[0144] For example, the maximum parachute distance is equal to the aircraft's altitude divided by the slowest descent speed after parachute deployment multiplied by the horizontal movement speed. Here, the slowest descent speed is the minimum vertical descent speed of the main virtual character after parachute deployment. The horizontal movement speed is the horizontal movement speed of the main virtual character after parachute deployment.

[0145] The second reachable range includes a rounded rectangular area composed of multiple circular ranges centered on each point on the remaining flight path of the aircraft, with the furthest parachute distance as the radius. For example, such as... Figure 12 As shown, assuming the farthest parachute jump distance is 450m, the second reachable range 311 is a rounded rectangle with a height of 900m and a width of 900m plus the remaining flight path length.

[0146] For example, such as Figure 13 As shown, a method for displaying indicator lines is given.

[0147] Step 501: The terminal receives a punctuation operation to mark the target location on the minimap.

[0148] Step 502: The terminal determines whether the target location is within the parachute range (second reachable range). If it is not within the range, a line connecting the aircraft's current location to the target location is displayed. If it is within the range, step 503 is executed.

[0149] Step 503: The terminal determines whether the target location is behind the aircraft. If it is in front of the aircraft, it displays a line segment perpendicular to the flight path with the target location as the endpoint; if it is behind the aircraft, it displays a line segment from the target location to the aircraft's position.

[0150] Step 504: The terminal determines the length of the indicator line segment. If it is less than or equal to the third reachable distance (400m), the indicator line is displayed in green, indicating that gliding will reach the target location. If it is greater than the third reachable distance (400m) but less than the second reachable distance (500m), the indicator line is displayed in two segments: the segment within 400m is displayed in green, and the segment beyond 400m is displayed in yellow. Green represents the gliding segment, and yellow represents the parachute deployment segment. Yellow indicates that the user does not need to perform any parachute deployment operation and can wait for automatic deployment. If it is greater than the second reachable distance (500m) but less than the first reachable distance (900m), the indicator line is displayed in two segments. The gliding segment and the parachute deployment segment are determined according to the algorithm. The gliding segment is displayed in green, and the parachute deployment segment is displayed in red. Red indicates that the user needs to deploy the parachute in advance, otherwise the main virtual character cannot reach the target location.

[0151] For example, the guide lines provided in this embodiment and Figure 2 , Figure 6 The 3D path guidance provided in the illustrated embodiment can be displayed simultaneously after the main virtual character parachutes. For example, when the main virtual character is in a landing state and there is a marked target location, a guide line pointing to the target location is displayed on the map control, and at the same time, a 3D path guidance pointing to the target location is displayed in the 3D virtual environment.

[0152] In summary, the method provided in this application displays a guide line pointing to the target location on a minimap after the user marks the target location. If the target location is reachable and located in front of the aircraft, a line segment perpendicular to the predetermined flight path is displayed, and the intersection of this line segment and the predetermined flight path is the position for controlling the virtual character to parachute. If the target location is reachable and located behind the aircraft, a line segment connecting the target location and the aircraft's position is displayed, prompting the virtual character to parachute as soon as possible. Furthermore, the guide line displays different sections in different colors; for example, gliding sections are displayed in green, automatic parachute deployment sections in yellow, and pre-deployment sections in red, to indicate the location for the user to open the parachute. This guides the user's parachute operation, enabling the user to control the virtual character to accurately land at the target location.

[0153] Method 1:

[0154] based on Figure 2 In the optional embodiment shown, steps 210 and 211 are included before step 220. Figure 14 A flowchart illustrating a guidance method in a three-dimensional virtual environment provided in an exemplary embodiment of this application is shown. The method includes:

[0155] Step 210: Display the aircraft; the main virtual character is located inside the aircraft.

[0156] For example, such as Figure 4 As shown, a 3D model 307 of the aircraft is displayed on the virtual environment screen.

[0157] Alternatively, display the aircraft's icon on the map control (mini-map) of the 3D virtual environment. For example... Figure 4 As shown, the aircraft icon 308 is displayed on the map control.

[0158] At this time, since the main virtual character is located inside the aircraft, the main virtual character may not be displayed on the virtual environment screen.

[0159] Step 211: Display the third reachable range based on the aircraft's position. The third reachable range includes a circular area centered on the aircraft's position and with the furthest parachute distance as its radius.

[0160] The maximum parachute distance is equal to the aircraft's altitude divided by the slowest descent speed after parachute deployment, multiplied by the horizontal movement speed. The third reachable range is used to indicate the area that the main virtual character can reach after parachuting.

[0161] For example, a third reachable range can be displayed centered on the aircraft's location. Alternatively, three reachable ranges can be displayed centered on the aircraft's location. That is, the third reachable range is broken down into multiple sub-ranges to indicate the area that the user can reach through different parachute operations.

[0162] A third reachable range centered on the aircraft's position is displayed on the map space of the three-dimensional virtual environment; the third reachable range includes at least one of the following: gliding reachable range, automatic parachute reachable range, and pre-deployment reachable range; the gliding reachable range, automatic parachute reachable range, and pre-deployment reachable range are concentric circles.

[0163] The gliding reachable range indicates the area that the main virtual character can reach by gliding. The automatic parachute deployment reachable range indicates the area that the main virtual character can reach by automatically deploying the parachute upon reaching the automatic deployment altitude, without needing to actively perform the parachute deployment operation. The pre-deployment parachute reachable range indicates the area that the main virtual character can reach by manually deploying the parachute in advance, without waiting for automatic deployment.

[0164] Since the descent speed of the main virtual character slows down after the parachute is deployed, the horizontal distance the main virtual character can travel is greater. Therefore, the earlier the main virtual character deploys the parachute, the farther they can parachute to.

[0165] The glide reachable range includes a circular area centered on the aircraft's position and with the furthest glide distance as its radius; the automatic parachute deployment reachable range includes a circular area centered on the aircraft's position and with a first distance as its radius, the first distance being the sum of the furthest glide distance and the furthest movement distance after automatic parachute deployment; the pre-deployment parachute reachable range includes a circular area centered on the aircraft's position and with the furthest movement distance after pre-deployment parachute deployment as its radius.

[0166] The maximum gliding distance is equal to the second altitude divided by the slowest gliding descent speed multiplied by the horizontal movement speed. The second altitude is equal to the flight altitude minus the automatic parachute deployment altitude. The maximum distance traveled after automatic parachute deployment is equal to the automatic parachute deployment altitude divided by the slowest descent speed after parachute deployment multiplied by the horizontal movement speed. The maximum distance traveled after early parachute deployment is equal to the flight altitude divided by the slowest descent speed after parachute deployment multiplied by the horizontal movement speed.

[0167] For example, such as Figure 15As shown, the maximum gliding distance is 200m, the maximum distance traveled after automatic parachute deployment is 50m, and the maximum distance traveled after pre-deployment is 450m. Therefore, the gliding reachable range 312 is a circular range with a radius of 200m, the automatic parachute deployment reachable range 313 is a circular range with a radius of 250m minus the gliding reachable range, and the pre-deployment reachable range 314 is a circular range with a radius of 450m minus the automatic parachute deployment reachable range.

[0168] For example, the three ranges have different display styles, including at least one of color, line, fill pattern, icon, and display effect. For example, the three ranges are displayed as concentric circles, and the different ranges have different colors.

[0169] For example, such as Figure 4 As shown, on the map control, a third reachable range is displayed, centered on the aircraft icon 308. This third reachable range is represented by three concentric circles. Locations within this third reachable range can be reached by the main virtual character via parachute.

[0170] For example, such as Figure 16 As shown, a method for displaying the third reachable range is presented.

[0171] Step 601: The terminal receives the click on the small map and displays the enlarged map.

[0172] Step 602: The terminal determines whether the main virtual character has parachuted. If it has already parachuted, the stress map (third reachable range) is not displayed on the large map. If it has not yet parachuted, the stress map (third reachable range) is displayed on the airplane icon on the large map.

[0173] The pressure map is displayed by obtaining the aircraft's two-dimensional coordinate position X on a large map, and then displaying three concentric circles centered on X. The radii of these concentric circles are calculated according to the method described in the above embodiment. For example, the three radii are 200m, 250m, and 450m, respectively.

[0174] In summary, the method provided in this application displays three concentric circles centered on the aircraft on a large map before the main virtual character jumps. These three circles respectively indicate areas reachable by gliding, areas reachable by automatic parachute deployment, and areas reachable by pre-deployment. Users can observe the area of ​​their expected landing location to understand the post-jump maneuvers. If the expected landing location is within a gliding or automatic parachute deployment area, the user does not need to manually deploy the parachute and can wait for the terminal to automatically control the main virtual character to deploy the parachute upon reaching the automatic deployment altitude. If the expected landing location is within an area reachable by pre-deployment, the user needs to deploy the parachute in advance. This method visually displays the reachable area on a map and accurately conveys the reachable area for different jump operations to the user using color, guiding the user's jump operation, improving the accuracy of user control over the main virtual character's jump, and enhancing human-computer interaction efficiency.

[0175] Figure 17 This application shows a structural block diagram of a guidance device in a three-dimensional virtual environment provided by an exemplary embodiment of the present application. The device includes:

[0176] Interaction module 901 is used to receive tagging operations;

[0177] Display module 902 is used to display the marked target location in response to the marking operation, wherein the target location is the target landing location located on the ground of the three-dimensional virtual environment;

[0178] The display module 902 is used to display a three-dimensional path guide pointing to the target location when the main virtual character jumps out of the aircraft and is in the landing state. The three-dimensional path guide includes a three-dimensional line connecting the current position of the main virtual character in the air and the target location on the ground. The three-dimensional path guide is used to indicate the control method for controlling the main virtual character to land from the current position to the target location.

[0179] The display module 902 is used to update the display of the three-dimensional path guide according to the changed current position of the main virtual character in response to the change of the current position.

[0180] In an optional embodiment, the landing state includes a gliding state;

[0181] The device further includes:

[0182] Interaction module 901 is used to receive parachute commands;

[0183] Control module 904 is used to respond to the parachute operation and control the main virtual character to jump out of the aircraft and enter the gliding state, which is the state in which the main virtual character glides in the air before the parachute is opened;

[0184] The display module 902 is used to display a three-dimensional path guide pointing to the target location when the main virtual character is in the gliding state and there is a marked target location. The three-dimensional path guide includes a gliding path guide and a parachute deployment path guide, and the gliding path guide and the parachute deployment path guide have different display styles.

[0185] The gliding path guide is used to guide the aerial movement path of the main virtual character during gliding, and the parachute deployment path guide is used to guide the aerial movement path of the main virtual character after the parachute is deployed; the gliding path guide and the parachute deployment path guide are connected, and the connection point between the gliding path guide and the parachute deployment path guide is used to instruct the main virtual character to deploy the parachute.

[0186] In an optional embodiment, the landing state includes the parachute deployment state;

[0187] The device further includes:

[0188] The interaction module 901 is used to receive parachute commands;

[0189] Control module 904 is used to respond to the parachute operation and control the main virtual character to jump out of the aircraft and enter the gliding state, which is the state in which the main virtual character glides in the air before the parachute is opened;

[0190] The interaction module 901 is used to receive the umbrella opening operation;

[0191] The control module 904 is used to respond to the parachute opening operation and control the main virtual character to open the parachute and enter the parachute opening state. The parachute opening state is the state in which the main virtual character descends in the air after the parachute is opened.

[0192] The display module 902 is used to display a three-dimensional path guide pointing to the target location when the main virtual character is in the parachute deployment state and there is a marked target location. The three-dimensional path guide includes a parachute deployment path guide, which is used to guide the main virtual character's air movement path after the parachute is deployed.

[0193] In an optional embodiment, the three-dimensional path guides the three-dimensional lines that connect the current location and the target location;

[0194] The direction of the three-dimensional path guidance is used to guide the direction of the landing of the main virtual character. The direction of the three-dimensional path guidance includes the direction from the current position to the target location along the three-dimensional path guidance.

[0195] And / or,

[0196] The slope of the three-dimensional path guide in the vertical direction is used to guide the descent speed of the main virtual character.

[0197] In an optional embodiment, the display module 902 is configured to display the three-dimensional path guidance pointing to the target location when the main virtual character jumps out of the aircraft and is in the landing state, and the target location is within a first reachable range;

[0198] The first reachable range is determined based on the current location of the main virtual character.

[0199] In an optional embodiment, the apparatus further includes:

[0200] The acquisition module 905 is used to acquire the current height of the current position of the main virtual character;

[0201] The calculation module 906 is used to calculate the maximum descent time by dividing the current altitude by the slowest descent speed when the parachute is deployed, where the slowest descent speed when the parachute is deployed is the minimum speed at which the main virtual character descends.

[0202] The calculation module 906 is used to calculate the maximum landing time multiplied by the horizontal movement speed to obtain the farthest horizontal distance, where the horizontal movement speed is the speed at which the main virtual character moves in the horizontal direction.

[0203] The calculation module 906 is used to calculate the horizontal distance from the current location to the target location;

[0204] The determination module 903 is used to determine that the target location is within the first reachable range if the horizontal distance is not greater than the farthest horizontal distance.

[0205] In an optional embodiment, the display module 902 is used to display the aircraft, the main control virtual character is located in the aircraft, and the aircraft flies along a predetermined route;

[0206] The display module 902 is used to display a guide line for the target location when the target location is marked. The guide line is used to indicate the shortest path from the aircraft to the target location. The guide line intersects with the predetermined flight path. The intersection of the guide line and the predetermined flight path is used to indicate the point where the main virtual character is controlled to parachute out of the aircraft.

[0207] In an optional embodiment, when the target location is located in front of the aircraft, the guide line includes a line segment of the target location perpendicular to the predetermined flight path;

[0208] When the target location is located behind the aircraft, the guide line includes a line segment connecting the target location and the location of the aircraft.

[0209] In an optional embodiment, the guide line includes a gliding line segment and a parachute deployment line segment, the gliding line segment and the parachute deployment line segment having different display styles. The gliding line segment is used to indicate the route for controlling the main virtual character to glide in the air, and the parachute deployment line segment is used to indicate the route for controlling the main virtual character to open the parachute and descend. The intersection of the gliding line segment and the parachute deployment line segment is used to indicate the route for controlling the main virtual character to open the parachute.

[0210] In an optional embodiment, the display module 902 is configured to display the guide line of the target location on the map control of the three-dimensional virtual environment when the target location is within a second accessible range;

[0211] The second reachable range is determined based on the farthest parachute distance and the remaining flight path of the aircraft, wherein the farthest parachute distance is the farthest horizontal distance that the main virtual character moves after parachuting away from the aircraft.

[0212] In an optional embodiment, the display module 902 is used to display the aircraft, and the main control virtual character is located in the aircraft;

[0213] The display module 902 is used to display a third reachable range based on the position of the aircraft. The third reachable range includes a circular range centered on the position of the aircraft and with the furthest parachute distance as its radius.

[0214] In an optional embodiment, the display module 902 is configured to display the third reachable range centered on the location of the aircraft on the map space of the three-dimensional virtual environment;

[0215] The third reachable range includes at least one of the following: gliding reachable range, automatic parachute reachable range, and pre-deployment reachable range; the gliding reachable range, the automatic parachute reachable range, and the pre-deployment reachable range are concentric circles.

[0216] In an optional embodiment, the gliding reach range includes a circular range centered on the location of the aircraft and with the furthest gliding distance as its radius;

[0217] The reachable range of the automatic parachute deployment includes a circular range centered on the position of the aircraft and with a first distance as the radius, where the first distance is the sum of the farthest gliding distance and the farthest movement distance after automatic parachute deployment;

[0218] The reachable range for early parachute deployment includes a circular area centered on the location of the aircraft and with the furthest travel distance after early parachute deployment as its radius.

[0219] In an optional embodiment, the apparatus further includes:

[0220] The acquisition module 905 is used to acquire the current height of the current position of the main virtual character;

[0221] The calculation module 906 is used to calculate the first reachable distance, which is the farthest horizontal distance of the parachute opening movement in advance; the first reachable distance is equal to the product of the slowest parachute opening descent time and the horizontal movement speed of the main virtual character, and the slowest parachute opening descent time is equal to the current altitude divided by the slowest parachute opening descent speed.

[0222] The calculation module 906 is used to calculate the second reachable distance, which is the farthest horizontal distance of automatic parachute deployment; the second reachable distance is equal to the third distance plus the fourth distance, the third distance is equal to the first altitude divided by the slowest gliding descent speed multiplied by the horizontal movement speed, the first altitude is equal to the current altitude minus the automatic parachute deployment altitude, and the fourth distance is equal to the automatic parachute deployment altitude divided by the slowest parachute deployment descent speed multiplied by the horizontal movement speed;

[0223] The calculation module 906 is used to calculate the third reachable distance, which is the farthest horizontal distance of gliding movement; the third reachable distance is equal to the third distance.

[0224] The calculation module 906 is used to calculate the horizontal distance between the current position and the target location;

[0225] The display module 902 is used to display a three-dimensional path guide pointing to the target location when the horizontal distance is less than the first reachable distance and greater than the second reachable distance. The three-dimensional path guide is a straight line connecting the current location and the target location, and the three-dimensional path guide is displayed as the umbrella opening path guide.

[0226] The calculation module 906 is used to calculate the coordinates of the first turning point when the horizontal distance is less than the second reachable distance and greater than the third reachable distance. The first turning point is a point on the line connecting the current position and the target location where the horizontal distance from the target location is equal to the furthest distance traveled after automatic parachute deployment. The display module 902 is used to display the three-dimensional path guidance, which includes the gliding path guidance connecting the current position and the first turning point, and the parachute deployment path guidance connecting the first turning point and the target location.

[0227] The calculation module 906 is used to calculate the coordinates of the second turning point when the horizontal distance is less than the third reachable distance. The second turning point is a point on the line connecting the current position and the target location at an altitude equal to the automatic parachute deployment altitude. The display module 902 is used to display the three-dimensional path guidance, which includes the gliding path guidance connecting the current position and the second turning point, and the parachute deployment path guidance connecting the second turning point and the target location.

[0228] In an optional embodiment, the apparatus further includes:

[0229] The acquisition module 905 is used to acquire the current height of the current position of the main virtual character;

[0230] The calculation module 906 is used to calculate the fourth reachable distance, which is the farthest horizontal distance moved after the parachute is deployed; the fourth reachable distance is equal to the product of the slowest descent time after parachute deployment and the horizontal movement speed of the main virtual character, and the slowest descent time after parachute deployment is equal to the current altitude divided by the slowest descent speed after parachute deployment.

[0231] The calculation module 906 is used to calculate the horizontal distance between the current position and the target location;

[0232] The display module 902 is used to display a three-dimensional path guide pointing to the target location when the horizontal distance is less than the fourth reachable distance. The three-dimensional path guide is a straight line connecting the current location and the target location, and the three-dimensional path guide is displayed as the umbrella opening path guide.

[0233] Figure 18 A structural block diagram of a computer device 1800 provided in an exemplary embodiment of this application is shown. The computer device 1800 may be a portable mobile terminal, such as a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The computer device 1800 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.

[0234] Typically, computer device 1800 includes a processor 1801 and a memory 1802.

[0235] Processor 1801 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1801 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1801 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1801 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 1801 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0236] Memory 1802 may include one or more computer-readable storage media, which may be non-transitory. Memory 1802 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in memory 1802 is used to store at least one instruction, which is executed by processor 1801 to implement the guidance method in a three-dimensional virtual environment provided in the method embodiments of this application.

[0237] In some embodiments, the computer device 1800 may also optionally include a peripheral device interface 1803 and at least one peripheral device. The processor 1801, memory 1802, and peripheral device interface 1803 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1803 via a bus, signal line, or circuit board. For example, the peripheral device may include at least one of the following: a radio frequency circuit 1804, a display screen 1805, a camera assembly 1806, an audio circuit 1807, and a power supply 1808.

[0238] Peripheral device interface 1803 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1801 and memory 1802. In some embodiments, processor 1801, memory 1802 and peripheral device interface 1803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1801, memory 1802 and peripheral device interface 1803 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0239] The radio frequency (RF) circuit 1804 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1804 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1804 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 1804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1804 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1804 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0240] Display screen 1805 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1805 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1801 for processing. In this case, display screen 1805 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1805, disposed on the front panel of computer device 1800; in other embodiments, there may be at least two display screens, disposed on different surfaces of computer device 1800 or in a folded design; in still other embodiments, display screen 1805 may be a flexible display screen, disposed on a curved or folded surface of computer device 1800. Furthermore, display screen 1805 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1805 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0241] The camera assembly 1806 is used to acquire images or videos. Optionally, the camera assembly 1806 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1806 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.

[0242] The audio circuit 1807 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting them into electrical signals that are input to the processor 1801 for processing, or to the radio frequency circuit 1804 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, positioned at different locations within the computer device 1800. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1801 or the radio frequency circuit 1804 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1807 may also include a headphone jack.

[0243] Power supply 1808 is used to supply power to the various components in computer device 1800. Power supply 1808 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 1808 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0244] In some embodiments, the computer device 1800 further includes one or more sensors 1809. The one or more sensors 1809 include, but are not limited to, an accelerometer 1810, a gyroscope 1811, a pressure sensor 1812, an optical sensor 1813, and a proximity sensor 1814.

[0245] Accelerometer 1810 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by computer device 1800. For example, accelerometer 1810 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 1801 can control display screen 1805 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 1810. Accelerometer 1810 can also be used for games or for acquiring user motion data.

[0246] The gyroscope sensor 1811 can detect the orientation and rotation angle of the computer device 1800. The gyroscope sensor 1811 can work in conjunction with the accelerometer sensor 1810 to acquire 3D motion data from the user on the computer device 1800. Based on the data acquired by the gyroscope sensor 1811, the processor 1801 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.

[0247] The pressure sensor 1812 can be disposed on the side bezel of the computer device 1800 and / or on the lower layer of the display screen 1805. When the pressure sensor 1812 is disposed on the side bezel of the computer device 1800, it can detect the user's grip signal on the computer device 1800, and the processor 1801 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 1812. When the pressure sensor 1812 is disposed on the lower layer of the display screen 1805, the processor 1801 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 1805. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

[0248] An optical sensor 1813 is used to collect ambient light intensity. In one embodiment, the processor 1801 can control the display brightness of the display screen 1805 based on the ambient light intensity collected by the optical sensor 1813. For example, when the ambient light intensity is high, the display brightness of the display screen 1805 is increased; when the ambient light intensity is low, the display brightness of the display screen 1805 is decreased. In another embodiment, the processor 1801 can also dynamically adjust the shooting parameters of the camera assembly 1806 based on the ambient light intensity collected by the optical sensor 1813.

[0249] The proximity sensor 1814, also known as a distance sensor, is typically located on the front panel of the computer device 1800. The proximity sensor 1814 is used to detect the distance between the user and the front of the computer device 1800. In one embodiment, when the proximity sensor 1814 detects that the distance between the user and the front of the computer device 1800 is gradually decreasing, the processor 1801 controls the display screen 1805 to switch from a screen-on state to a screen-off state; when the proximity sensor 1814 detects that the distance between the user and the front of the computer device 1800 is gradually increasing, the processor 1801 controls the display screen 1805 to switch from a screen-off state to a screen-on state.

[0250] Those skilled in the art will understand that Figure 18 The structure shown does not constitute a limitation on the computer device 1800, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0251] This application also provides a computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the guidance method in the three-dimensional virtual environment provided in the above method embodiments.

[0252] This application provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the guidance method in a three-dimensional virtual environment provided in the above-described method embodiments.

[0253] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0254] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0255] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A guidance method in a three-dimensional virtual environment, characterized in that, The method includes: In response to the marking operation, the marked target location is displayed, which is the target landing location located on the ground of the three-dimensional virtual environment; When the main virtual character jumps out of the aircraft and is in the landing state, a three-dimensional path guide pointing to the target location is displayed. The three-dimensional path guide includes a three-dimensional line connecting the current position of the main virtual character in the air to the target location on the ground. The three-dimensional path guide is used to indicate the control method for the main virtual character to land from the current position to the target location; the three-dimensional line of the three-dimensional path guide connects the current position and the target location. The direction of the three-dimensional path guide is used to guide the direction of the main virtual character's descent. The direction of the three-dimensional path guide includes the direction from the current position to the target location along the three-dimensional path guide; and / or, the slope of the three-dimensional path guide in the vertical direction is used to guide the speed of the main virtual character's descent. The three-dimensional path guidance includes gliding path guidance and parachute deployment path guidance, and the display styles of the gliding path guidance and the parachute deployment path guidance are different; The gliding path guide is used to guide the aerial movement path of the main virtual character during gliding, and the parachute deployment path guide is used to guide the aerial movement path of the main virtual character after the parachute is deployed; the gliding path guide and the parachute deployment path guide are connected, and the connection point between the gliding path guide and the parachute deployment path guide is used to instruct the main virtual character to deploy the parachute. In response to a change in the current position of the main virtual character, the three-dimensional path guidance is updated and displayed according to the changed current position.

2. The method according to claim 1, characterized in that, The landing state includes the gliding state; Before displaying the 3D path guidance pointing to the target location when the main virtual character jumps out of the aircraft and is in a landing state, the method further includes: In response to the parachute operation, the main virtual character is controlled to jump out of the aircraft and enter the gliding state, which is the state in which the main virtual character is gliding in the air before the parachute is opened; The provision of displaying a 3D path guide pointing to the target location when the main virtual character jumps out of the aircraft and is in a landing state includes: When the main virtual character is in the gliding state and there is a marked target location, a three-dimensional path guide pointing to the target location is displayed.

3. The method according to claim 1, characterized in that, The landing state includes the parachute deployment state; Before displaying the 3D path guidance pointing to the target location when the main virtual character jumps out of the aircraft and is in a landing state, the method further includes: In response to the parachute operation, the main virtual character is controlled to jump out of the aircraft and enter a gliding state, which is the state in which the main virtual character is gliding in the air before the parachute is opened; In response to the parachute opening operation, the main virtual character is controlled to open the parachute and enter the parachute opening state, which is the state in which the main virtual character descends in the air after the parachute is opened; The provision of displaying a 3D path guide pointing to the target location when the main virtual character jumps out of the aircraft and is in a landing state includes: When the main virtual character is in the parachute deployment state and there is a marked target location, a three-dimensional path guide pointing to the target location is displayed. The three-dimensional path guide includes a parachute deployment path guide, which is used to guide the main virtual character's aerial movement path after the parachute is deployed.

4. The method according to any one of claims 1 to 3, characterized in that, The provision of displaying a 3D path guide pointing to the target location when the main virtual character jumps out of the aircraft and is in a landing state includes: When the main virtual character jumps out of the aircraft and is in the landing state, and the target location is within the first reachable range, the three-dimensional path guidance pointing to the target location is displayed; The first reachable range is determined based on the current location of the main virtual character.

5. The method according to claim 4, characterized in that, The method further includes: Obtain the current height of the current position of the main virtual character; The maximum descent time is obtained by dividing the current altitude by the slowest descent speed when the parachute is deployed, where the slowest descent speed when the parachute is deployed is the minimum speed at which the main virtual character descends. The maximum horizontal distance is obtained by multiplying the maximum landing time by the horizontal movement speed, where the horizontal movement speed is the speed at which the main virtual character moves in the horizontal direction. Calculate the horizontal distance from the current location to the target location; If the horizontal distance is not greater than the farthest horizontal distance, the target location is determined to be within the first reachable range.

6. The method according to any one of claims 1 to 3, characterized in that, Before displaying the 3D path guidance pointing to the target location when the main virtual character jumps out of the aircraft and is in a landing state, the method further includes: The aircraft is displayed, the main virtual character is located in the aircraft, and the aircraft is flying along a predetermined route; If the marked target location exists, a guide line for the target location is displayed. The guide line indicates the shortest path from the aircraft to the target location. The guide line intersects with the predetermined flight path. The intersection of the guide line and the predetermined flight path is used to instruct the main virtual character to parachute out of the aircraft.

7. The method according to claim 6, characterized in that, When the target location is located in front of the aircraft, the guide line includes a line segment of the target location perpendicular to the predetermined flight path; When the target location is located behind the aircraft, the guide line includes a line segment connecting the target location and the location of the aircraft.

8. The method according to claim 6, characterized in that, The guide line includes a gliding line segment and a parachute deployment line segment. The gliding line segment and the parachute deployment line segment have different display styles. The gliding line segment is used to indicate the gliding route of the main virtual character in the air, and the parachute deployment line segment is used to indicate the parachute deployment route of the main virtual character. The intersection of the gliding line segment and the parachute deployment line segment is used to indicate the parachute deployment of the main virtual character.

9. The method according to claim 6, characterized in that, The guide line displaying the target location includes: When the target location is within a second accessible range, the guide line of the target location is displayed on the map control of the three-dimensional virtual environment; The second reachable range is determined based on the farthest parachute distance and the remaining flight path of the aircraft, wherein the farthest parachute distance is the farthest horizontal distance that the main virtual character moves after parachuting away from the aircraft.

10. The method according to any one of claims 1 to 3, characterized in that, Before displaying the 3D path guidance pointing to the target location when the main virtual character jumps out of the aircraft and is in a landing state, the method further includes: The aircraft is displayed, and the main virtual character is located inside the aircraft; A third reachable range is displayed based on the location of the aircraft. The third reachable range includes a circular range centered on the location of the aircraft and with the furthest parachute distance as its radius.

11. The method according to claim 10, characterized in that, The provision of displaying a third reachable range based on the aircraft's location includes: The third reachable range centered on the location of the aircraft is displayed on the map space of the three-dimensional virtual environment; The third reachable range includes at least one of the following: gliding reachable range, automatic parachute reachable range, and pre-deployment reachable range; the gliding reachable range, the automatic parachute reachable range, and the pre-deployment reachable range are concentric circles.

12. The method according to claim 11, characterized in that, The gliding reach range includes a circular area centered on the location of the aircraft and with the furthest gliding distance as its radius; The reachable range of the automatic parachute deployment includes a circular range centered on the position of the aircraft and with a first distance as the radius, where the first distance is the sum of the farthest gliding distance and the farthest movement distance after automatic parachute deployment; The reachable range for early parachute deployment includes a circular area centered on the location of the aircraft and with the furthest travel distance after early parachute deployment as its radius.

13. The method according to claim 2, characterized in that, The three-dimensional path guidance pointing to the target location includes: Obtain the current height of the current position of the main virtual character; Calculate the first reachable distance, which is the furthest horizontal distance that can be moved before the parachute is deployed; the first reachable distance is equal to the product of the slowest descent time after parachute deployment and the horizontal movement speed of the main virtual character, and the slowest descent time after parachute deployment is equal to the current altitude divided by the slowest descent speed after parachute deployment; Calculate the second reachable distance, which is the furthest horizontal distance for automatic parachute deployment; the second reachable distance is equal to the third distance plus the fourth distance, where the third distance is equal to the first altitude divided by the slowest gliding descent speed multiplied by the horizontal movement speed, the first altitude is equal to the current altitude minus the automatic parachute deployment altitude, and the fourth distance is equal to the automatic parachute deployment altitude divided by the slowest descent speed multiplied by the horizontal movement speed; Calculate the third reachable distance, which is the farthest horizontal distance of the gliding movement; the third reachable distance is equal to the third distance. Calculate the horizontal distance between the current location and the target location; If the horizontal distance is less than the first reachable distance and greater than the second reachable distance, a three-dimensional path guide pointing to the target location is displayed. The three-dimensional path guide is a straight line connecting the current location and the target location, and the three-dimensional path guide is displayed as the umbrella opening path guide. If the horizontal distance is less than the second reachable distance and greater than the third reachable distance, calculate the coordinates of the first turning point, which is the point on the line connecting the current position and the target location whose horizontal distance from the target location is equal to the farthest movement distance after automatic parachute deployment; display the three-dimensional path guidance, which includes the gliding path guidance connecting the current position and the first turning point, and the parachute deployment path guidance connecting the first turning point and the target location; If the horizontal distance is less than the third reachable distance, calculate the coordinates of the second turning point, which is a point on the line connecting the current position and the target location at an altitude equal to the automatic parachute deployment altitude; display the three-dimensional path guidance, which includes the gliding path guidance connecting the current position and the second turning point, and the parachute deployment path guidance connecting the second turning point and the target location.

14. The method according to claim 3, characterized in that, The three-dimensional path guidance pointing to the target location includes: Obtain the current height of the current position of the main virtual character; Calculate the fourth reachable distance, which is the farthest horizontal distance traveled after parachute deployment; the fourth reachable distance is equal to the product of the slowest descent time after parachute deployment and the horizontal movement speed of the main virtual character, and the slowest descent time after parachute deployment is equal to the current altitude divided by the slowest descent speed after parachute deployment. Calculate the horizontal distance between the current location and the target location; If the horizontal distance is less than the fourth reachable distance, a three-dimensional path guide pointing to the target location is displayed. The three-dimensional path guide is a straight line connecting the current location and the target location, and the three-dimensional path guide is displayed as the umbrella opening path guide.

15. A guidance device in a three-dimensional virtual environment, characterized in that, The device includes: The interaction module is used to receive tagging operations; The display module is used to display the marked target location in response to the marking operation, wherein the target location is the target landing location located on the ground of the three-dimensional virtual environment; The display module is used to display a three-dimensional path guide pointing to the target location when the main virtual character jumps out of the aircraft and is in a landing state. The three-dimensional path guide includes a three-dimensional line connecting the current position of the main virtual character in the air and the target location on the ground. The three-dimensional path guide is used to indicate the control method for controlling the main virtual character to land from the current position to the target location. The three-dimensional line of the three-dimensional path guide connects the current position and the target location. The direction of the three-dimensional path guide is used to guide the direction of the main virtual character's descent. The direction of the three-dimensional path guide includes the direction from the current position to the target location along the three-dimensional path guide; and / or, the slope of the three-dimensional path guide in the vertical direction is used to guide the speed of the main virtual character's descent. The three-dimensional path guidance includes gliding path guidance and parachute deployment path guidance, and the display styles of the gliding path guidance and the parachute deployment path guidance are different; The gliding path guide is used to guide the aerial movement path of the main virtual character during gliding, and the parachute deployment path guide is used to guide the aerial movement path of the main virtual character after the parachute is deployed; the gliding path guide and the parachute deployment path guide are connected, and the connection point between the gliding path guide and the parachute deployment path guide is used to instruct the main virtual character to deploy the parachute. The display module is used to update the display of the three-dimensional path guide according to the changed current position of the main virtual character in response to the change of the current position.

16. The apparatus according to claim 15, characterized in that, The landing state includes the gliding state; The device further includes: The interaction module is used to receive parachute commands; The control module is used to respond to the parachute operation and control the main virtual character to jump out of the aircraft and enter the gliding state, which is the state in which the main virtual character glides in the air before the parachute is opened; The display module is used to display a three-dimensional path guide pointing to the target location when the main virtual character is in the gliding state and there is a marked target location.

17. The apparatus according to claim 15, characterized in that, The landing state includes the parachute deployment state; The device further includes: The interaction module is used to receive parachute commands; The control module is used to respond to the parachute operation and control the main virtual character to jump out of the aircraft and enter the gliding state, which is the state in which the main virtual character glides in the air before the parachute is opened; The interaction module is used to receive the umbrella opening operation; The control module is used to respond to the parachute opening operation and control the main virtual character to open the parachute and enter the parachute opening state. The parachute opening state is the state in which the main virtual character descends in the air after the parachute is opened. The display module is used to display a three-dimensional path guide pointing to the target location when the main virtual character is in the parachute deployment state and there is a marked target location. The three-dimensional path guide includes a parachute deployment path guide, which is used to guide the main virtual character's aerial movement path after the parachute is deployed.

18. The apparatus according to any one of claims 15 to 17, characterized in that, The display module is used to display the three-dimensional path guidance pointing to the target location when the main virtual character jumps out of the aircraft and is in the landing state, and the target location is within a first reachable range; The first reachable range is determined based on the current location of the main virtual character.

19. The apparatus according to claim 18, characterized in that, The device further includes: The acquisition module is used to acquire the current height of the current position of the main virtual character; The calculation module is used to calculate the maximum descent time by dividing the current altitude by the slowest descent speed when the parachute is deployed, where the slowest descent speed when the parachute is deployed is the minimum speed at which the main virtual character descends. The calculation module is used to calculate the maximum landing time multiplied by the horizontal movement speed to obtain the farthest horizontal distance, where the horizontal movement speed is the speed at which the main virtual character moves in the horizontal direction; The calculation module is used to calculate the horizontal distance from the current location to the target location; The determination module is used to determine that the target location is within the first reachable range if the horizontal distance is not greater than the farthest horizontal distance.

20. The apparatus according to any one of claims 15 to 17, characterized in that, The display module is used to display the aircraft, the main control virtual character is located in the aircraft, and the aircraft flies along a predetermined route; The display module is used to display a guide line for the target location when the target location is marked. The guide line is used to indicate the shortest path from the aircraft to the target location. The guide line intersects with the predetermined flight path. The intersection of the guide line and the predetermined flight path is used to indicate the point where the main virtual character is controlled to parachute out of the aircraft.

21. The apparatus according to claim 20, characterized in that, When the target location is located in front of the aircraft, the guide line includes a line segment of the target location perpendicular to the predetermined flight path; When the target location is located behind the aircraft, the guide line includes a line segment connecting the target location and the location of the aircraft.

22. The apparatus according to claim 20, characterized in that, The guide line includes a gliding line segment and a parachute deployment line segment. The gliding line segment and the parachute deployment line segment have different display styles. The gliding line segment is used to indicate the gliding route of the main virtual character in the air, and the parachute deployment line segment is used to indicate the parachute deployment route of the main virtual character. The intersection of the gliding line segment and the parachute deployment line segment is used to indicate the parachute deployment of the main virtual character.

23. The apparatus according to claim 20, characterized in that, The display module is used to display the guide line of the target location on the map control of the three-dimensional virtual environment when the target location is within a second accessible range; The second reachable range is determined based on the farthest parachute distance and the remaining flight path of the aircraft, wherein the farthest parachute distance is the farthest horizontal distance that the main virtual character moves after parachuting away from the aircraft.

24. The apparatus according to any one of claims 15 to 17, characterized in that, The display module is used to display the aircraft, and the main control virtual character is located in the aircraft; The display module is used to display a third reachable range based on the position of the aircraft. The third reachable range includes a circular range centered on the position of the aircraft and with the furthest parachute distance as its radius.

25. The apparatus according to claim 24, characterized in that, The display module is used to display the third reachable range centered on the position of the aircraft on the map space of the three-dimensional virtual environment; The third reachable range includes at least one of the following: gliding reachable range, automatic parachute reachable range, and pre-deployment parachute reachable range; The gliding reachable range, the automatic parachute deployment reachable range, and the pre-deployment parachute reachable range are concentric circles.

26. The apparatus according to claim 25, characterized in that, The gliding reach range includes a circular area centered on the location of the aircraft and with the furthest gliding distance as its radius; The reachable range of the automatic parachute deployment includes a circular range centered on the position of the aircraft and with a first distance as the radius, where the first distance is the sum of the farthest gliding distance and the farthest movement distance after automatic parachute deployment; The reachable range for early parachute deployment includes a circular area centered on the location of the aircraft and with the furthest travel distance after early parachute deployment as its radius.

27. The apparatus according to claim 16, characterized in that, The device further includes: The acquisition module is used to acquire the current height of the current position of the main virtual character; The calculation module is used to calculate the first reachable distance, which is the farthest horizontal distance that can be moved before the parachute is deployed; the first reachable distance is equal to the product of the slowest descent time after parachute deployment and the horizontal movement speed of the main virtual character, and the slowest descent time after parachute deployment is equal to the current altitude divided by the slowest descent speed after parachute deployment; The calculation module is used to calculate the second reachable distance, which is the farthest horizontal distance of automatic parachute deployment; the second reachable distance is equal to the third distance plus the fourth distance, the third distance is equal to the first altitude divided by the slowest gliding descent speed multiplied by the horizontal movement speed, the first altitude is equal to the current altitude minus the automatic parachute deployment altitude, and the fourth distance is equal to the automatic parachute deployment altitude divided by the slowest parachute deployment descent speed multiplied by the horizontal movement speed; The calculation module is used to calculate the third reachable distance, which is the farthest horizontal distance of gliding movement; the third reachable distance is equal to the third distance. The calculation module is used to calculate the horizontal distance between the current location and the target location; The display module is configured to display a three-dimensional path guide pointing to the target location when the horizontal distance is less than the first reachable distance and greater than the second reachable distance. The three-dimensional path guide is a straight line connecting the current location and the target location, and the three-dimensional path guide is displayed as the umbrella opening path guide. The calculation module is used to calculate the coordinates of a first turning point when the horizontal distance is less than the second reachable distance and greater than the third reachable distance. The first turning point is a point on the line connecting the current position and the target location whose horizontal distance from the target location is equal to the furthest distance traveled after automatic parachute deployment. The display module is used to display the three-dimensional path guidance, which includes a gliding path guidance connecting the current position and the first turning point, and a parachute deployment path guidance connecting the first turning point and the target location. The calculation module is used to calculate the coordinates of the second turning point when the horizontal distance is less than the third reachable distance. The second turning point is a point on the line connecting the current position and the target location at an altitude equal to the automatic parachute deployment altitude. The display module is used to display the three-dimensional path guidance, which includes the gliding path guidance connecting the current position and the second turning point, and the parachute deployment path guidance connecting the second turning point and the target location.

28. The apparatus according to claim 17, characterized in that, The device further includes: The acquisition module is used to acquire the current height of the current position of the main virtual character; The calculation module is used to calculate the fourth reachable distance, which is the farthest horizontal distance moved after the parachute is deployed; the fourth reachable distance is equal to the product of the slowest descent time after parachute deployment and the horizontal movement speed of the main virtual character, and the slowest descent time after parachute deployment is equal to the current altitude divided by the slowest descent speed after parachute deployment. The calculation module is used to calculate the horizontal distance between the current location and the target location; The display module is used to display a three-dimensional path guide pointing to the target location when the horizontal distance is less than the fourth reachable distance. The three-dimensional path guide is a straight line connecting the current location and the target location, and the three-dimensional path guide is displayed as the umbrella opening path guide.

29. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing a computer program that is loaded and executed by the processor to implement the guidance method in a three-dimensional virtual environment as described in any one of claims 1 to 14.

30. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that is loaded and executed by a processor to implement the guidance method in a three-dimensional virtual environment as described in any one of claims 1 to 14.

31. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium, from which a processor retrieves the computer instructions, causing the processor to load and execute them to implement the guidance method in a three-dimensional virtual environment as described in any one of claims 1 to 14.

Citation Information

Patent Citations

  • Control method and device for game role

    CN108579087A

  • Parachuting information prompting method, terminal device, electronic device and readable storage medium

    CN111185005A