Guidance method, device, equipment and computer program in a three-dimensional virtual environment
By displaying marked target points and 3D route guides in a three-dimensional virtual environment, the problem of virtual characters having difficulty accurately controlling landing points when skydiving into the virtual environment is solved, achieving higher operating accuracy and more efficient human-computer interaction.
Patent Information
- Application Number
- JP2024532542
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-06-17
- Filing Date
- 2023-04-17
- Publication Date
- 2025-04-07
- Estimated Expiration
- 2043-04-17
AI Technical Summary
In a three-dimensional virtual environment, it is difficult for virtual characters to accurately control the landing point when they skydiving into the virtual environment, especially when beginners deal with complex skydiving operations, it is difficult for them to accurately reach the target point.
Provide navigation methods and equipment to display marked target points in a 3D virtual environment, and display a 3D route guide when the virtual character is in a free fall state. This route guide connects the current position and target points of the virtual character and is updated in real time to reflect changes in the position of the virtual character.
By displaying 3D route guides, users can more accurately control the virtual character landing points, improve the control accuracy of skydiving operations, and improve the efficiency of human-computer interaction.
Smart Images

Figure 0007658037000001 
Figure 0007658037000002 
Figure 0007658037000003
Abstract
Description
[Technical field]
[0001] (CROSS-REFERENCE TO RELATED APPLICATIONS) This application claims priority to a Chinese patent application filed with the China Patent Office on June 17, 2022, bearing application number 202210691338.0 and entitled "Guidance method, device, equipment and medium in 3D virtual environment", the entire contents of which are incorporated herein by reference.
[0002] The present application relates to the field of virtual environments, and more particularly to a method, apparatus, device and medium for guiding in a three-dimensional virtual environment. [Background technology]
[0003] In a tactical shooter game, a virtual character needs to get on an airplane and reach a virtual environment by parachute jumping at the start of the game. In the related art, the final position where the virtual character lands in a parachute jump depends on many factors, such as the timing when the virtual character jumps out of the airplane, the direction in which the virtual character glides through the air after jumping out of the airplane, the gliding speed, the timing when the virtual character opens the parachute, the moving direction of the virtual character after opening the parachute, the moving speed after opening the parachute, etc. For a beginner player, it is difficult to control the main control virtual character to land accurately at the target point with the above-mentioned complicated parachute jump operation. Summary of the Invention [Problem to be solved by the invention]
[0004] The present application provides a guiding method, device, equipment and medium in a 3D virtual environment, which can provide an operation instruction for parachute jumping according to a target point, and facilitates controlling a main-controlled virtual character to land at the target point. The technical solutions are as follows: [Means for solving the problem]
[0005] According to one aspect of the present application, there is provided a method of guiding in a three-dimensional virtual environment, the method comprising: displaying a marked destination point in response to the marking operation, the destination point being a destination landing point located on a ground surface of the three-dimensional virtual environment; a step of displaying a three-dimensional route guide pointing to the target point when the main control virtual character has jumped out of the aircraft and is in a falling state, the three-dimensional route guide including a three-dimensional line connecting a first position where the main control virtual character is located in the air and the target point on the ground, the three-dimensional route guide being for indicating an operation method for controlling the main control virtual character to descend from the first position to the target point; and in response to the change in the location of the main control virtual character, updating and displaying the three-dimensional route guide based on a second position after the change.
[0006] According to another aspect of the present application, there is provided a guide apparatus in a three-dimensional virtual environment, the apparatus comprising: an interaction module; and a display module, The interaction module is configured to receive a marking operation; the display module is configured to display a marked destination point in response to the marking operation, the destination point being a destination landing point located on a ground surface of the three-dimensional virtual environment; the display module is configured to display a three-dimensional route guide directed to the target point when the main control virtual character has jumped out of the aircraft and is in a falling state, the three-dimensional route guide including a three-dimensional line connecting a first position where the main control virtual character is located in the air and the target point on the ground, and the three-dimensional route guide indicates an operation manner for controlling the main control virtual character to descend from the first position to the target point; The display module is configured to, in response to a change in a location of the main control virtual character, update and display the three-dimensional path guide based on a second position after the change.
[0007] According to one aspect of the present application, there is provided a 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 realize the above-described method of guiding in a three-dimensional virtual environment.
[0008] According to another aspect of the present application, there is provided a computer storage medium, the computer readable storage medium storing a computer program, the computer program being loaded and executed by a processor to realize the above-described method of guiding in a three-dimensional virtual environment.
[0009] According to another aspect of the present application, there is provided a computer program product, the computer program product including computer instructions stored in a computer readable storage medium, a processor of a computing device reading the computer instructions from the computer readable storage medium, and the processor executing the computer instructions, thereby causing the computing device to perform the method of guiding in a three-dimensional virtual environment according to the above aspect. Effect of the Invention
[0010] The technical solutions provided by the embodiments of the present application have at least the following beneficial effects:
[0011] When the main control virtual character marks a target point in the three-dimensional virtual environment before or during a parachute jump, a three-dimensional path guide pointing to the target point is displayed on the virtual environment screen, the three-dimensional path guide is displayed as a three-dimensional line from a first position of the main control virtual character to the target point, the direction of the three-dimensional line pointing to the target point can guide the moving direction of the main control virtual character, and the inclination of the three-dimensional line pointing to the target point can guide the moving speed of the main control virtual character. In addition, as the position of the main control virtual character moves, the three-dimensional path guide is updated in real time, and the main control virtual character is controlled based on the three-dimensional path guide, so that the main control virtual character can land accurately at the target point, and the control accuracy of the main control virtual character's parachute jump process can be improved, thereby improving human-computer interaction efficiency. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a block diagram showing a configuration of a computer system according to an exemplary embodiment. [Diagram 2] 1 is a flowchart of a method for guiding in a three-dimensional virtual environment according to one exemplary embodiment. [Diagram 3] FIG. 2 is a schematic diagram of a method for guiding in a three-dimensional virtual environment according to one exemplary embodiment. [Figure 4] FIG. 2 is a schematic diagram of a method for guiding in a three-dimensional virtual environment according to one exemplary embodiment. [Diagram 5] FIG. 2 is a schematic diagram of a method for guiding in a three-dimensional virtual environment according to one exemplary embodiment. [Figure 6] 1 is a flowchart of a method for guiding in a three-dimensional virtual environment according to one exemplary embodiment. [Figure 7] 1 is a flowchart of a method for guiding in a three-dimensional virtual environment according to one exemplary embodiment. [Figure 8] FIG. 2 is a schematic diagram of a method for guiding in a three-dimensional virtual environment according to one exemplary embodiment. [Figure 9]1 is a flowchart of a method for guiding in a three-dimensional virtual environment according to one exemplary embodiment. [Figure 10] FIG. 2 is a schematic diagram of a method for guiding in a three-dimensional virtual environment according to one exemplary embodiment. [Figure 11] FIG. 2 is a schematic diagram of a method for guiding in a three-dimensional virtual environment according to one exemplary embodiment. [Figure 12] FIG. 2 is a schematic diagram of a method for guiding in a three-dimensional virtual environment according to one exemplary embodiment. [Figure 13] 1 is a flowchart of a method for guiding in a three-dimensional virtual environment according to one exemplary embodiment. [Figure 14] 1 is a flowchart of a method for guiding in a three-dimensional virtual environment according to one exemplary embodiment. [Figure 15] FIG. 2 is a schematic diagram of a method for guiding in a three-dimensional virtual environment according to one exemplary embodiment. [Figure 16] 1 is a flowchart of a method for guiding in a three-dimensional virtual environment according to one exemplary embodiment. [Figure 17] FIG. 2 is a block diagram illustrating a configuration of a guide device in a three-dimensional virtual environment according to one exemplary embodiment. [Figure 18] FIG. 1 is a block diagram illustrating a configuration of a computing device according to an exemplary embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] First, the terms used in the embodiments of the present application will be explained.
[0014] 3D Virtual Environment (or "Virtual Environment"): A virtual environment displayed (or provided) when a client is executed on a terminal. The virtual environment may be a simulated environment of the real world, a semi-simulated or semi-fictional environment, or a completely fictional environment. Optionally, the virtual environment is a battle environment for virtual characters. Exemplarily, in a battle royale type game, at least one virtual character plays a one-round battle in the virtual environment, and the virtual character achieves the objective of surviving in the virtual environment by avoiding enemy attacks and dangers (gas rings, swamps, etc.) present in the virtual environment, and when the life value of the virtual character in the virtual environment becomes zero, the life of the virtual character in the virtual environment ends, and the last surviving virtual character becomes the winner.
[0015] 1 is a block diagram showing a configuration of a computer system according to an exemplary embodiment of the present application. The computer system 1000 includes a terminal 120 and a server 140.
[0016] A client supporting the virtual environment is installed and executed on the terminal 120. A control account of a main control virtual character is registered on the client, and the client may be any of a three-dimensional map program, a shooting game, a virtual reality (VR) application, and an augmented reality (AR) program. The terminal 120 is a terminal used by a user, and the user uses the terminal 120 to control the main control virtual character located in the virtual environment to perform an action, the action including, but not limited to, at least one of body posture adjustment, walking, running, jumping, riding, driving, aiming, picking up, and using a throwing tool. Exemplarily, the main control virtual character is a virtual person, for example, a simulated character object or an animated character object. Exemplarily, the user controls the main control virtual character to perform an action via a UI control on the virtual environment screen.
[0017] The terminal 120 is connected to the server 140 via a wireless network or a wired network.
[0018] The server 140 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. Exemplarily, the server 140 includes a processor 144 and a memory 142, and the memory 142 further includes a receiving module 1421, a control module 1422, and a sending module 1423, where the receiving module 1421 is configured to receive a request sent by a client, for example, a request to control the movement of a virtual character, the control module 1422 is configured to control the rendering of a virtual environment screen, and the sending module 1423 is configured to send a response to the client, for example, sending to the client that the position of the virtual character has been changed. The server 140 is configured to provide back-end services to the client supporting the virtual environment. Optionally, the server 140 is responsible for the main computing task, and the terminal 120 is responsible for the secondary computing task, or the server 140 is responsible for the secondary computing task, and the terminal 120 is responsible for the main computing task, or the server 140 and the terminal 120 perform computing in a cooperative manner.
[0019] Optionally, the above client may run on different operating system platforms (Android or iOS). Optionally, the device type of the terminal includes at least one of a smartphone, a smart watch, an in-vehicle terminal, a wearable device, a smart TV, a tablet, an e-book reader, an MP3 player, an MP4 player, a laptop computer, and a desktop computer. In the following embodiment, a terminal including a smartphone is described as an example. Those skilled in the art can understand that the number of the above terminals may be more or less. For example, the above terminal may be one, or the above terminals may be dozens or hundreds, or more. The embodiment of the present application does not limit the number and device type of the terminals.
[0020] 2 is a flowchart of a guiding method in a three-dimensional virtual environment according to an exemplary embodiment of the present application. The method is taken as an example for application to the terminal 120 (or a client supporting the three-dimensional virtual environment installed on the terminal 120) shown in FIG. 1. The method includes the following steps:
[0021] At step 220, in response to the marking operation, a marked destination point is displayed, the destination point being a destination landing point located on the ground of the three-dimensional virtual environment.
[0022] The main control virtual character means a movable object controlled by a client in a virtual environment. The main control virtual character means a movable object in a three-dimensional virtual environment controlled by a user. Optionally, the user directly controls the virtual character to act through a terminal. Optionally, the user controls the virtual character to act through an external device connected to the terminal. For example, the user controls the virtual character to act through a game handle, a VR / AR device, a body sensation operation device, etc. The external device and the terminal can be connected by wire / wireless. Optionally, the user controls the virtual character to act by a method such as voice control. The movable object may be a virtual person, a virtual animal, an animated character, etc., for example, a person or an animal displayed in the virtual environment. Optionally, the virtual character is a three-dimensional solid model created based on animation skeleton technology. Each virtual character has a unique shape and volume in the three-dimensional virtual environment and occupies a part of the space of the three-dimensional virtual environment.
[0023] The marking operation may be an operation of clicking a target point on a map control (minimap) of the three-dimensional virtual environment. Alternatively, the marking operation may be an operation of selecting a target point on a screen of the three-dimensional virtual environment. Alternatively, the marking operation may be an operation of selecting one point from a plurality of candidate points as a target point. For example, as shown in FIG. 3, a marking operation for the target point 302 can be performed by clicking a target point 302 on a map control 301 of the three-dimensional virtual environment. Furthermore, a candidate point list is displayed, and the candidate point list includes at least one candidate point. In response to an operation of selecting a first candidate point, the first candidate point is determined as a target point, and a mark is displayed on the target point in the map control and / or the three-dimensional virtual environment. In another embodiment, the player performs the marking operation to mark the target point by using peripheral devices such as a steering wheel, a mouse, and a keyboard. In another embodiment, the player can perform the marking operation by using virtual reality (VR) glasses, a VR helmet, voice control, a haptic operation, or the like.
[0024] After the destination point is marked, a marker is displayed on the map control to indicate that the destination point has been marked, or a marker is displayed in the three-dimensional virtual environment to indicate that the destination point has been marked. For example, a location marker is displayed at the destination point 302 as shown in Fig. 3. Or, a pillar of light effect is displayed at the destination point 302 in the three-dimensional virtual environment to indicate that the point has been marked as shown in Fig. 4. Optionally, the destination point may be marked by another virtual character, for example, by a teammate of the main control virtual character.
[0025] In the embodiment of the present application, the user may perform a target point marking operation before a parachute jump, or may perform a target point marking operation after a parachute jump. Illustratively, the method provided in the embodiment of the present application is applied to a parachute jump process of a main control virtual character, which includes the following steps: (1) the main control virtual character boards an aircraft and navigates along a predetermined route; (2) in response to a parachute jump operation, the main control virtual character jumps out of the aircraft and glides through the air; (3) in response to an opening operation, the main control virtual character opens a parachute and falls slowly in the air; (4) the main control virtual character reaches the ground.
[0026] During the parachute jump, the user can perform a marking operation to mark a target point at any time before the main control virtual character reaches the ground. The target point is located on the ground of the three-dimensional virtual environment. Or, the target point is located on a building in the three-dimensional virtual environment. Optionally, the marking operation is an operation of selecting a target point on a map control, and the terminal reads a two-dimensional coordinate of the target point on the map control, maps the two-dimensional coordinate to the three-dimensional virtual environment, and obtains a two-dimensional horizontal coordinate of the target point on a horizontal plane of the three-dimensional virtual environment. Optionally, a detection line is emitted vertically downward from a predetermined altitude above the two-dimensional horizontal coordinate, and an intersection point of the detection line and the three-dimensional virtual environment model is the target point, and further obtains a three-dimensional coordinate of the target point.
[0027] Optionally, the destination point is a point marked by the user that the user wants to reach by controlling the main-control virtual character. The terminal guides the user on how to control the main-control virtual character to reach the destination point by generating a three-dimensional guide line for the user based on the destination point. Optionally, the destination point is a preferred destination point for the main-control virtual character marked by a recommendation of the client. The client calculates points that the user may want to reach by controlling the main-control virtual character based on past landing points of the user account, and automatically marks them on the map control.
[0028] In step 240, when the main control virtual character has jumped out of the aircraft and is falling, a three-dimensional route guide pointing to the target point is displayed, the three-dimensional route guide includes a three-dimensional line connecting a first position where the main control virtual character is located in the air and the target point on the ground, and the three-dimensional route guide is for indicating an operation method for controlling the main control virtual character to descend from the first position to the target point.
[0029] The first position refers to the location of the main control virtual character at the first time. When the main control virtual character is falling and there is a marked target point, the terminal calculates an estimated path for the main control virtual character to fall from the first position to the target point based on the first position where the main control virtual character is located and the target point, and displays a three-dimensional route guide based on the estimated path. The three-dimensional route guide includes various operation instruction information.
[0030] Exemplarily, the main control virtual character can perform one of the following operations during the fall: change flight direction (any direction of 360°), fly left forward, fly right forward, increase descent speed, decrease descent speed, and open a parachute. By displaying operation icons of various operations on the three-dimensional path guide, the user can be instructed to perform the corresponding operation to control the main control virtual character to move along the three-dimensional path guide. Alternatively, the three-dimensional path guide can display a speed value at each position point to indicate the descent speed that the main control virtual character should maintain at each position point. Alternatively, the three-dimensional path guide can display the gliding path and the parachute opening path in different colors to indicate the timing when the main control virtual character should open a parachute.
[0031] Exemplarily, the three-dimensional path guide includes one three-dimensional line, which is a line in a three-dimensional space. The three-dimensional line includes at least two three-dimensional coordinate points in a three-dimensional virtual environment. The three-dimensional line may be a straight line, a curved line, or a line of any shape. The three-dimensional line is a predicted moving path that the terminal / server has formulated for the main control virtual character, and the user can accurately land at the target point by controlling the main control virtual character to move along the three-dimensional line. Note that the three-dimensional line refers to a line in a three-dimensional space, and when there is a two-dimensional plane that includes at least two three-dimensional coordinate points in the three-dimensional virtual environment, a line that connects at least two three-dimensional coordinate points on the two-dimensional plane in series is also considered to be a three-dimensional line. That is, the three-dimensional line in the present application should be more broadly understood as a line in a three-dimensional virtual space.
[0032] A three-dimensional line of the three-dimensional path guide connects the first position and the target point, and the direction of the three-dimensional path guide is used to guide the direction in which the primary control virtual character falls, the direction of the three-dimensional path guide including a direction along the three-dimensional path guide from the first position to the target point, and / or the inclination of the three-dimensional path guide in the vertical direction is used to guide controlling the falling speed of the primary control virtual character.
[0033] For example, as shown in Fig. 5, a three-dimensional route guide 303 pointing to a target point 302 is displayed on the virtual environment screen, and the three-dimensional route guide 303 connects a first position of a main control virtual character 304 and the target point 302. The three-dimensional route guide 303 includes an umbrella opening route guide shown by a dotted line and a gliding route guide shown by a solid line. In addition, an umbrella opening mark 306 "parachute" is displayed next to the umbrella opening route guide, and a gliding mark 305 "small airplane" is displayed next to the gliding route guide.
[0034] By rotating the observation viewpoint, the user can observe the three-dimensional route guide from various angles, and thereby know information such as the direction and descent speed indicated by the three-dimensional route guide. For example, in FIG. 5, the user observes the three-dimensional route guide from a bird's-eye observation viewpoint perpendicular to the horizontal plane, and changes the flight direction of the main control virtual character to match the direction indicated by the three-dimensional route guide. By observing the three-dimensional route guide from an observation viewpoint perpendicular to the vertical plane, the user observes the vertical inclination of the three-dimensional route guide and changes the descent speed of the main control virtual character (the greater the inclination, the closer the three-dimensional route guide is to the vertical direction and the faster the descent speed; the smaller the inclination, the closer the three-dimensional route guide is to the horizontal direction and the slower the descent speed).
[0035] For example, the three-dimensional path guide is displayed in the three-dimensional virtual environment only when the main control virtual character can reach the target point by a parachute jump. If the main control virtual character cannot reach the target point by a parachute jump from the first position of the main control virtual character, the three-dimensional path guide is not displayed in the three-dimensional virtual environment. If the main control virtual character jumps out of the aircraft and is falling and the target point is located within a first reachable range, a three-dimensional path guide pointing to the target point is displayed, and the first reachable range is determined by the first position of the main control virtual character.
[0036] Illustratively, the first reachable range is a range of an area that the main control virtual character can reach by falling from the first position through a series of operations in the parachute jump process.
[0037] For example, the main control virtual character can adjust the falling speed in both the gliding state and the open parasol state, where the falling speed range in the gliding state is the slowest gliding falling speed to the fastest gliding falling speed, and the falling speed range in the open parasol state is the slowest open parasol falling speed to the fastest open parasol falling speed, where the falling speed, the slowest gliding falling speed, the fastest gliding falling speed, the slowest open parasol falling speed, and the fastest open parasol falling speed are all vertical speeds.
[0038] For example, the terminal obtains a current altitude of the first position of the main control virtual character, divides the current altitude by the slowest falling speed with the parasol open to obtain a maximum falling time, where the slowest falling speed with the parasol open is the minimum speed at which the main control virtual character falls with the parasol open, multiplies the maximum falling time by the horizontal moving speed to obtain the farthest horizontal distance, where the horizontal moving speed is the speed at which the main control virtual character moves horizontally, calculates the horizontal distance from the first position to the target point, and determines that the target point is located within the first reachable range if the horizontal distance is not greater than the farthest horizontal distance.
[0039] In an alternative embodiment, the falling speed of the main-control virtual character cannot be adjusted, and the main-control virtual character falls according to the gliding default falling speed in the gliding state, and falls according to the open-up default falling speed in the open-up state. The slowest open-up falling speed in the above calculation method can be replaced with the open-up default falling speed.
[0040] In step 260, in response to the change in the location of the primary control virtual character, the three-dimensional path guide is updated and displayed based on the changed second location.
[0041] The second position refers to the location of the main control virtual character after the first position has changed. That is, the second position is the position of the main control virtual character at the second time. The three-dimensional route guide changes in real time according to the position of the main control virtual character, and the terminal calculates in real time a movement path for reaching the target point according to the position of the main control virtual character, and displays the three-dimensional route guide based on the movement path. If the calculation results in the main control virtual character being unable to land at the target point from the second position, the display of the three-dimensional route guide is cancelled.
[0042] As described above, in the method provided in the embodiment of the present application, when the main control virtual character marks a target point in the three-dimensional virtual environment before or during a parachute jump, a three-dimensional path guide pointing to the target point is displayed on the virtual environment screen, and the three-dimensional path guide is displayed as a three-dimensional line from the first position of the main control virtual character to the target point, and the direction of the three-dimensional line pointing to the target point can guide the moving direction of the main control virtual character, and the inclination of the three-dimensional line pointing to the target point can guide the moving speed of the main control virtual character. In addition, as the position of the main control virtual character moves, the three-dimensional path guide is updated in real time, and the main control virtual character is controlled based on the three-dimensional path guide, so that the main control virtual character can land accurately at the target point, and the control accuracy of the main control virtual character's parachute jump process can be improved, and the human-computer interaction efficiency can be improved.
[0043] Illustratively, embodiments of the present application provide three methods for guiding a parachute jump operation. Method 1: After a parachute jump, if a target point is marked, a 3D route guide pointing to the target point is displayed in the 3D virtual environment. Method 2: If you mark the target point before your parachute jump, the minimap will display a guide line to help you leave the aircraft and reach the target point. Method 3: Before making a parachute jump, display the parachute jump reachable range (third reachable range) on the minimap with the aircraft at the center.
[0044] The above three guiding methods can be arbitrarily combined to obtain new guiding methods. In the following, we provide an exemplary example for each method.
[0045] Method 1: According to an alternative embodiment shown in Fig. 2, the method further includes step 230 before step 240, and step 240 can be replaced by step 240-1 to step 240-2, and further includes step 250 before step 240-2. Fig. 6 is a flowchart of a guiding method in a three-dimensional virtual environment according to an exemplary embodiment of the present application. The method includes the following steps:
[0046] At step 220, in response to the marking operation, a marked destination point is displayed, the destination point being a destination landing point located on the ground of the three-dimensional virtual environment.
[0047] Exemplarily, the timing of execution of step 220 may be arbitrary. For example, step 220 may be executed before step 230, i.e., the marking operation is executed before the parachute jump. Or, step 220 may be executed after step 230, i.e., the marking operation is executed after the parachute jump. Or, step 220 may be executed after step 250, i.e., the marking operation is executed after the parachute is opened, and in this case, step 240-1 is not executed.
[0048] In step 230, in response to a parachute jump operation, the primary control virtual character is controlled to jump out of the aircraft and enter a gliding state.
[0049] The gliding state is a state in which the main control virtual character glides in the air before opening the parachute. The parachute jump operation may be an operation in which the user triggers the parachute jump control. Exemplarily, the main control virtual character glides in the air after jumping out of the aircraft. Optionally, the main control virtual character has a fixed and unchanging horizontal movement speed in the horizontal direction. The horizontal movement speed is the movement speed of the aircraft. Optionally, in the gliding state, the main control virtual character performs a free fall motion in the vertical direction. In the gliding state, the user can adjust the speed at which the main control virtual character falls by adjusting the attitude of the main control virtual character in the air. Exemplarily, the falling state includes at least one of a gliding state and an open umbrella state. When the main control virtual character is in the gliding state, the three-dimensional path guide includes at least one of a gliding path guide and an open umbrella path guide. When the main control virtual character is in the open umbrella state, the three-dimensional path guide includes an open umbrella path guide.
[0050] In step 240-1, if the primary control virtual character is in a gliding state and there is a marked destination point, a three-dimensional path guide pointing to the destination point is displayed, the three-dimensional path guide including a gliding path guide and an open umbrella path guide.
[0051] The display styles of the glide path guide and the parasol opening path guide are different. Here, the display style includes at least one of the following: line type, color, display effect, icon, and line thickness. For example, as shown in FIG. 5, the glide path guide is displayed in a dark color with a glide mark 305 "small airplane" displayed next to it, and the parasol opening path guide is displayed in a light color with an opening parachute mark 306 displayed next to it. Here, the glide path guide is used to guide the air movement path of the main control virtual character gliding, the opening parachute path guide is used to guide the air movement path after the main control virtual character opens the parachute, the glide path guide is connected to the opening parachute path guide, and the connection point between the glide path guide and the opening parachute path guide is used to instruct the main control virtual character to control to open the parachute.
[0052] After the main control virtual character performs a parachute jump, it marks a point on the minimap, and if the marked point (target point) is located within a range that can be reached by the parachute jump, a 3D route guide map (three-dimensional route guide) is displayed in the three-dimensional virtual environment, whose two end points are the position of the main control virtual character and the target point, respectively. In the three-dimensional route guide, the gliding section and the parachute opening section are marked with different colors, for example, a green line indicates that the main control virtual character needs to glide in the current section, and a yellow line indicates that the parachute opening is required in the current section. When the falling speed in the gliding state and the parachute opening state can be adjusted, one implementation of displaying the three-dimensional route guide includes the following steps: The terminal obtains a current altitude of a first position of the main control virtual character; calculating a first reachable distance, the first reachable distance being the farthest horizontal distance traveled with early deployment, the first reachable distance being equal to the product of the open parasol slowest fall time and the horizontal movement speed of the primary control virtual character, the open parasol slowest fall time being equal to the current altitude divided by the open parasol slowest fall speed; calculating a second reachable distance, the second reachable distance being the furthest horizontal distance traveled with automatic deployment, the second reachable distance being equal to the third distance plus the fourth distance, the third distance being equal to the first altitude divided by the slowest gliding fall speed multiplied by the horizontal movement speed, the first altitude being equal to the current altitude minus the automatic deployment altitude, and the fourth distance being equal to the automatic deployment altitude divided by the slowest deployed fall speed multiplied by the horizontal movement speed; calculating a third reachable distance, the third reachable distance being the furthest horizontal distance traveled by gliding, the third reachable distance being equal to the third distance; calculating a horizontal distance between the first position and the target point; a step of displaying a three-dimensional route guide pointing to the target point when the horizontal distance is smaller than the first reachable distance and larger than the second reachable distance, the three-dimensional route guide being a straight line connecting the first position and the target point, and the three-dimensional route guide being displayed as an open umbrella route guide; a step of calculating a coordinate position of a first turning point and displaying a three-dimensional route guide when the horizontal distance is smaller than the second reachable distance and larger than the third reachable distance, the first turning point being a point on a connecting line between the first position and the target point, the horizontal distance from the target point being equal to the farthest travel distance after automatic deployment, the three-dimensional route guide including a gliding route guide connecting the first position and the first turning point, and an deployment route guide connecting the first turning point and the target point; and a step of calculating the coordinate position of the second turning point and displaying a three-dimensional route guide if the horizontal distance is shorter than the third reachable distance, the second turning point being a point on the connecting line between the first position and the target point, the altitude of which is the automatic deployment altitude, the three-dimensional route guide including a gliding route guide connecting the first position and the second turning point, and the three-dimensional route guide including an deployment route guide connecting the second turning point and the target point.
[0053] As shown in FIG. 7, another implementation of displaying a three-dimensional route guide includes the following steps.
[0054] In step 401, in response to a parachute jump operation on the parachute jump button, the terminal controls the main control virtual character to jump out of the airplane and perform a parachute jump.
[0055] In step 402, the terminal judges whether the destination point is marked or not, and if the destination point is not marked, does not display the three-dimensional route guide; if the destination point is marked, executes step 403.
[0056] In step 403, the terminal determines the distance between the first position of the main control virtual character and the destination point, converts it into a corresponding 3D line segment according to the distance and the corresponding algorithm, adds a corresponding color, and displays the three-dimensional route guide. For example, the first reachable distance is calculated as 900m, the second reachable distance is calculated as 500m, and the third reachable distance is calculated as 400m, and calculates the horizontal distance between the first position and the destination point. If the horizontal distance is less than 400m, or if the horizontal distance is greater than 401m and less than 500m, or if the horizontal distance is greater than 501m and less than 900m, the terminal employs the corresponding algorithm to calculate and obtain the three-dimensional route guide and display it. If the horizontal distance is greater than 900m, the three-dimensional route guide is not displayed.
[0057] For example, the method for obtaining a three-dimensional route guide may adopt the above implementation, or may adopt a neural network model. By using training samples to train the neural network model, a three-dimensional line of the three-dimensional route guide can be output according to the input first position, the target point, and the state of the main control virtual character. Then, the first position of the main control virtual character, the target point, and the state of the main control virtual character (gliding state or open umbrella state) are input into the neural network model, which outputs a three-dimensional line, and displays the three-dimensional route guide according to the three-dimensional line.
[0058] For example, as shown in (1) of FIG. 8, the main control virtual character has a horizontal movement speed in the horizontal direction after the parachute jump. If the vertical descent speed does not change, the movement trajectory of the main control virtual character becomes a diagonal line, and the main control virtual character moves forward while descending. As shown in (2) of FIG. 8, the terminal obtains the distance of the three-dimensional line of the three-dimensional path guide by calculation. Assuming that the descent speed of the main control virtual character gliding is 2 m / s, the horizontal movement speed is 1 m / s, the fall speed of the open parachute is 1 m / s, and the flying altitude of the airplane is 900 m (i.e., the altitude of the main control virtual character's parachute jump), and the altitude above the ground is 100 m, if the main control virtual character does not spontaneously open the parachute, the terminal automatically opens the parachute. Assuming that the horizontal distance traveled by the main-control virtual character after a parachute jump is X, the horizontal distance traveled by gliding is A, and the horizontal distance traveled by opening the parachute is B, then X=A+B, 900=2A+B, where A is always smaller than 400m and B is always larger than 100m. Assuming that the horizontal distance between the first position of the main-control virtual character and the target point is 700m, then 700=A+B, 900=2A+B, so A=200 and B=500. In other words, the main-control virtual character glides horizontally for 200m, then opens the parachute and travels horizontally for 500m.
[0059] In step 250, in response to the parachute opening operation, the main control virtual character is controlled to open the parachute and enter an open state.
[0060] The open parachute state is a state in which the primary control virtual character falls in the air after opening the parachute. The open parachute operation may be an operation in which the user triggers the open parachute control. Exemplarily, the primary control virtual character glides in the air after jumping out of the aircraft. The user can then control the primary control virtual character to open the parachute by triggering the open parachute control. Optionally, in the open parachute state, the primary control virtual character has a fixed and unchanging horizontal movement speed in the horizontal direction. The horizontal movement speed is the movement speed of the aircraft. In the open parachute state, the user can adjust the speed at which the primary control virtual character falls by adjusting the parachute.
[0061] In step 240-2, if the primary control virtual character is in an open parachute state and there is a marked target point, a three-dimensional path guide pointing to the target point is displayed, the three-dimensional path guide including an open parachute path guide, which is used to guide the aerial movement path of the primary control virtual character after the parachute is opened.
[0062] In the open umbrella state, when the falling speed of the main control virtual character can be adjusted, one implementation of displaying a three-dimensional route guide includes the following steps: The terminal obtains a current altitude of a first position of the main control virtual character; calculating a fourth reachable distance, the fourth reachable distance being the farthest horizontal distance traveled after opening, the fourth reachable distance being equal to the product of the open slowest fall time and the horizontal movement speed of the primary control virtual character, the open slowest fall time being equal to the current altitude divided by the open slowest fall speed; The method includes the steps of: calculating a horizontal distance between the first position and the target point; and, if the horizontal distance is smaller than a fourth reachable distance, displaying a three-dimensional route guide pointing to the target point, the three-dimensional route guide being a straight line connecting the first position and the target point, and the three-dimensional route guide being displayed as an open umbrella route guide.
[0063] In step 260, in response to the change in the location of the primary control virtual character, the three-dimensional path guide is updated and displayed based on the changed second location.
[0064] The second position refers to the location of the main control virtual character after the first position has changed, i.e., the second position is the location of the main control virtual character at the second time. Exemplarily, in response to the main control virtual character reaching the ground or in response to the target point being beyond the reachable range, the display of the three-dimensional route guide is cancelled.
[0065] As described above, in the method provided in the embodiment of the present application, after the main control virtual character jumps by parachute, a three-dimensional path guide is displayed in the three-dimensional virtual environment, and the three-dimensional path guide is displayed as a three-dimensional line. By observing the direction and inclination of the three-dimensional line, the user can know the moving direction and falling speed of the main control virtual character, by observing the color of the three-dimensional line, the user can know the falling state that the main control virtual character needs to maintain in the current section, and by observing the intersection of two colored line segments on the three-dimensional line, the user can know the timing when the main control virtual character opens the parachute. For a novice user, the user only needs to control the main control virtual character so that its moving path is as close as possible to the three-dimensional path guide, and the main control virtual character can be controlled to land accurately at the target point, thereby improving the accuracy of the parachute jump operation of the novice user and improving the human-computer interaction efficiency.
[0066] Method 2: According to an alternative embodiment shown in Fig. 2, the method further includes a step 210 before the step 220, and a step 221 after the step 220. Fig. 9 is a flow chart of a guiding method in a three-dimensional virtual environment according to an exemplary embodiment of the present application. The method includes the following steps:
[0067] In step 210, the aircraft is displayed, the primary control virtual character is positioned within the aircraft, and the aircraft is flying along a predetermined route.
[0068] Exemplarily, as shown in FIG. 4, a three-dimensional model 307 of an aircraft is displayed on a virtual environment screen. Or, an icon of an aircraft is displayed on a map control (minimap) of the three-dimensional virtual environment. As shown in FIG. 4, the aircraft icon 308 moves along a predetermined route 309 on the map control. At this time, since the main control virtual character is located inside the aircraft, the main control virtual character may not be displayed on the virtual environment screen. The predetermined route is a route randomly instructed by a terminal or a server after the game starts. The predetermined route may be at least one of a straight line, a curved line, and an irregular line. Exemplarily, the predetermined route is displayed on a map control. Exemplarily, the predetermined route is a line parallel to a horizontal plane, i.e., the aircraft flies at the same horizontal altitude. Or, the predetermined route is a line not parallel to a horizontal plane, i.e., the aircraft flies at any altitude.
[0069] At step 220, in response to the marking operation, a marked destination point is displayed, the destination point being a destination landing point located on the ground of the three-dimensional virtual environment.
[0070] In step 221, if a marked destination point exists, a guide line to the destination point is displayed, the guide line is used to indicate the shortest route away from the aircraft to reach the destination point, the guide line intersects with a predetermined route, and the intersection of the guide line and the predetermined route is used to indicate control of the main control virtual character to make a parachute jump away from the aircraft.
[0071] Illustratively, the guide line is a line segment displayed on a map control, which is used to indicate the timing of controlling the main control virtual character to perform a parachute jump operation, and the guide line is further used to indicate the horizontal movement distance of the gliding section and the opening section after the parachute jump.
[0072] Alternatively, the guide line is a line segment displayed in the three-dimensional virtual environment, the guide line is displayed on a flight plane of the aircraft in the three-dimensional virtual environment, the altitude of the flight plane is equal to the flight altitude of the aircraft, and the flight plane is parallel to the horizontal plane.
[0073] Illustratively, in response to the primary control virtual character being located within an aircraft and the presence of a marked destination point, a guide line is displayed on the three-dimensional virtual environment and on the map control pointing to the destination point, the guide line being on a flight plane. In response to the primary control virtual character being in a falling state and the presence of a marked destination point, a guide line is displayed on the map control pointing to the destination point.
[0074] If the target point is located ahead of the aircraft's current position, the guide line includes a line segment perpendicular to the predetermined route from the target point. For example, as shown in FIG 10, if the target point is located ahead of the aircraft's flight direction, the guide line 310 is a line segment perpendicular to the predetermined route from the target point 302.
[0075] If the target point is located behind the current position of the aircraft, the guide line includes a line segment connecting the target point and the position of the aircraft. For example, as shown in FIG 11, if the target point is located behind the flight direction of the aircraft, the guide line 310 is a line segment from the target point 302 to the position of the aircraft.
[0076] The guide lines include a gliding line segment and an opening parachute line segment, the display styles of the gliding line segment and the opening parachute line segment are different, the gliding line segment is used to indicate a section where the main control virtual character is controlled to glide through the air, the opening parachute line segment is used to indicate a section where the main control virtual character is controlled to open a parachute and fall, and the intersection of the gliding line segment and the opening parachute line segment is used to indicate that the main control virtual character is controlled to open a parachute. Here, the display style includes at least one of the line type, color, display effect, icon, and line thickness.
[0077] If the target point is located within the second reachable range, a guide line to the target point is displayed on the map control of the three-dimensional virtual environment, and the second reachable range is determined based on the parachute jump maximum distance and the remaining flight path of the aircraft, and the parachute jump maximum distance is the farthest horizontal distance that the main control virtual character moves by parachute jumping away from the aircraft. Illustratively, the parachute jump maximum distance is equal to the flight altitude of the aircraft divided by the slowest fall speed after opening the parachute multiplied by the horizontal movement speed. Here, the slowest fall speed after opening the parachute is the minimum fall speed in the vertical direction after the main control virtual character opens the parachute. The horizontal movement speed is the horizontal movement speed after the main control virtual character jumps by the parachute. The second reachable range includes a rounded rectangular range consisting of a plurality of circular ranges with the parachute jump maximum distance as the radius and each point on the remaining flight path of the aircraft as the center of the circle. For example, as shown in FIG. 12, assuming the farthest parachute jump distance is 450 m, the second reachable range 311 is a rounded rectangle with altitude=900 m and width=900 m+remaining flight length.
[0078] Illustratively, a method for displaying an indication line is provided, as shown in FIG.
[0079] In step 501, the terminal receives a marking operation at a point to mark a destination point on the minimap.
[0080] In step 502, the terminal judges whether the target point is located within the parachute jump range (second reachable range). If it is not within the range, it displays a connection line from the aircraft's position to the target point. If it is within the range, it executes step 503.
[0081] In step 503, the terminal determines whether the target point is behind the airplane, and if it is ahead of the airplane, displays a line segment perpendicular to the flight path with the target point as its end point, and if it is behind the airplane, displays a line segment from the target point to the position of the airplane.
[0082] In step 504, the terminal judges the length of the line segment of the indicator line. If it is equal to or less than the third reachable distance (400m), the indicator line is displayed in green, indicating that the target point can be reached only by gliding. If it is greater than the third reachable distance (400m) and less than the second reachable distance (500m), the indicator line is displayed in two parts, within 400m it is displayed in green, and beyond 400m it is displayed in yellow, with green representing the gliding section and yellow representing the opening section, indicating that the user does not need to open the umbrella and can wait for automatic opening. If it is greater than the second reachable distance (500m) and less than the first reachable distance (900m), the indicator line is displayed in two parts, and the gliding section and the opening section are obtained based on the algorithm, the gliding section is displayed in green, and the opening section is displayed in red, indicating that the user needs to open the umbrella early, otherwise the main control virtual character cannot reach the target point.
[0083] For example, the guide line provided in this embodiment and the three-dimensional route guide provided in the embodiment shown in Figures 2 and 6 can be displayed simultaneously after the main control virtual character makes a parachute jump. For example, when the main control virtual character is in a falling state and there is a marked destination point, a guide line pointing to the destination point is displayed on the map control, and at the same time, a three-dimensional route guide pointing to the destination point is displayed in the three-dimensional virtual environment.
[0084] As described above, in the method provided in the embodiment of the present application, after the user marks a target point, a guide line pointing to the target point is displayed on the minimap. If the target point is reachable and located in front of the airplane, a line segment perpendicular to the target point and the predetermined flight route is displayed, and the intersection of the line segment and the predetermined flight route is the position where the main control virtual character is controlled to perform a parachute jump; if the target point is reachable and located in the rear of the airplane, a line segment connecting the target point and the position of the airplane is displayed, informing the main control virtual character to perform a parachute jump as soon as possible. In addition, the guide line displays different sections in different colors, for example, the gliding section is displayed in green, the automatic parachute opening section is displayed in yellow, and the early parachute opening section is displayed in red, thereby informing the user of the position to open the parachute. This guides the user's parachute jump operation, and the user can control the main control virtual character to land accurately at the target point.
[0085] Method 3: According to the alternative embodiment shown in Fig. 2, it further includes steps 210 and 211 before step 220. Fig. 14 is a flow chart of a guiding method in a three-dimensional virtual environment according to an exemplary embodiment of the present application. The method includes the following steps:
[0086] In step 210, the aircraft is displayed and the primary control virtual character is positioned within the aircraft.
[0087] For example, as shown in FIG. 4, a three-dimensional model 307 of an aircraft is displayed on the virtual environment screen.
[0088] Alternatively, an icon of the aircraft is displayed on a map control (mini-map) of the three-dimensional virtual environment. As shown in FIG.
[0089] At this time, since the main control virtual character is located inside the aircraft, there is a possibility that the main control virtual character will not be displayed on the virtual environment screen.
[0090] In step 211, a third reachable range is displayed based on the position of the aircraft, and the third reachable range is a circular range with the position of the aircraft as the center and the farthest parachute jump distance as the radius.
[0091] The parachute jump maximum distance is equal to the aircraft's flight altitude divided by the maximum open fall speed multiplied by the horizontal movement speed. The third reachable range is used to indicate the range of the area the main control virtual character can reach after parachute jumping.
[0092] For example, one third reachable range may be displayed with the aircraft position as the center, or three reachable ranges may be displayed with the aircraft position as the center, that is, the third reachable range may be divided into a plurality of ranges, and ranges that the user can reach by different parachute jump operations may be indicated.
[0093] A third reachable range centered on the position of the aircraft is displayed on a map space of the three-dimensional virtual environment, the third reachable range including at least one of a gliding reachable range, an automatic deployment reachable range, and an early deployment reachable range, and the gliding reachable range, the automatic deployment reachable range, and the early deployment reachable range are concentric circles.
[0094] Here, the gliding reachable range is used to indicate the range of areas that the main control virtual character can reach by gliding. The automatic deployment reachable range is used to indicate the range of areas that the terminal can reach by automatic deployment after reaching the automatic deployment altitude without the main control virtual character having to perform the deployment operation voluntarily. The early deployment reachable range is used to indicate the range of areas that the main control virtual character can reach by opening the parachute voluntarily early without waiting for the automatic deployment.
[0095] After the parachute is opened, the primary control virtual character's falling speed slows down, so the primary control virtual character can move a greater horizontal distance, so the earlier the primary control virtual character opens the parachute, the further the primary control virtual character can land via parachute jump.
[0096] The gliding reachable range includes a circular range centered on the aircraft position and with a radius of the farthest gliding distance, the automatic deployment reachable range includes a circular range centered on the aircraft position and with a radius of a first distance, the first distance being the sum of the farthest gliding distance and the farthest travel distance after automatic deployment, and the early deployment reachable range includes a circular range centered on the aircraft position and with a radius of the farthest travel distance after early deployment.
[0097] Here, the farthest gliding distance is equal to the second altitude divided by the slowest gliding falling speed multiplied by the horizontal moving speed. The second altitude is equal to the flight altitude minus the automatic deployment altitude. The farthest moving distance after automatic deployment is equal to the automatic deployment altitude divided by the slowest deployment falling speed multiplied by the horizontal moving speed. The farthest moving distance after early deployment is equal to the flight altitude divided by the slowest deployment falling speed multiplied by the horizontal moving speed. For example, as shown in FIG. 15, the farthest gliding distance is 200 m, the farthest moving distance after automatic deployment is 50 m, and the farthest moving distance after early deployment is 450 m. Gliding reachable range 312 is a circular range with a radius of 200 m, automatic deployment reachable range 313 is a circular range with a radius of 250 m minus the gliding reachable range, and early deployment reachable range 314 is a circular range with a radius of 450 m minus the automatic deployment reachable range.
[0098] Exemplarily, the display styles of the three ranges are different, and the display styles include at least one of color, line, fill pattern, icon, and display effect. Exemplarily, the three ranges are displayed as concentric circles, and the colors of the different ranges are different. For example, as shown in FIG. 4, on the map control, a third reachable range is displayed with an aircraft icon 308 as the center, and the third reachable range is displayed as three concentric circles. The points in the third reachable range can be reached by the main control virtual character by parachute jumping. Exemplarily, a method for displaying a third reachable range is provided, as shown in FIG. 16.
[0099] In step 601, the terminal receives an operation of clicking on the minimap and displays an enlarged large map.
[0100] In step 602, the terminal judges whether the main control virtual character has performed a parachute jump, and if the main control virtual character has performed a parachute jump, the terminal does not display the pressure map (third reachable range) on the large map, and if the main control virtual character has not performed a parachute jump, the terminal displays the pressure map (third reachable range) on the airplane icon on the large map.
[0101] The method of displaying the pressure map is to obtain the two-dimensional coordinate position X of the aircraft on the large map, and display three concentric circles with X as the center, and the radii of the concentric circles are obtained by the calculation method of the above embodiment. For example, the three radii are 200m, 250m, and 450m respectively.
[0102] As described above, in the method provided in the embodiment of the present application, before the main control virtual character makes a parachute jump, three concentric circles are displayed on the large map with the airplane at the center, and the three circular ranges indicate the area that can be reached by gliding, the area that can be reached by automatic parachute deployment, and the area that can be reached by early parachute deployment, respectively, and the user can know the operation method after the parachute jump by observing the area where the expected landing position is located, and if the expected landing position is in the area that can be reached by gliding or the area that can be reached by automatic parachute deployment, the user does not need to manually open the parachute, and the terminal can automatically control the main control virtual character to open the parachute after reaching the automatic parachute deployment altitude. If the expected landing position is in the area that can be reached by early parachute deployment, the user needs to open the parachute. The method visually displays the range of areas reachable by parachute jumping on a map space and uses colors to accurately inform the user of the range of areas reachable by different parachute jump operations, thereby guiding the user's parachute jump operation, improving the accuracy of the user's control of the parachute jump of the primary-controlled virtual character, and improving the efficiency of human-computer interaction.
[0103] FIG. 17 is a block diagram illustrating a configuration of a guide device in a three-dimensional virtual environment according to an exemplary embodiment of the present application, the device comprising an interaction module 901 and a display module 902; The interaction module 901 is configured to receive a marking operation; the display module 902 is configured to display the marked destination point in response to the marking operation, the destination point being a destination landing point located on a ground surface of the three-dimensional virtual environment; the display module 902 is configured to display a three-dimensional route guide pointing to the target point when the main control virtual character has jumped out of the aircraft and is in a falling state, the three-dimensional route guide including a three-dimensional line connecting a first position where the main control virtual character is located in the air and the target point on the ground, and the three-dimensional route guide indicates an operation manner for controlling the main control virtual character to descend from the first position to the target point; The display module 902 is configured to, in response to a change in the location of the main control virtual character, update and display the three-dimensional path guide based on a second position after the change.
[0104] In an alternative embodiment, the above-mentioned interaction module 901 further performs the parachute jump operation and the parachute opening operation in the above-mentioned method embodiment. The guide device in the three-dimensional virtual environment further comprises a control module 904, and the control module 904 is configured to perform the content related to controlling the main control virtual character to act in the above-mentioned method embodiment. The display module 902 is further configured to perform the content related to the screen display screen in the above-mentioned method embodiment. In an alternative embodiment, the guide device in the three-dimensional virtual environment further comprises an acquisition module 905, a calculation module 906, and a determination module 903. The acquisition module 905, the calculation module 906, and the determination module 903 are configured to perform the content related to generating the above-mentioned three-dimensional path guide. For details, please refer to the above-mentioned method embodiment.
[0105] 18 is a schematic diagram illustrating a configuration of a computing device 1800 in a virtual environment according to an exemplary embodiment of the present application. The computing device 1800 may be a mobile terminal such as a smartphone, a tablet, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV), a notebook computer, a desktop computer, etc. The computing device 1800 may also be referred to by other names such as a user device, a mobile terminal, a laptop terminal, a desktop terminal, etc.
[0106] Typically, the computing device 1800 includes a processor 1801 and a memory 1802 .
[0107] The processor 2101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1801 may be implemented in at least one hardware form of a digital signal processor (DSP), a field programmable gate array (FPGA), and a programmable logic array (PLA). The processor 1801 may also include a main processor and a coprocessor. The main processor is a processor used to process data in an active state, also called a central processing unit (CPU). The coprocessor is a low-power processor used to process data in a standby state. In some embodiments, the processor 1801 may be integrated with a graphics processing unit (GPU), which is used to render and draw content that needs to be displayed on a display screen. In some embodiments, the processor 1801 may further include an artificial intelligence (AI) processor, which is used to process computational operations related to machine learning. The memory 1802 may include one or more computer-readable storage media, which may be non-transitory. The memory 1802 may further include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1802 stores at least one instruction, which is executed by the processor 1801 to realize the method of guiding in a three-dimensional virtual environment provided in the embodiments of the present application. In some embodiments, the computing device 1800 may further include a peripheral interface 1803, as an option.Those skilled in the art will appreciate that the structure shown in FIG. 18 does not constitute a limitation on computing device 1800, which may include more or fewer components than shown, combine certain components, or employ different component arrangements.
[0108] The present application further provides a computer readable storage medium, the storage medium storing at least one instruction, at least one program, code set or instruction set, the at least one instruction, the at least one program, code set or instruction set being loaded and executed by a processor to realize the method of guiding in a three-dimensional virtual environment provided by the embodiment of the method described above.
[0109] The present application provides a computer program product or computer program, said computer program product or computer program comprising computer instructions, said computer instructions being stored in a computer readable storage medium, a processor of a computing device reading said computer instructions from the computer readable storage medium, said processor executing said computer instructions, thereby causing said computing device to perform a method for guiding in a three-dimensional virtual environment, as provided by the embodiment of the method described above. [Explanation of symbols]
[0110] 100 Computer Systems 120 terminals 140 Servers 142 Memory 1421 Receiver Module 1422 Control Module 1423 Transmitting Module 144 processors 901 Interaction Module 902 Display module 903 Decision Module 904 Control Module 905 Acquisition Module 906 Calculation Module 1800 Computer Equipment 1801 Processor 1802 Memory 1803 Peripheral Device Interface
Claims
1. A method for guiding in a three-dimensional virtual environment, executed by a terminal, comprising: displaying a marked destination point in response to the marking operation, the destination point being a destination landing point located on a ground surface of the three-dimensional virtual environment; a step of displaying a three-dimensional route guide pointing to the target point when the main control virtual character has jumped out of the aircraft and is in a falling state, the three-dimensional route guide including a three-dimensional line connecting a first position where the main control virtual character is located in the air and the target point on the ground, the three-dimensional route guide being for indicating an operation method for controlling the main control virtual character to descend from the first position to the target point; and updating and displaying the three-dimensional path guide in response to a change in the location of the main control virtual character based on a second position after the change.
2. the falling state includes a gliding state, When the main control virtual character has jumped out of the aircraft and is in a falling state, before displaying a three-dimensional route guide pointing to the target point, the guiding method in the three-dimensional virtual environment includes: the step of controlling the primary control virtual character to jump out of the aircraft and enter the gliding state in response to a parachute jump operation, the gliding state being a state in which the primary control virtual character is gliding through the air before opening a parachute; When the main control virtual character has jumped out of the aircraft and is in a falling state, the step of displaying a three-dimensional route guide pointing to the target point includes: displaying the three-dimensional path guide pointing to the marked target point when the main control virtual character is in the gliding state and there is the marked target point, the three-dimensional path guide including a gliding path guide and an opening umbrella path guide, and the display styles of the gliding path guide and the opening umbrella path guide are different; the glide path guide is used to guide an aerial movement path along which the main control virtual character glides, the parachute opening path guide is used to guide an aerial movement path after the main control virtual character opens a parachute, the glide path guide is connected to the parachute opening path guide, and a connection point between the glide path guide and the parachute opening path guide is used to instruct the main control virtual character to control the opening of a parachute. A method of guiding in a three-dimensional virtual environment according to claim 1.
3. The falling state includes an open umbrella state, When the main control virtual character has jumped out of the aircraft and is in a falling state, before displaying a three-dimensional route guide pointing to the target point, the guiding method in the three-dimensional virtual environment includes: in response to a parachute jump operation, controlling the primary control virtual character to jump out of the aircraft and enter a gliding state, the gliding state being a state in which the primary control virtual character is gliding through the air before opening a parachute; and controlling the main control virtual character to open a parachute and enter an open parachute state in response to an opening operation, the open parachute being a state in which the main control virtual character falls in the air after opening the parachute; When the main control virtual character has jumped out of the aircraft and is in a falling state, the step of displaying a three-dimensional route guide pointing to the target point includes: displaying the three-dimensional path guide pointing to the marked target point when the main control virtual character is in the open parachute state and there is a marked target point, the three-dimensional path guide including an open parachute path guide, the open parachute path guide being used to guide an aerial movement path of the main control virtual character after opening a parachute; A method of guiding in a three-dimensional virtual environment according to claim 1.
4. the three-dimensional line of the three-dimensional path guide connects the first position and the target point; a direction of the three-dimensional path guide is used to guide a direction in which the main control virtual character falls, the direction of the three-dimensional path guide including a direction along the three-dimensional path guide from the first position to the target point; and / or The inclination of the three-dimensional path guide in the vertical direction is used to guide the main control virtual character to control its falling speed. A method of guiding in a three-dimensional virtual environment according to claim 1.
5. When the main control virtual character has jumped out of the aircraft and is in a falling state, the step of displaying a three-dimensional route guide pointing to the target point includes: displaying the three-dimensional route guide pointing to the target point when the main control virtual character has jumped out of the aircraft and is in the falling state and the target point is located within a first reachable range, the first reachable range being determined by the first position of the main control virtual character; A method of guiding in a three-dimensional virtual environment according to claim 1.
6. The method for guiding in a three-dimensional virtual environment includes: obtaining a current altitude of the first position of the primary control virtual character; a step of obtaining a maximum fall time by dividing the current altitude by a slowest fall speed with the parasol open, the slowest fall speed being the minimum speed at which the main control virtual character falls with the parasol open; multiplying the maximum fall time by a horizontal movement speed to obtain a farthest horizontal distance, the horizontal movement speed being a speed at which the main control virtual character moves horizontally; calculating a horizontal distance from the first location to the target point; and determining that the destination point is within the first reachable range if the horizontal distance is not greater than the farthest horizontal distance. A method of guiding in a three-dimensional virtual environment according to claim 5.
7. When the main control virtual character has jumped out of the aircraft and is in a falling state, before displaying a three-dimensional route guide pointing to the target point, the guiding method in the three-dimensional virtual environment includes: displaying the aircraft, the primary control virtual character being located within the aircraft and the aircraft flying along a predetermined route; and if there is a marked destination point, displaying a guide line to the destination point, the guide line being used to indicate the shortest route away from the aircraft to reach the destination point, the guide line intersecting the predetermined route, and the intersection of the guide line and the predetermined route being used to indicate control of the main control virtual character to make a parachute jump away from the aircraft. A method of guiding in a three-dimensional virtual environment according to claim 1.
8. When the target point is located ahead of the aircraft, the guide line includes a line segment perpendicular to the predetermined route from the target point; When the target point is located behind the aircraft, the guide line includes a line segment connecting the target point and the position of the aircraft. A method of guiding in a three-dimensional virtual environment according to claim 7.
9. the guide lines include a gliding line segment and a parachute opening line segment, the gliding line segment and the parachute opening line segment have different display styles, the gliding line segment is used to indicate a section in which the main control virtual character is controlled to glide through the air, the parachute opening line segment is used to indicate a section in which the main control virtual character is controlled to open a parachute and fall, and the intersection of the gliding line segment and the parachute opening line segment is used to indicate that the main control virtual character is controlled to open a parachute. A method of guiding in a three-dimensional virtual environment according to claim 7.
10. The step of displaying a guide line to the target point includes: displaying the guide line of the target point on a map control of the three-dimensional virtual environment if the target point is located within a second reachable range, the second reachable range being determined based on a parachute jump furthest distance and a remaining flight path of the aircraft, the parachute jump furthest distance being the furthest horizontal distance that the primary control virtual character will parachute jump and travel away from the aircraft. A method of guiding in a three-dimensional virtual environment according to claim 7.
11. When the main control virtual character has jumped out of the aircraft and is in a falling state, before displaying a three-dimensional route guide pointing to the target point, the guiding method in the three-dimensional virtual environment includes: displaying the aircraft, the primary control virtual character being located within the aircraft; and displaying a third reachable range based on the position of the aircraft, the third reachable range being a circular range with the position of the aircraft as a center and the farthest parachute jump distance as a radius. A method of guiding in a three-dimensional virtual environment according to claim 1.
12. The step of displaying a third reachable range based on the position of the aircraft includes: displaying the third reachable range centered on the position of the aircraft on a map space of the three-dimensional virtual environment, the third reachable range including at least one of a gliding reachable range, an automatic deployment reachable range, and an early deployment reachable range, the gliding reachable range, the automatic deployment reachable range, and the early deployment reachable range being concentric circles; A method of guiding in a three-dimensional virtual environment according to claim 11.
13. The glide reachable range includes a circular range having a center at the position of the aircraft and a radius of the farthest glide distance, the automatic deployment reachable range includes a circular range having a center at the position of the aircraft and a radius of a first distance, the first distance being the sum of the farthest gliding distance and the farthest travel distance after automatic deployment, The early deployment reachable range includes a circular range having a center at the position of the aircraft and a radius of the farthest travel distance after early deployment. A method of guiding in a three-dimensional virtual environment according to claim 12.
14. The step of displaying the three-dimensional route guide pointing to the target point includes: obtaining a current altitude of the first position of the primary control virtual character; calculating a first reachable distance, the first reachable distance being the farthest horizontal distance traveled with early deployment, the first reachable distance being equal to the product of a slowest open fall time and a horizontal moving speed of the primary control virtual character, the slowest open fall time being equal to the current altitude divided by the slowest open fall speed; calculating a second reachable distance, the second reachable distance being the farthest horizontal distance traveled with automatic deployment, the second reachable distance being equal to a third distance plus a fourth distance, the third distance being equal to a first altitude divided by a slowest gliding fall speed multiplied by the horizontal movement speed, the first altitude being equal to the current altitude minus an automatic deployment altitude, and the fourth distance being equal to a second distance divided by a slowest gliding fall speed multiplied by the horizontal movement speed; calculating a third reachable distance, the third reachable distance being the farthest horizontal distance of a gliding movement, the third reachable distance being equal to the third distance; calculating a horizontal distance between the first position and the target point; a step of displaying the three-dimensional route guide pointing to the target point when the horizontal distance is smaller than the first reachable distance and larger than the second reachable distance, the three-dimensional route guide being a straight line connecting the first position and the target point, and the three-dimensional route guide being displayed as the open umbrella route guide; a step of calculating a coordinate position of a first turning point and displaying the three-dimensional route guide when the horizontal distance is smaller than the second reachable distance and larger than the third reachable distance, the first turning point being a point on a connecting line between the first position and the target point, the horizontal distance from the target point being equal to the farthest travel distance after automatic deployment, the three-dimensional route guide including the gliding route guide connecting the first position and the first turning point, and the three-dimensional route guide including the deployment route guide connecting the first turning point and the target point; and a step of calculating a coordinate position of a second turning point and displaying the three-dimensional route guide when the horizontal distance is shorter than the third reachable distance, the second turning point being a point on a connecting line between the first position and the target point, the altitude of which is the automatic parasol deployment altitude, the three-dimensional route guide including the gliding route guide connecting the first position and the second turning point, and the three-dimensional route guide including the parasol deployment route guide connecting the second turning point and the target point. A method of guiding in a three-dimensional virtual environment according to claim 2.
15. The step of displaying the three-dimensional route guide pointing to the target point includes: obtaining a current altitude of the first position of the primary control virtual character; calculating a fourth reachable distance, the fourth reachable distance being the farthest horizontal distance traveled after opening, the fourth reachable distance being equal to the product of an open parasol slowest fall time and a horizontal moving speed of the main control virtual character, the open parasol slowest fall time being equal to the current altitude divided by the open parasol slowest fall speed; calculating a horizontal distance between the first position and the target point; and a step of displaying the three-dimensional route guide pointing to the target point when the horizontal distance is shorter than the fourth reachable distance, the three-dimensional route guide being a straight line connecting the first position and the target point, and the three-dimensional route guide being displayed as the open umbrella route guide. A method of guiding in a three-dimensional virtual environment according to claim 3.
16. A guide device in a three-dimensional virtual environment, comprising: an interaction module; and a display module, The interaction module is configured to receive a marking operation; the display module is configured to display a marked target point in response to the marking operation, the target point being a target landing point located on a ground surface of the three-dimensional virtual environment; the display module is configured to display a three-dimensional route guide pointing to the target point when the main control virtual character has jumped out of the aircraft and is in a falling state, the three-dimensional route guide including a three-dimensional line connecting a first position where the main control virtual character is located in the air and the target point on the ground, and the three-dimensional route guide indicates an operation manner for controlling the main control virtual character to descend from the first position to the target point; A guide device in a three-dimensional virtual environment, wherein the display module is configured to update and display the three-dimensional path guide based on a second position after the change in the location of the main control virtual character in response to a change in the location of the main control virtual character.
17. The falling state includes a gliding state, and the guiding device in the three-dimensional virtual environment further comprises a control module; the control module is configured to control, in response to a parachute jump operation, the primary control virtual character to jump out of the aircraft and enter the gliding state, the gliding state being a state in which the primary control virtual character is gliding through the air before opening a parachute; the display module is further configured to display the three-dimensional path guide pointing to the marked target point when the main control virtual character is in the gliding state and there is the marked target point, the three-dimensional path guide including a gliding path guide and an opening umbrella path guide, and the display styles of the gliding path guide and the opening umbrella path guide are different; the glide path guide is used to guide an aerial movement path along which the main control virtual character glides, the parachute opening path guide is used to guide an aerial movement path after the main control virtual character opens a parachute, the glide path guide is connected to the parachute opening path guide, and a connection point between the glide path guide and the parachute opening path guide is used to instruct the main control virtual character to control the opening of a parachute.
17. An apparatus for guiding in a three-dimensional virtual environment according to claim 16.
18. A computer device comprising a processor and a memory storing a computer program which, when loaded and executed by the processor, implements the method of guiding in a three-dimensional virtual environment according to any one of claims 1 to 15.
19. A computer program causing a processor to execute a guiding method in a three-dimensional virtual environment as described in any one of claims 1 to 15.
Citation Information
Patent Citations
Control method and device for game role
CN108579087A
Data processing method and device, electronic equipment and storage medium
CN113694528A
Computer game system
JP1995171273A