WO2020108236A1 - 虚拟世界中的虚拟车辆漂移方法、装置及存储介质 - Google Patents
虚拟世界中的虚拟车辆漂移方法、装置及存储介质 Download PDFInfo
- Publication number
- WO2020108236A1 WO2020108236A1 PCT/CN2019/115519 CN2019115519W WO2020108236A1 WO 2020108236 A1 WO2020108236 A1 WO 2020108236A1 CN 2019115519 W CN2019115519 W CN 2019115519W WO 2020108236 A1 WO2020108236 A1 WO 2020108236A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- virtual vehicle
- drift
- control
- state
- virtual
- Prior art date
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/80—Special adaptations for executing a specific game genre or game mode
- A63F13/803—Driving vehicles or craft, e.g. cars, airplanes, ships, robots or tanks
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
- A63F13/57—Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/60—Methods for processing data by generating or executing the game program
- A63F2300/64—Methods for processing data by generating or executing the game program for computing dynamical parameters of game objects, e.g. motion determination or computation of frictional forces for a virtual car
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/80—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
- A63F2300/8017—Driving on land or water; Flying
Definitions
- This application relates to the field of computer programs, and in particular to a method, device and storage medium for virtual vehicle drift in a virtual world.
- Racing game is a type of game that is popular among users. Most current racing games are 3D racing games built in a 3D virtual world.
- users use smartphones to run racing game programs.
- the user interface of the racing game program is displayed on the smartphone.
- the user interface includes a driving picture of the car driving on the track in the virtual world, and the left direction key, right direction key and drift superimposed on the driving picture Controls. If the user can press the direction key first, and then press the drift control, the racing game program will control the racing car to drift according to the user's pressing operation.
- Embodiments of the present application provide a virtual vehicle drift method, device, and storage medium in a virtual world.
- a virtual vehicle drift method in a virtual world is executed by a terminal.
- the method includes:
- the virtual vehicle After receiving the operation end event corresponding to the target interactive control, if the angle between the heading direction and the driving direction is greater than or equal to a first threshold, the virtual vehicle is controlled to maintain the drift state.
- a virtual vehicle drift device in a virtual world includes:
- the interaction module is used to receive an operation start event corresponding to the target interactive control during the process that the virtual vehicle in the virtual world is in a normal driving state;
- a control module for controlling the virtual vehicle to drift in the virtual world according to the operation start event
- the control module is configured to control the virtual vehicle if the angle between the heading direction and the driving direction is greater than or equal to a first threshold after receiving an operation end event corresponding to the target interactive control Maintain the drift state.
- a terminal includes a processor and a memory, and the memory stores computer-readable instructions.
- the processor causes the processor to perform the following steps:
- the virtual vehicle After receiving the operation end event corresponding to the target interactive control, if the angle between the heading direction and the driving direction is greater than or equal to a first threshold, the virtual vehicle is controlled to maintain the drift state.
- a non-volatile computer-readable storage medium that stores computer-readable instructions, which when executed by one or more processors, causes the one or more processors to perform the following steps:
- the virtual vehicle After receiving the operation end event corresponding to the target interactive control, if the angle between the heading direction and the driving direction is greater than or equal to a first threshold, the virtual vehicle is controlled to maintain the drift state.
- FIG. 1 is a flowchart of a virtual vehicle drift method in a virtual world provided by an exemplary embodiment of the present application
- FIG. 2 is a schematic diagram of an interface of a virtual vehicle drift method in a virtual world provided by an exemplary embodiment of the present application;
- FIG. 3 is a flowchart of a virtual vehicle drift method in a virtual world provided by another exemplary embodiment of the present application.
- FIG. 4 is a force analysis diagram of a virtual vehicle provided by another exemplary embodiment of the present application when driving normally in a virtual world;
- FIG. 5 is a force analysis diagram of a virtual vehicle provided by another exemplary embodiment of the present application when traveling in a virtual world while drifting;
- FIG. 6 is a flowchart of a virtual vehicle drift method in a virtual world provided by another exemplary embodiment of the present application.
- FIG. 7 is a schematic diagram of an interface of a virtual vehicle drift method in a virtual world provided by an exemplary embodiment of the present application.
- FIG. 8 is a schematic diagram of an interface of a virtual vehicle drift method in a virtual world provided by an exemplary embodiment of the present application.
- FIG. 10 is an interface schematic diagram of a virtual vehicle drift method in a virtual world provided by an exemplary embodiment of the present application.
- FIG. 11 is a schematic diagram of a virtual vehicle drift device in a virtual world provided by an exemplary embodiment of the present application.
- FIG. 12 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
- Racing game program an application that provides single or multi-person racing on the same track.
- the application supports racing cars in a drifting state during driving.
- the application may be a stand-alone application or an online application.
- the application supports individual races, team races, personal props, team props and other different races.
- the racing car provided by the application can be at least one of motorcycle, kart, car, electric car and cartoon car.
- Sandbox game program an open and creative application that consists of one or more map areas and integrates various game elements such as action, shooting, fighting, and driving.
- the application supports game characters to drive various civilian cars in an open virtual world, and is in a drifting state while driving the car.
- the virtual vehicles in the related art will be affected by ground friction (and wind resistance) in the virtual environment.
- ground friction will cause the virtual vehicle to decelerate rapidly, thereby canceling the drift state, and even decelerating to zero.
- FIG. 1 shows a flowchart of a virtual vehicle drift method in a virtual world provided by an exemplary embodiment of the present application.
- This embodiment is exemplified by applying the method to a terminal running an application program.
- the application program is a program that supports a virtual vehicle in a drift state during driving.
- the method includes:
- Step S101 In a process in which the virtual vehicle is in a normal driving state in the virtual world, receive an operation start event corresponding to the target interactive control.
- the application may be a racing application, an online game application, or a mobile game application.
- a virtual world is provided in the application, and a virtual vehicle exists in the virtual world.
- the virtual vehicle may be a racing car.
- the virtual world is a three-dimensional virtual world constructed based on a three-dimensional virtual engine.
- the three-dimensional virtual world is constructed with a ground environment for virtual vehicles to drive.
- the ground environment includes at least one of wilderness, highways, race tracks, and city streets.
- the application program generates a user interface, the user interface includes a driving screen for observing the virtual world from a first perspective or a third perspective of the virtual vehicle, and a target interactive control superimposed on the user interface.
- the target interactive control is a control or a group of controls used to trigger the virtual vehicle to drift.
- Step S102 controlling the virtual vehicle to be in a drift state in the virtual world according to the operation start event
- the operation start event is triggered when the user operation starts to act on the target interactive control.
- the target interactive control includes a direction control and a drift control displayed on the touch display screen.
- the target interactive control is a control corresponding to several physical components on the racing driving simulation peripheral.
- the operation start event is triggered by a touch operation on the touch display screen; or, it may also be triggered by a physical operation that controls an external input device, such as: controlling a mouse, or a VR handle, etc. Triggered by the operation.
- user operations include click operations, double-click operations, long-press operations, or sliding operations.
- the embodiment does not limit the types of touch operations.
- the operation start event is generated when the user touches the left direction key and the drift control at the same time when the touch operation starts to touch; or, the operation start event is when the user presses the right direction key and the drift control at the same time when the touch operation starts to touch produced.
- the drift state refers to a movement state in which a large angle is generated between the head direction and the driving direction, causing the body side to slip through a corner.
- the heading direction is the direction pointing directly in front of the heading.
- the driving direction is the direction corresponding to the speed of the virtual vehicle during driving, or the driving direction is the actual moving direction of the virtual vehicle on the ground environment.
- Step S103 After receiving the operation end event corresponding to the target interactive control, if the angle between the head direction and the driving direction is greater than or equal to the first threshold, the virtual vehicle is controlled to maintain a drift state.
- the terminal needs to monitor the angle between the heading direction of the virtual vehicle and the driving direction.
- the terminal needs to monitor the angle between the heading direction of the virtual vehicle and the driving direction.
- the terminal After receiving the operation end event corresponding to the target interactive control, the terminal monitors the angle between the heading direction and the driving direction of the virtual vehicle in real time; the operation end event is triggered when the user operation begins to disappear on the target interactive control; for example The operation end event is an event generated when the touch operation of pressing the direction key and the drift control at the same time cancels the touch.
- the terminal monitors the angle between the head direction of the virtual vehicle and the driving direction at predetermined intervals
- the terminal When the terminal receives the direction control operation, it monitors the angle between the head direction of the virtual vehicle and the driving direction.
- the virtual vehicle After receiving the operation end event corresponding to the target interactive control, if the angle between the terminal heading direction and the driving direction is greater than or equal to the first threshold, the virtual vehicle is controlled to maintain a drift state.
- “Keep drifting state” means that even if the user no longer applies drift triggering operation while the virtual vehicle is drifting, as long as the angle between the heading direction and the driving direction remains greater than or equal to the first threshold, the terminal also Automatically control the virtual vehicle to be in a drift state (or continue the drift state without interruption).
- the terminal displays the user interface 20 of the racing program.
- the user interface 20 includes: a left direction key 21, a right direction key 22, a drift key 23 and a virtual vehicle 24.
- the left direction key 21 is used to control the virtual vehicle 24
- the right direction key 22 is a control to control the virtual vehicle 24 to move to the right
- the drift key 23 is a control to trigger the virtual vehicle 24 to be in a drift state.
- the user When the virtual vehicle 24 is driving in a curve, the user simultaneously presses the right direction key 22 and the drift key 23 as a drift trigger operation (the black filled color in the figure represents that the control is pressed). After receiving the drift trigger operation, the terminal controls the virtual The vehicle 24 is in a drift state.
- the terminal detects that the drift triggering operation is ended, and then the terminal monitors the heading direction and driving direction of the virtual vehicle 24 If the included angle ⁇ is greater than or equal to the threshold, the terminal controls the virtual vehicle 24 to maintain the drift state.
- the method provided in this embodiment controls the virtual vehicle to maintain a drift state when the angle between the heading direction and the driving direction is greater than or equal to the first threshold when receiving the operation end event corresponding to the target interactive control ;
- the user can only control the angle between the head direction and the driving direction, without pressing the direction key and the drift control at the same time, just pressing the direction key to control the head direction That is, it reduces the difficulty of operation and improves the convenience of human-computer interaction in certain scenes that are not suitable for long-term operation with both hands.
- FIG. 3 shows a flowchart of a virtual vehicle drift method in a virtual world provided by another exemplary embodiment of the present application.
- This embodiment is exemplified by the method applied to a terminal running an application program.
- the application program is a program that supports a virtual vehicle in a drift state during driving.
- the application program is used to execute the following method.
- the method includes:
- Step S301 start the application.
- An application start icon can be displayed on the terminal desktop.
- the user can click the startup icon of the application, and the terminal starts the application after the startup icon is triggered.
- the application program is an application program provided with a virtual environment and a virtual vehicle located in the virtual environment.
- the application also supports virtual vehicles in a drifting state while driving.
- Step S302 displaying a user interface of the application program, the user interface including a driving screen in which the virtual vehicle is driving in the virtual world.
- the terminal runs the application and displays the user interface of the application.
- the user interface includes a driving picture of a virtual vehicle driving in a virtual world.
- the driving screen displays a screen for viewing the virtual environment from the first perspective or the third perspective of the virtual vehicle.
- the first perspective is also called the driver's perspective or the interior perspective
- the third perspective is also called the rear perspective or the far perspective.
- the first angle of view may be realized by a first camera provided at the position of the driver; the third angle of view may be realized by a second camera provided behind the virtual vehicle.
- the first perspective and the third perspective will follow the movement of the virtual vehicle.
- the driving screen is exemplified from a third perspective, but this is not limited.
- various controls are also superimposed on the driving screen on the user interface.
- the control includes at least: a direction key and a drift control.
- the direction key is a control for controlling the moving direction of the virtual vehicle.
- the direction key includes at least one of a front direction key, a left direction key, a rear direction key, and a right direction key.
- the drift control is a control for controlling the triggering and/or maintaining the drift state of the virtual vehicle.
- the direction key and the drift control are simultaneously pressed, the virtual vehicle is controlled to enter the drift state.
- the direction keys and the drift control are continuously pressed, the virtual vehicle maintains the drift state for the duration of the depression.
- the target interactive control includes an arrow key and a drift control for example.
- the control further includes at least one of a ranking display control, a speed information control, a thumbnail map control, a brake control, a jet control, and a nitrogen acceleration control.
- the ranking display control is a control for displaying the racing ranking of the current virtual vehicle among all virtual vehicles.
- the speed information control is a control for displaying at least one piece of time information among the personal record time, the lap racing time, and the total racing time of the game.
- the thumbnail map control is a control that displays the entire track map (and the real-time location of the current virtual vehicle on the track map) using a preset zoom ratio from a bird's-eye view.
- the brake control is a control that controls the deceleration of the virtual vehicle.
- the jet control is a control that controls the virtual vehicle to perform explosive acceleration in a relatively short first time period, and the duration of the first time period may be a fixed duration.
- the nitrogen acceleration control is a control that controls the virtual vehicle to perform explosive acceleration in a relatively long second time period, and the duration of the second time period can be dynamically determined according to the value of the nitrogen property value.
- the jet control and the nitrogen acceleration control are both rewarding prop controls, and only when the virtual vehicle satisfies the preset conditions during driving can the triggering use be obtained after the rewarding prop is obtained. Otherwise, the jet control and nitrogen acceleration control will be displayed as unusable inactive state.
- the nitrogen acceleration control is a prop control that can only be triggered after the available nitrogen value reaches the threshold.
- Step S303 During the process that the virtual vehicle in the virtual world is in the normal driving state, receive an operation start event corresponding to the target interactive control.
- the user controls the virtual vehicle to travel on the ground environment in the virtual world.
- the user can use the direction keys to control the driving direction of the virtual vehicle.
- the normal driving traction force F1 is the traction force directed toward the front of the vehicle head, and the resistance f includes at least one of friction force and wind resistance from the ground.
- the normal driving traction force F1 is equal to or greater than the friction force f.
- the drift trigger operation includes a trigger operation acting on the drift control.
- the drift trigger operation includes trigger operations acting on the direction control and the drift control.
- the drift trigger operation includes a trigger operation acting on the driving simulation peripheral.
- the drift triggering operation may be an operation triggered by touching the display screen; or, it may also be an operation triggered by controlling an external input device, such as: a mouse, a VR handle, or a driving simulation peripheral.
- Driving simulation peripherals include at least one of steering wheel, gear lever, throttle and brake.
- the drift trigger operation may be a click operation, a combo operation, a long-press operation, or a slide operation.
- the type of the drift trigger operation is not limited in this embodiment.
- the drift trigger operation is an operation of simultaneously pressing the left direction key and the drift control; or, the drift trigger operation is an operation of simultaneously pressing the right direction key and the drift control.
- a touch start event may be generated in the operating system of the terminal.
- the touch start event is also an operation start event.
- a touch event in the operating system of the terminal will be triggered when the user's finger is placed on the screen, when sliding on the screen, or when moving away from the screen.
- Touch events can have the following types:
- touchstart event triggered when a finger starts to touch the screen, even when there is already a finger on the touch screen, when other fingers touch the screen, it will also trigger this event.
- touchmove event Continuously triggered when the finger slides on the touch screen. During this event, calling the preventDefault() event can prevent scrolling.
- touchend event touch end event: triggered when the finger leaves the touch screen.
- the application program in the terminal may determine the touch start event obtained at the program level as the operation start event corresponding to the target interactive control.
- step S304 the virtual vehicle is controlled to be in a drift state in the virtual world according to the operation start event.
- the drift state refers to a moving state that allows a large angle between the head direction and the driving direction to make the body side slip through a bend.
- the heading direction is directed to the front of the front of the virtual vehicle, and the driving direction is the direction when the virtual vehicle moves in the virtual world.
- step S305 the angle between the head direction of the virtual vehicle and the traveling direction is monitored.
- the terminal monitors the angle between the heading direction of the virtual vehicle and the driving direction, including but not limited to at least one of the following four ways:
- the terminal After receiving the operation end event corresponding to the target interactive control, the terminal monitors the angle between the heading direction and the driving direction of the virtual vehicle in real time; the operation end event is triggered when the user operation begins to disappear on the target interactive control; for example The operation end event is an event generated when the touch operation of pressing the direction key and the drift control at the same time cancels the touch.
- the terminal monitors the angle between the head direction of the virtual vehicle and the driving direction at predetermined intervals
- the terminal When the terminal receives the direction control operation, it monitors the angle between the head direction of the virtual vehicle and the driving direction.
- the terminal's operating system when the user no longer touches the target interactive control (for example, the user's finger is released on the direction key and the drift control), the terminal's operating system will generate a touchend event corresponding to the target interactive control, and the application in the terminal will The touchend event is determined as the operation end event.
- the terminal monitors the angle between the heading direction of the virtual vehicle and the driving direction.
- the terminal in the process of monitoring the angle, receives the user's direction control operation, changes the head direction of the virtual vehicle according to the direction control operation, and determines the angle between the changed head direction and the traveling direction.
- the direction control operation may be an operation acting on the direction key or an operation acting on the steering wheel.
- the direction control operation is the operation of pressing the left direction key; for another example, the direction control operation is the operation of pressing the right direction key.
- the terminal After the terminal determines the angle between the heading direction of the virtual vehicle and the traveling direction, the terminal also determines the magnitude relationship between the angle and the first threshold and the second threshold, where the first threshold is greater than the second threshold.
- the first threshold is 45 degrees
- the second threshold is 10 degrees.
- step S306 When the included angle is greater than or equal to the first threshold, step S306 is entered; when the included angle is less than the first threshold and greater than or equal to the second threshold, step S307 is entered; when the included angle is less than the second threshold, step S311 is entered .
- the heading or driving direction of the virtual vehicle will be affected by various factors such as traction direction, direction control operation, and drag. Moreover, since the user may apply the direction control operation multiple times, this step can be performed correspondingly multiple times.
- Step S306 After receiving the operation end event corresponding to the target interactive control, if the angle between the head direction and the driving direction is greater than or equal to the first threshold, dynamic drag traction is added to the virtual vehicle along the head direction, the dynamic drag Drift traction is used to control the virtual vehicle to maintain a drift state.
- the terminal determines that the angle between the heading direction of the virtual vehicle and the driving direction is greater than the first threshold, the terminal increases the dynamic drag traction force to the virtual vehicle along the heading direction , The dynamic drag traction is used to control the virtual vehicle to maintain the drift state.
- this "hold drift state” may be referred to as a drag state.
- the direction of the dynamic drag traction force F2 of the virtual vehicle is pointed directly in front of the front of the vehicle.
- the virtual vehicle in the drift state moves in the direction of travel according to the speed V, and the virtual vehicle also receives friction opposite to the speed V
- the component F21 of the dynamic drag traction force F2 in the traveling direction is equal to or greater than the friction force f, so that the virtual vehicle remains in the drift state.
- another traction force component F22 of the dynamic drag traction force F2 will change the heading direction, requiring the user's direction control operation to control the heading direction of the virtual vehicle.
- the friction force f has a positive correlation with the speed of the virtual vehicle.
- the application will add an additional return force, which is used to guide the virtual vehicle to automatically return to the heading direction and the driving direction during the drift process when there is no control signal.
- the traction force component of the dynamic drag traction force in the direction of travel is equal to or greater than the drag force.
- the dynamic drag traction force is positively related to the speed of the virtual vehicle.
- the magnitude of the dynamic dragging traction force is positively related to the speed of the virtual vehicle; after exceeding the preset speed interval, the magnitude of the dynamic dragging traction force remains unchanged.
- the resistance received by the virtual vehicle is ground friction, which is positively related to the speed of the virtual vehicle within a preset speed interval, and the direction of the ground friction is opposite to the direction of travel,
- the traction force component of the dynamic drag traction force experienced by the virtual vehicle in the driving direction remains the same as the ground friction force, or the traction force component may be slightly larger than the ground friction force. To keep the virtual vehicle drifting.
- Step S307 After receiving the operation end event corresponding to the target interactive control, if the angle between the heading direction and the driving direction is greater than the first threshold, modify the ground friction force of the virtual vehicle from the first friction force value to the first Two frictional force values; the first frictional force value is greater than the second frictional force value.
- the first frictional force value is determined in real time according to the speed of the virtual vehicle. In the preset speed interval, the speed of the virtual vehicle is positively correlated with the ground friction.
- the second friction force value is a predetermined smaller empirical value.
- the ground friction of each virtual vehicle can be set independently of each other, depending on the current speed of the virtual vehicle and the driving status.
- step S308 during the duration of the drift state, the nitrogen attribute value of the virtual vehicle is continuously increased.
- the application continuously increases the nitrogen property value of the nitrogen acceleration control according to the duration of the drift state. This duration has a positive correlation with the accumulated nitrogen property value.
- Step S309 When the nitrogen attribute value reaches the trigger threshold, activate the nitrogen acceleration control of the virtual vehicle to an available state.
- the nitrogen acceleration control has its own trigger threshold. When the nitrogen property value has not accumulated to the trigger threshold, the nitrogen acceleration control is in an unavailable state. The inactive state is displayed on the user interface but not triggerable, or the inactive state is not displayed on the user interface . When the nitrogen property value accumulates to the trigger threshold, the nitrogen acceleration control will be activated to the available state, which is the state that can be displayed and triggered on the user interface.
- Step S310 when a trigger signal acting on the nitrogen acceleration control is received, the virtual vehicle is controlled to accelerate.
- the nitrogen acceleration control is a control displayed on the touch display.
- the nitrogen acceleration control is in the available state, if the user presses the nitrogen acceleration control, the terminal receives a trigger signal acting on the nitrogen acceleration control, and thus controls the virtual vehicle to accelerate according to the trigger signal.
- the terminal can accelerate according to the remaining available nitrogen of the nitrogen attribute value, that is, the acceleration process needs to continuously consume the nitrogen in the nitrogen attribute value.
- the virtual vehicle is controlled to exit the acceleration state.
- the terminal will also control the virtual vehicle to exit the acceleration state.
- Step S311 During the process of controlling the virtual vehicle to maintain the drift state, if the angle between the heading direction and the driving direction is less than the first threshold, the virtual vehicle is controlled to return to the normal driving state.
- the terminal can switch the dynamic drag traction force to the normal driving traction force, which is used to control the virtual vehicle to be in the normal driving state.
- Step S312 in the process of controlling the virtual vehicle to maintain the drift state, if the angle between the heading direction and the driving direction is less than the first threshold, modify the ground friction force of the virtual vehicle from the second friction force value to the first friction Force value.
- the application also modifies the ground friction force of the virtual vehicle from the second friction force value to the first friction force value.
- the first frictional force value is determined in real time according to the speed of the virtual vehicle. In the preset speed interval, the speed of the virtual vehicle is positively correlated with the ground friction.
- the second friction force value is a predetermined smaller empirical value.
- Step S313 After receiving the operation end event corresponding to the target interactive control, if the angle between the heading direction and the driving direction is less than the second threshold, control the virtual vehicle to switch from the drift state to the normal driving state after the target duration.
- drift state When the operation end event corresponding to the target interactive control is received, if the angle between the vehicle head direction and the driving direction is small (for example, less than 10°), another short-term drift state will be entered.
- This "ephemeral drift state” may be referred to as a drift state, which is a state different from the drag state.
- the application will control the virtual vehicle to switch from the drift state to the normal driving state after a short target duration.
- the application calculates the decay time between the decay of the virtual vehicle from the drift state to the normal driving state according to the speed of the virtual vehicle and the ground friction; when the decay time is greater than the shortest drift time, the virtual vehicle is controlled according to the decay time Decay from the drift state to the normal driving state; when the attenuation time is less than the shortest drift time, control the virtual vehicle to decay from the drift state to the normal driving state according to the shortest drift time.
- the application upon receiving an operation end event corresponding to the target interactive control, if the angle between the heading direction and the driving direction is less than the second threshold, the application will further reduce the ground friction of the virtual vehicle from the second The friction force value is modified to the first friction force value, so that the virtual vehicle is switched from the drift state to the normal driving state.
- the application program since the spot drift state is also a drift state, the application program also executes step S308 to continuously increase the nitrogen attribute value of the virtual vehicle during the duration of the drift state (point drift state).
- the drift state can be used for users to quickly accumulate a small amount of nitrogen attribute value.
- the nitrogen attribute value accumulated by drag drift or ordinary drift mode is about to reach the trigger threshold, the user can use the drift state to accumulate the remaining nitrogen value.
- the virtual vehicle after receiving the operation end event corresponding to the target interactive control, if the angle between the head direction and the driving direction is greater than the first threshold, the virtual vehicle is controlled to maintain a drift state; In the process of controlling and keeping the virtual vehicle in the drift state, the user can only control the angle between the head direction and the driving direction, without pressing the direction key and the drift control at the same time, only need to press the direction key to control the head direction. However, it reduces the difficulty of operation and improves the convenience of human-computer interaction in certain scenes that are not suitable for long-term operation with both hands.
- the method provided in this embodiment also determines whether the angle between the front direction of the virtual vehicle and the driving direction is greater than the angle between the head direction of the virtual vehicle and the driving direction after receiving the operation end event corresponding to the target interactive control, each time the user's direction control operation is received Threshold, if the angle between the heading direction of the virtual vehicle and the driving direction is greater than the first threshold, the drift state is maintained, and the nitrogen attribute value of the nitrogen acceleration control is accumulated according to the duration of the virtual vehicle in the drift state (drag).
- the system after receiving the operation end event corresponding to the target interactive control, if the angle between the heading direction of the virtual vehicle and the driving direction is less than the second threshold, the system enters the drift state, and according to the virtual The duration of the vehicle in the drift state (point drift) to accumulate the nitrogen value of the nitrogen acceleration control.
- point drift the system enters the drift state, and according to the virtual The duration of the vehicle in the drift state (point drift) to accumulate the nitrogen value of the nitrogen acceleration control.
- S601 the user opens the application and starts the racing game; S602, the user controls the vehicle to enter the drift by pressing the keys (direction key and drift key); S603, the user releases the key to cancel the drift trigger Operation; S604, the application program controls the racing car to maintain a drift state, and maintaining the drift state may also be referred to as drag drift.
- the application program controls the racing to end drifting, and when the drifting back to the front is successful, the vehicle enters the normal driving state.
- the first word "dragging" 71 may also be superimposed and displayed on the user interface, as shown in FIG. 7.
- the tire tracks 72 caused by the drag of the virtual vehicle on the track will also be significantly longer, as shown in FIG. 8.
- the racing car in the embodiment of the present application not only has an inertial speed V, but also has a relatively large'dragging' power F2, and this power will be shared with the friction force f effect.
- the calculation method of F/f power changes dynamically, and the final feeling is similar to that the car is doing a circular motion at a constant speed (the actual situation is definitely a dynamic arc). In theory, it can keep the car’s “drag” state indefinitely. Go on.
- FIG. 9 shows a calculation method of dynamic drift traction force F2 and friction force f in an exemplary embodiment.
- the dynamic drift traction force F2 changes with the real-time speed of the car. The faster the speed, the greater the dynamic drift traction force F2; after the vehicle speed reaches a certain level, the dynamic drift traction F2 no longer increases; the friction force f also changes with the real-time speed of the car , And the magnitude of the frictional force f is proportional to the square of the real-time speed of the car.
- the user needs to control the heading direction of the virtual racing car in real time, for example, to control the angle between the heading direction and the driving direction to be around 35° to 45°.
- the reason why the user needs to control the heading direction is because the user needs to control the heading direction in real time so that the angle between the heading direction and the driving direction is not too small, and if it is too small, it will exit the drift state.
- the core of the drag operation is that the user should control the angle between the head direction and the driving direction to keep the resultant force of the car similar to a centripetal force and do a circular motion.
- the route is not a standard arc, but a non-standard arc that changes in real time. This is the fun of track design. Different track arcs require players to control different drag angles.
- the player when dragging needs to be ended, the player needs to control the head to turn so that the angle between the head direction and the driving direction is 0°, so that the car is in a normal driving state, and the dynamic drift traction F2 is switched to normal Driving traction F1.
- F1 is a fixed value, the friction force f still increases with the increase of speed, the normal driving traction force f and the friction force F1 can finally reach a balance, the racing car can do a straight line movement at a constant speed on the straight line, which is in line with the power of real-world vehicles Design principles.
- the drag state is not entered. Instead, it enters another short-term drift state, also known as a drift state. After the car will maintain a short drift state, it will switch from the drift state to the normal driving state.
- the user interface may also superimpose and display the second word “drift” 74, as shown in FIG. 10.
- FIG. 11 shows a structural block diagram of a virtual vehicle drift device in a virtual world provided by an exemplary embodiment of the present application.
- the device can be implemented as all or part of the terminal through software, hardware, or a combination of both.
- the device includes:
- the interaction module 1120 is used to receive an operation start event corresponding to the target interactive control during the process that the virtual vehicle in the virtual world is in a normal driving state.
- the target interactive control is a control or a group of controls used to trigger the virtual vehicle to drift.
- the control module 1140 is configured to control the virtual vehicle to drift in the virtual world according to the operation start event.
- the control module 1140 is configured to, when receiving an operation end event corresponding to the target interactive control, if the angle between the heading direction and the driving direction is greater than a first threshold, control the virtual vehicle to maintain The drift state.
- control module 1140 is configured to increase the dynamic drag traction force to the virtual vehicle in the direction of the vehicle head, and the dynamic drag traction force is used to control the virtual vehicle to maintain the drift status.
- the magnitude of the dynamic drag traction force is positively related to the speed of the virtual vehicle.
- control module 1140 is further configured to, when receiving an operation end event corresponding to the target interactive control, if the angle between the heading direction and the driving direction is greater than the first A threshold, the ground friction force of the virtual vehicle is modified from the first friction force value to the second friction force value; wherein, the first friction force value is greater than the second friction force value.
- control module 1140 is further configured to continuously increase the nitrogen attribute value of the virtual vehicle during the duration of the drift state; when the nitrogen attribute value reaches the trigger threshold Activate the nitrogen acceleration control of the virtual vehicle to an available state; when receiving the trigger signal of the nitrogen acceleration control, control the virtual vehicle to perform an acceleration operation.
- control module 1140 is also used to control the virtual vehicle to maintain the drift state if the angle between the heading direction and the driving direction is less than When the first threshold is reached, the virtual vehicle is controlled to return to a normal driving state.
- control module 1140 is further used to control the virtual vehicle to maintain the drift state when the angle between the heading direction and the driving direction is monitored When it is less than the first threshold, the ground friction force of the virtual vehicle is modified from the second friction force value to the first friction force value; wherein, the first friction force value is greater than the second friction force Value.
- control module 1140 is further configured to switch the dynamic drag traction force to normal driving traction force, and the normal driving traction force is used to control the virtual vehicle to be in a normal driving state.
- the dynamic drag traction force is greater than the normal driving traction force.
- the device further includes: a monitoring module 1160;
- the interaction module 1120 is also used to receive direction control operations.
- the control module 1140 is further configured to control the operation according to the direction and change the head direction of the virtual vehicle.
- the monitoring module 1160 is also used to determine the angle between the changed heading direction and the driving direction.
- control module 1140 is configured to, when receiving an operation end event corresponding to the target interactive control, if the angle between the heading direction and the driving direction is less than the second At the threshold, the virtual vehicle is controlled to switch from the drift state to the normal driving state after the target duration; wherein, the second threshold is less than the first threshold.
- control module 1140 is configured to calculate the attenuation of the virtual vehicle from the drift state to the normal driving state according to the speed of the virtual vehicle and the ground friction Duration; when the attenuation duration is greater than the shortest drift duration, control the virtual vehicle to decay from the drift state to the normal driving state according to the attenuation duration; when the attenuation duration is less than the shortest drift duration, control The virtual vehicle decays from the drift state to the normal driving state according to the shortest drift duration.
- the device after receiving the operation end event corresponding to the target interactive control, if the angle between the heading direction and the driving direction is greater than the first threshold, the device provided in this embodiment controls the virtual vehicle to maintain a drift state; In the process of controlling and keeping the virtual vehicle in the drift state, the user can only control the angle between the head direction and the driving direction, without pressing the direction key and the drift control at the same time, just pressing the direction key to control the head direction , Reduces the difficulty of operation, and improves the convenience of human-computer interaction in certain scenes that are not suitable for long-term operation with both hands.
- FIG. 12 shows a structural block diagram of a terminal 1200 provided by an exemplary embodiment of the present application.
- the terminal 1200 may be: a smartphone, a tablet computer, an MP3 player (Moving Pictures Experts Group Audio III), motion picture expert compression standard audio level 3), MP4 (Moving Pictures Experts Group Audio Audio Layer IV, motion picture expert compression standard audio Level 4) Player, laptop or desktop computer.
- the terminal 1200 may also be called other names such as user equipment, portable terminal, laptop terminal, and desktop terminal.
- the terminal 1200 includes a processor 1201 and a memory 1202.
- the processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on.
- the processor 1201 may adopt at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). achieve.
- the processor 1201 may also include a main processor and a coprocessor.
- the main processor is a processor for processing data in a wake-up state, also known as a CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor for processing data in the standby state.
- the processor 1201 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used to render and draw content that needs to be displayed on the display screen.
- the processor 1201 may further include an AI (Artificial Intelligence, Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
- AI Artificial Intelligence, Artificial Intelligence
- the memory 1202 may include one or more computer-readable storage media, which may be non-transitory.
- the memory 1202 may also include a high-speed random access memory, and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
- the non-transitory computer-readable storage medium in the memory 1202 is used to store at least one instruction for execution by the processor 1201 to implement the virtual world provided by the method embodiment in the present application The virtual vehicle drift method in.
- the terminal 1200 may optionally include a peripheral device interface 1203 and at least one peripheral device.
- the processor 1201, the memory 1202, and the peripheral device interface 1203 may be connected by a bus or a signal line.
- Each peripheral device may be connected to the peripheral device interface 1203 through a bus, a signal line, or a circuit board.
- the peripheral device includes at least one of a radio frequency circuit 1204, a touch display 1205, a camera 1206, an audio circuit 1207, a positioning component 1208, and a power supply 1209.
- the peripheral device interface 1203 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 1201 and the memory 1202.
- the processor 1201, the memory 1202, and the peripheral device interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 1201, the memory 1202, and the peripheral device interface 1203 or Both can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
- the radio frequency circuit 1204 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals.
- the radio frequency circuit 1204 communicates with the communication network and other communication devices through electromagnetic signals.
- the radio frequency circuit 1204 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal.
- the radio frequency circuit 1204 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so on.
- the radio frequency circuit 1204 can communicate with other terminals through at least one wireless communication protocol.
- the wireless communication protocol includes but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity, wireless fidelity) networks.
- the radio frequency circuit 1204 may further include a circuit related to NFC (Near Field Communication), which is not limited in this application.
- the display screen 1205 is used to display a UI (User Interface).
- the UI may include graphics, text, icons, video, and any combination thereof.
- the display screen 1205 also has the ability to collect touch signals on or above the surface of the display screen 1205.
- the touch signal may be input to the processor 1201 as a control signal for processing.
- the display screen 1205 can also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
- the display screen 1205 may be one display screen 1205, which is provided with the front panel of the terminal 1200; in other embodiments, there may be at least two display screens 1205, which are respectively provided on different surfaces of the terminal 1200 or have a folded design; In still other embodiments, the display screen 1205 may be a flexible display screen, which is disposed on the curved surface or the folding surface of the terminal 1200. Even, the display screen 1205 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen.
- the display screen 1205 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light emitting diode) and other materials.
- the camera assembly 1206 is used to collect images or videos.
- the camera assembly 1206 includes a front camera and a rear camera.
- the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal.
- the camera assembly 1206 may also include a flash.
- the flash can be a single-color flash or a dual-color flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which can be used for light compensation at different color temperatures.
- the audio circuit 1207 may include a microphone and a speaker.
- the microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals and input them to the processor 1201 for processing, or input them to the radio frequency circuit 1204 to implement voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively installed in different parts of the terminal 1200.
- the microphone can also be an array microphone or an omnidirectional acquisition microphone.
- the speaker is used to convert the electrical signal from the processor 1201 or the radio frequency circuit 1204 into sound waves.
- the speaker can be a traditional thin-film speaker or a piezoelectric ceramic speaker.
- the speaker When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible by humans, but also convert electrical signals into sound waves inaudible to humans for ranging and other purposes.
- the audio circuit 1207 may also include a headphone jack.
- the positioning component 1208 is used to locate the current geographic location of the terminal 1200 to implement navigation or LBS (Location Based Service, location-based service).
- the positioning component 1208 may be a positioning component based on the GPS (Global Positioning System) of the United States, the Beidou system of China, the Grenas system of Russia, or the Galileo system of the European Union.
- GPS Global Positioning System
- the power supply 1209 is used to supply power to various components in the terminal 1200.
- the power source 1209 may be alternating current, direct current, disposable batteries, or rechargeable batteries.
- the rechargeable battery may support wired charging or wireless charging.
- the rechargeable battery can also be used to support fast charging technology.
- the terminal 1200 further includes one or more sensors 1210.
- the one or more sensors 1210 include, but are not limited to: an acceleration sensor 1211, a gyro sensor 1212, a pressure sensor 1213, a fingerprint sensor 1214, an optical sensor 1215, and a proximity sensor 1216.
- the acceleration sensor 1211 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established with the terminal 1200.
- the acceleration sensor 1211 may be used to detect components of gravity acceleration on three coordinate axes.
- the processor 1201 may control the touch display 1205 to display the user interface in a landscape view or a portrait view according to the gravity acceleration signal collected by the acceleration sensor 1211.
- the acceleration sensor 1211 can also be used for game or user movement data collection.
- the gyro sensor 1212 can detect the body direction and rotation angle of the terminal 1200, and the gyro sensor 1212 can cooperate with the acceleration sensor 1211 to collect a 3D action of the user on the terminal 1200.
- the processor 1201 can realize the following functions according to the data collected by the gyro sensor 1212: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
- the pressure sensor 1213 may be disposed on the side frame of the terminal 1200 and/or the lower layer of the touch display 1205.
- the pressure sensor 1213 can detect the user's grip signal on the terminal 1200, and the processor 1201 can perform left-right hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 1213.
- the processor 1201 controls the operability control on the UI interface according to the user's pressure operation on the touch display screen 1205.
- the operability control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.
- the fingerprint sensor 1214 is used to collect the user's fingerprint, and the processor 1201 identifies the user's identity according to the fingerprint collected by the fingerprint sensor 1214, or the fingerprint sensor 1214 identifies the user's identity according to the collected fingerprint. When the user's identity is recognized as a trusted identity, the processor 1201 authorizes the user to perform related sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings.
- the fingerprint sensor 1214 may be provided on the front, back, or side of the terminal 1200. When a physical button or a manufacturer's logo is provided on the terminal 1200, the fingerprint sensor 1214 may be integrated with the physical button or the manufacturer's logo.
- the optical sensor 1215 is used to collect the ambient light intensity.
- the processor 1201 may control the display brightness of the touch display 1205 according to the ambient light intensity collected by the optical sensor 1215. Specifically, when the ambient light intensity is high, the display brightness of the touch display 1205 is increased; when the ambient light intensity is low, the display brightness of the touch display 1205 is decreased.
- the processor 1201 may also dynamically adjust the shooting parameters of the camera assembly 1206 according to the ambient light intensity collected by the optical sensor 1215.
- the proximity sensor 1216 also called a distance sensor, is usually provided on the front panel of the terminal 1200.
- the proximity sensor 1216 is used to collect the distance between the user and the front of the terminal 1200.
- the processor 1201 controls the touch display 1205 to switch from the bright screen state to the breathing state; when the proximity sensor 1216 detects When the distance from the user to the front of the terminal 1200 gradually becomes larger, the processor 1201 controls the touch display 1205 to switch from the screen-holding state to the bright-screening state.
- FIG. 12 does not constitute a limitation on the terminal 1200, and may include more or fewer components than shown, or combine certain components, or adopt different component arrangements.
- a terminal including a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to perform the virtual vehicle drift in the virtual world Method steps.
- the steps of the virtual vehicle drift method in the virtual world may be the steps in the virtual vehicle drift method in the virtual world of the foregoing various embodiments.
- a computer-readable storage medium which stores a computer program.
- the processor is caused to execute the steps of the virtual vehicle drift method in the virtual world.
- the steps of the virtual vehicle drift method in the virtual world may be the steps in the virtual vehicle drift method in the virtual world of the foregoing various embodiments.
- the computer-readable storage medium is a non-volatile computer-readable storage medium
- the computer-readable storage medium stores a computer program
- the stored computer program When executed by the processing component, the virtual vehicle drift method in the virtual world provided by the above embodiments of the present disclosure can be realized.
- the program may be stored in a computer-readable storage medium.
- the mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
Claims (20)
- 一种虚拟世界中的虚拟车辆漂移方法,由终端执行,其特征在于,所述方法包括:在所述虚拟世界中的虚拟车辆处于正常行驶状态的过程中,接收目标交互控件对应的操作开始事件;根据所述操作开始事件控制所述虚拟车辆在所述虚拟世界中处于漂移状态;及在接收到所述目标交互控件对应的操作结束事件后,若所述车头方向与所述行驶方向之间的夹角大于或等于第一阈值,则控制所述虚拟车辆保持所述漂移状态。
- 根据权利要求1所述的方法,其特征在于,所述控制所述虚拟车辆保持所述漂移状态,包括:沿所述车头方向向所述虚拟车辆增加动态拖漂牵引力,所述动态拖漂牵引力用于控制所述虚拟车辆保持所述漂移状态。
- 根据权利要求2所述的方法,其特征在于,在预设速度区间内,所述动态拖漂牵引力的大小与所述虚拟车辆的速度呈正相关关系。
- 根据权利要求2所述的方法,其特征在于,所述方法还包括:在接收到所述目标交互控件对应的操作结束事件后,若所述车头方向与所述行驶方向之间的夹角大于或等于第一阈值,则将所述虚拟车辆的地面摩擦力,从第一摩擦力数值修改为第二摩擦力数值;其中,所述第一摩擦力数值大于所述第二摩擦力数值。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:在所述漂移状态的持续期间,持续增加所述虚拟车辆的氮气属性值;当所述氮气属性值达到触发门限值时,将所述虚拟车辆的氮气加速控件激活为可用状态;及当接收到作用于所述氮气加速控件的触发信号时,控制所述虚拟车辆进行加速。
- 根据权利要求1至5任一所述的方法,其特征在于,所述方法还包括:在控制所述虚拟车辆保持所述漂移状态的过程中,若所述车头方向与所述行驶方向之间的夹角小于所述第一阈值,则控制所述虚拟车辆恢复为所述 正常行驶状态。
- 根据权利要求6所述的方法,其特征在于,所述控制所述虚拟车辆恢复为所述正常行驶状态,包括:将所述虚拟车辆的动态拖漂牵引力切换为正常行驶牵引力,所述正常行驶牵引力用于控制所述虚拟车辆处于正常行驶状态,所述动态拖漂牵引力大于所述正常行驶牵引力。
- 根据权利要求6所述的方法,其特征在于,所述方法还包括:在控制所述虚拟车辆保持所述漂移状态的过程中,若所述车头方向与所述行驶方向之间的夹角小于所述第一阈值,则将所述虚拟车辆的地面摩擦力,从第二摩擦力数值修改为第一摩擦力数值;所述第二摩擦力数值为所述虚拟车辆保持所述漂移状态时的摩擦力数值;其中,所述第一摩擦力数值大于所述第二摩擦力数值。
- 根据权利要求1至5任一所述的方法,其特征在于,所述方法还包括:接收方向控制操作;根据所述方向控制操作,改变所述虚拟车辆的车头方向;及确定改变后的所述车头方向与所述行驶方向之间的夹角。
- 根据权利要求1至5任一所述的方法,其特征在于,所述方法还包括:在接收到所述目标交互控件对应的操作结束事件后,若所述车头方向与所述行驶方向之间的夹角小于第二阈值,则控制所述虚拟车辆在目标时长后从所述漂移状态切换为所述正常行驶状态;其中,所述第二阈值小于所述第一阈值。
- 根据权利要求10所述的方法,其特征在于,所述控制所述虚拟车辆在目标时长后从所述漂移状态切换为所述正常行驶状态,包括:根据所述虚拟车辆的速度和地面摩擦力,计算所述虚拟车辆从所述漂移状态衰减为所述正常行驶状态之间的衰减时长;当所述衰减时长大于或等于最短漂移时长时,控制所述虚拟车辆按照所述衰减时长从所述漂移状态衰减为所述正常行驶状态;及当所述衰减时长小于所述最短漂移时长时,控制所述虚拟车辆按照所述最短漂移时长从所述漂移状态衰减为所述正常行驶状态。
- 一种虚拟世界中的虚拟车辆漂移装置,其特征在于,所述装置包括:交互模块,用于在虚拟车辆位于虚拟世界中行驶的过程中,接收目标交互控件对应的操作开始事件;控制模块,用于根据所述操作开始事件控制所述虚拟车辆在所述虚拟世界中处于漂移状态;及所述控制模块,用于在接收到所述目标交互控件对应的操作结束事件时,若所述车头方向与所述行驶方向之间的夹角大于或等于第一阈值,则控制所述虚拟车辆保持所述漂移状态。
- 根据权利要求12所述的装置,其特征在于,所述控制模块,用于在接收到所述目标交互控件对应的操作结束事件时,若所述车头方向与所述行驶方向之间的夹角大于第一阈值,则沿所述车头方向向所述虚拟车辆增加动态拖漂牵引力,所述动态拖漂牵引力用于控制所述虚拟车辆保持所述漂移状态。
- 根据权利要求12所述的装置,其特征在于,所述控制模块还用于在接收到所述目标交互控件对应的操作结束事件后,若所述车头方向与所述行驶方向之间的夹角大于或等于第一阈值,则将所述虚拟车辆的地面摩擦力,从第一摩擦力数值修改为第二摩擦力数值;其中,所述第一摩擦力数值大于所述第二摩擦力数值。
- 根据权利12所述的装置,其特征在于,所述控制模块还用于在所述漂移状态的持续期间,持续增加所述虚拟车辆的氮气属性值;当所述氮气属性值达到触发门限值时,将所述虚拟车辆的氮气加速控件激活为可用状态;及当接收到作用于所述氮气加速控件的触发信号时,控制所述虚拟车辆进行加速。
- 根据权利要求12至15任一所述的装置,其特征在于,所述控制模块还用于在控制所述虚拟车辆保持所述漂移状态的过程中,若所述车头方向与所述行驶方向之间的夹角小于所述第一阈值,则控制所述虚拟车辆恢复为所述正常行驶状态。
- 根据权利要求16所述的装置,其特征在于,所述控制模块还用于将所述虚拟车辆的动态拖漂牵引力切换为正常行驶牵引力,所述正常行驶牵引 力用于控制所述虚拟车辆处于正常行驶状态,所述动态拖漂牵引力大于所述正常行驶牵引力。
- 根据权利要求16所述的装置,其特征在于,所述控制模块还用于在控制所述虚拟车辆保持所述漂移状态的过程中,若所述车头方向与所述行驶方向之间的夹角小于所述第一阈值,则将所述虚拟车辆的地面摩擦力,从第二摩擦力数值修改为第一摩擦力数值;所述第二摩擦力数值为所述虚拟车辆保持所述漂移状态时的摩擦力数值;其中,所述第一摩擦力数值大于所述第二摩擦力数值。
- 一种终端,其特征在于,所述终端包括处理器和存储器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行如权利要求1至11中任一项所述的方法的步骤。
- 一种非易失性的计算机可读存储介质,存储有计算机可读指令,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如权利要求1至11中任一项所述的方法的步骤。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020217010649A KR20210053990A (ko) | 2018-11-28 | 2019-11-05 | 가상 세계에서의 가상 차량 드리프팅 방법 및 디바이스, 및 저장 매체 |
SG11202102113WA SG11202102113WA (en) | 2018-11-28 | 2019-11-05 | Virtual vehicle drifting method and device in virtual world, and storage medium |
JP2021504418A JP7147041B2 (ja) | 2018-11-28 | 2019-11-05 | 仮想世界中の仮想車両ドリフト方法、装置及びコンピュータプログラム |
US17/173,272 US11344810B2 (en) | 2018-11-28 | 2021-02-11 | Drift method and apparatus for virtual vehicle in virtual world and storage medium |
US17/672,968 US11701589B2 (en) | 2018-11-28 | 2022-02-16 | Drift method and apparatus for virtual vehicle in virtual world and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811433526.3A CN109513210B (zh) | 2018-11-28 | 2018-11-28 | 虚拟世界中的虚拟车辆漂移方法、装置及存储介质 |
CN201811433526.3 | 2018-11-28 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/173,272 Continuation US11344810B2 (en) | 2018-11-28 | 2021-02-11 | Drift method and apparatus for virtual vehicle in virtual world and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020108236A1 true WO2020108236A1 (zh) | 2020-06-04 |
Family
ID=65793303
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/115519 WO2020108236A1 (zh) | 2018-11-28 | 2019-11-05 | 虚拟世界中的虚拟车辆漂移方法、装置及存储介质 |
Country Status (6)
Country | Link |
---|---|
US (2) | US11344810B2 (zh) |
JP (1) | JP7147041B2 (zh) |
KR (1) | KR20210053990A (zh) |
CN (2) | CN109513210B (zh) |
SG (1) | SG11202102113WA (zh) |
WO (1) | WO2020108236A1 (zh) |
Families Citing this family (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109513210B (zh) | 2018-11-28 | 2021-02-12 | 腾讯科技(深圳)有限公司 | 虚拟世界中的虚拟车辆漂移方法、装置及存储介质 |
CN109806590B (zh) * | 2019-02-21 | 2020-10-09 | 腾讯科技(深圳)有限公司 | 对象控制方法和装置、存储介质及电子装置 |
CN109999499B (zh) * | 2019-04-04 | 2021-05-14 | 腾讯科技(深圳)有限公司 | 对象控制方法和装置、存储介质及电子装置 |
CN110052027B (zh) * | 2019-04-26 | 2021-12-28 | 腾讯科技(深圳)有限公司 | 虚拟场景中的虚拟对象控制方法、装置、设备及存储介质 |
CN110124307B (zh) * | 2019-04-26 | 2021-04-09 | 腾讯科技(深圳)有限公司 | 操作控制方法和装置、存储介质及电子装置 |
CN110013671B (zh) | 2019-05-05 | 2020-07-28 | 腾讯科技(深圳)有限公司 | 动作执行方法和装置、存储介质及电子装置 |
CN110201387B (zh) | 2019-05-17 | 2021-06-25 | 腾讯科技(深圳)有限公司 | 对象控制方法和装置、存储介质及电子装置 |
CN110090443B (zh) * | 2019-05-24 | 2021-03-16 | 腾讯科技(深圳)有限公司 | 虚拟对象控制方法和装置、存储介质及电子装置 |
CN110170169B (zh) * | 2019-06-05 | 2021-03-26 | 腾讯科技(深圳)有限公司 | 信息的展示方法和装置、存储介质、电子装置 |
CN111035928B (zh) * | 2019-11-19 | 2021-05-11 | 腾讯科技(深圳)有限公司 | 行进路线的显示方法和装置、存储介质及电子装置 |
CN111617476A (zh) * | 2020-04-30 | 2020-09-04 | 珠海网易达电子科技发展有限公司 | 控制虚拟物运动的方法、装置、电子设备和计算机存储介质 |
EP4176418A1 (en) * | 2020-07-01 | 2023-05-10 | Duncan Yo-Yo Go, LLC. | Connected yo-yo |
CN112331018B (zh) * | 2020-11-04 | 2023-09-26 | 浙江天行健智能科技有限公司 | 一种方向盘模拟系统及其建模方法 |
CN112933593A (zh) * | 2021-02-24 | 2021-06-11 | 网易(杭州)网络有限公司 | 显示控制方法、装置、电子设备及存储介质 |
CN113457132B (zh) * | 2021-06-23 | 2024-03-01 | 北京达佳互联信息技术有限公司 | 对象投放方法、装置、电子设备及存储介质 |
CN113694526B (zh) * | 2021-09-18 | 2023-06-09 | 腾讯科技(深圳)有限公司 | 虚拟对象的控制方法、系统、装置、设备、介质及程序 |
CN114506328B (zh) * | 2022-01-29 | 2024-05-14 | 重庆长安汽车股份有限公司 | 车辆漂移控制系统的人机交互的系统、方法及车辆 |
CN117122909A (zh) * | 2022-05-20 | 2023-11-28 | 腾讯科技(成都)有限公司 | 虚拟场景中的虚拟车辆控制方法、装置及电子设备 |
CN116983651A (zh) * | 2022-05-20 | 2023-11-03 | 腾讯科技(成都)有限公司 | 虚拟车辆的控制方法、装置、设备及存储介质 |
CN117122905A (zh) * | 2022-05-20 | 2023-11-28 | 腾讯科技(成都)有限公司 | 虚拟车辆的控制方法、装置、设备及计算机可读存储介质 |
CN117122908A (zh) * | 2022-05-20 | 2023-11-28 | 腾讯科技(成都)有限公司 | 虚拟车辆的控制方法、装置、设备及存储介质 |
CN117122925A (zh) * | 2022-05-20 | 2023-11-28 | 腾讯科技(成都)有限公司 | 虚拟车辆的控制方法、装置、设备及介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008256737A (ja) * | 2007-03-30 | 2008-10-23 | Sega Corp | 移動体制御装置 |
CN104054118A (zh) * | 2012-01-13 | 2014-09-17 | 脉冲函数F6有限公司 | 带有三维惯性传感器的远程信息处理系统 |
CN105718065A (zh) * | 2016-01-27 | 2016-06-29 | 北京交通大学 | 车路协同环境下的交互式视景仿真系统 |
CN109513210A (zh) * | 2018-11-28 | 2019-03-26 | 腾讯科技(深圳)有限公司 | 虚拟世界中的虚拟车辆漂移方法、装置及存储介质 |
Family Cites Families (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3165768B2 (ja) * | 1993-10-21 | 2001-05-14 | 株式会社ナムコ | ビデオゲーム装置 |
US5755620A (en) * | 1995-04-03 | 1998-05-26 | Kabushiki Kaisha Sega Enterprises | Game system and data processing method thereof |
JP3747449B2 (ja) * | 1996-07-25 | 2006-02-22 | 株式会社セガ | ゲームの処理方法、ゲーム装置、画像処理装置及び画像処理方法並びに記録媒体 |
JP2001246165A (ja) * | 2000-03-07 | 2001-09-11 | Konami Co Ltd | ゲーム機用回転操作装置 |
US9229540B2 (en) * | 2004-01-30 | 2016-01-05 | Electronic Scripting Products, Inc. | Deriving input from six degrees of freedom interfaces |
JP3769286B2 (ja) * | 2004-09-09 | 2006-04-19 | コナミ株式会社 | 画像生成装置、荷重表示方法、ならびに、プログラム |
JP4510739B2 (ja) | 2005-09-29 | 2010-07-28 | 富士重工業株式会社 | 車両挙動推定予測装置および車両安定化制御システム |
JP5051500B2 (ja) * | 2006-05-17 | 2012-10-17 | 株式会社セガ | 情報処理装置およびその装置におけるスキール音生成プログラムと生成方法 |
JP2010005128A (ja) | 2008-06-26 | 2010-01-14 | Sega Corp | ゲーム装置およびプログラム |
JP5563790B2 (ja) | 2009-06-23 | 2014-07-30 | 任天堂株式会社 | ゲーム装置およびゲームプログラム |
JP5986738B2 (ja) * | 2011-11-30 | 2016-09-06 | 株式会社スクウェア・エニックス | ビデオゲーム処理装置、およびビデオゲーム処理プログラム |
JP2016120131A (ja) | 2014-12-25 | 2016-07-07 | 株式会社バンダイナムコエンターテインメント | ゲームシステム及びサーバ |
US9687741B1 (en) * | 2015-03-10 | 2017-06-27 | Kabam, Inc. | System and method for providing separate drift and steering controls |
JP6869692B2 (ja) * | 2016-10-19 | 2021-05-12 | 任天堂株式会社 | ゲームプログラム、ゲーム処理方法、ゲームシステム、およびゲーム装置 |
CN106861186B (zh) * | 2017-01-24 | 2019-01-22 | 腾讯科技(深圳)有限公司 | 游戏应用中的对象控制方法和装置 |
WO2018216078A1 (ja) * | 2017-05-22 | 2018-11-29 | 任天堂株式会社 | ゲームプログラム、情報処理装置、情報処理システム、および、ゲーム処理方法 |
CN110662587B (zh) * | 2017-05-22 | 2024-01-23 | 任天堂株式会社 | 游戏程序、信息处理装置、信息处理系统以及游戏处理方法 |
JP6921193B2 (ja) * | 2017-05-22 | 2021-08-18 | 任天堂株式会社 | ゲームプログラム、情報処理装置、情報処理システム、および、ゲーム処理方法 |
CN109491579B (zh) * | 2017-09-12 | 2021-08-17 | 腾讯科技(深圳)有限公司 | 对虚拟对象进行操控的方法和装置 |
CN108536350B (zh) * | 2018-03-12 | 2021-01-26 | 网易(杭州)网络有限公司 | 虚拟对象控制方法和设备 |
CN108635841B (zh) * | 2018-03-27 | 2021-08-10 | 网易(杭州)网络有限公司 | 一种竞速游戏中控制载具的方法及装置 |
CN108744527B (zh) * | 2018-03-27 | 2021-11-12 | 网易(杭州)网络有限公司 | 游戏中虚拟载具的控制方法、装置和计算机可读存储介质 |
CN108553893B (zh) * | 2018-04-28 | 2021-11-16 | 网易(杭州)网络有限公司 | 赛车游戏中车辆转向的控制方法和装置 |
JP6935361B2 (ja) * | 2018-05-02 | 2021-09-15 | 任天堂株式会社 | 情報処理プログラム、情報処理装置、情報処理システム、および情報処理方法 |
JP2019193742A (ja) * | 2018-05-02 | 2019-11-07 | 任天堂株式会社 | 情報処理プログラム、情報処理装置、情報処理システム、および情報処理方法 |
CN112074331A (zh) * | 2018-05-02 | 2020-12-11 | 任天堂株式会社 | 信息处理程序、信息处理装置、信息处理系统以及信息处理方法 |
CN108635861B (zh) * | 2018-05-18 | 2022-04-22 | 腾讯科技(深圳)有限公司 | 控制应用中车辆的方法、装置、设备及存储介质 |
CN109806586B (zh) * | 2019-02-28 | 2022-02-22 | 腾讯科技(深圳)有限公司 | 游戏辅助功能的开启方法、装置、设备及可读存储介质 |
-
2018
- 2018-11-28 CN CN201811433526.3A patent/CN109513210B/zh active Active
- 2018-11-28 CN CN202110159023.7A patent/CN112755531B/zh active Active
-
2019
- 2019-11-05 SG SG11202102113WA patent/SG11202102113WA/en unknown
- 2019-11-05 JP JP2021504418A patent/JP7147041B2/ja active Active
- 2019-11-05 KR KR1020217010649A patent/KR20210053990A/ko not_active Application Discontinuation
- 2019-11-05 WO PCT/CN2019/115519 patent/WO2020108236A1/zh active Application Filing
-
2021
- 2021-02-11 US US17/173,272 patent/US11344810B2/en active Active
-
2022
- 2022-02-16 US US17/672,968 patent/US11701589B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008256737A (ja) * | 2007-03-30 | 2008-10-23 | Sega Corp | 移動体制御装置 |
CN104054118A (zh) * | 2012-01-13 | 2014-09-17 | 脉冲函数F6有限公司 | 带有三维惯性传感器的远程信息处理系统 |
CN105718065A (zh) * | 2016-01-27 | 2016-06-29 | 北京交通大学 | 车路协同环境下的交互式视景仿真系统 |
CN109513210A (zh) * | 2018-11-28 | 2019-03-26 | 腾讯科技(深圳)有限公司 | 虚拟世界中的虚拟车辆漂移方法、装置及存储介质 |
Non-Patent Citations (1)
Title |
---|
NON-OFFICIAL TRANSLATION: SHARK MOTHER MOBILE GAMES VIDEO: "Non-official translation: QQ speed, advanced drift teaching, new fast drift CWW spray", HTTPS://WWW.BILIBILI.COM/VIDEO/AV22230397?FROM=SEARCH&SEID=14432702735337081326, 17 April 2018 (2018-04-17), DOI: 20200107153223X * |
Also Published As
Publication number | Publication date |
---|---|
US11701589B2 (en) | 2023-07-18 |
US20210187393A1 (en) | 2021-06-24 |
CN112755531B (zh) | 2022-11-18 |
CN109513210B (zh) | 2021-02-12 |
US20220168645A1 (en) | 2022-06-02 |
CN112755531A (zh) | 2021-05-07 |
SG11202102113WA (en) | 2021-04-29 |
KR20210053990A (ko) | 2021-05-12 |
JP2021531133A (ja) | 2021-11-18 |
CN109513210A (zh) | 2019-03-26 |
JP7147041B2 (ja) | 2022-10-04 |
US11344810B2 (en) | 2022-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020108236A1 (zh) | 虚拟世界中的虚拟车辆漂移方法、装置及存储介质 | |
US11691079B2 (en) | Virtual vehicle control method in virtual scene, computer device, and storage medium | |
US11565181B2 (en) | Virtual object control method and apparatus, computer device, and storage medium | |
US11684856B2 (en) | Assist function enabling method and apparatus, device, and readable storage medium | |
WO2021155694A1 (zh) | 在虚拟环境中驾驶载具的方法、装置、终端及存储介质 | |
WO2021082483A1 (en) | Method and apparatus for controlling vehicle | |
WO2020125340A1 (zh) | 控制信息处理方法、装置、电子设备及存储介质 | |
WO2021017783A1 (zh) | 视角转动的方法、装置、设备及存储介质 | |
WO2022160727A1 (zh) | 组件的吸附操作方法及终端 | |
US20220291791A1 (en) | Method and apparatus for determining selected target, device, and storage medium | |
WO2022237076A1 (zh) | 虚拟对象的控制方法、装置、设备及计算机可读存储介质 | |
CN110841288B (zh) | 提示标识的消除方法、装置、终端及存储介质 | |
US20230024761A1 (en) | Method for playing videos and electronic device | |
CN113041619B (zh) | 虚拟车辆的控制方法、装置、设备及介质 | |
CN113559494A (zh) | 虚拟道具的显示方法、装置、终端及存储介质 | |
WO2024082883A1 (zh) | 虚拟对象的交互方法、装置、设备及计算机可读存储介质 | |
CN110781343B (zh) | 音乐的评论信息的显示方法、装置、设备及存储介质 | |
CN117122905A (zh) | 虚拟车辆的控制方法、装置、设备及计算机可读存储介质 | |
CN116983651A (zh) | 虚拟车辆的控制方法、装置、设备及存储介质 | |
CN117122925A (zh) | 虚拟车辆的控制方法、装置、设备及介质 | |
JP2023528119A (ja) | 仮想オブジェクトの制御方法、装置、機器及びコンピュータプログラム | |
CN114011073A (zh) | 控制载具的方法、装置、设备及计算机可读存储介质 | |
CN117482503A (zh) | 竞速虚拟环境的生成方法、装置、设备及介质 | |
CN117654062A (zh) | 虚拟角色显示方法、装置、设备及存储介质 | |
CN114377395A (zh) | 虚拟载具和虚拟对象的控制方法、装置、设备及介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19891242 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2021504418 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 20217010649 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19891242 Country of ref document: EP Kind code of ref document: A1 |