CN110496393A - Control method of motion trace and device, medium, the electronic equipment of virtual objects - Google Patents

Control method of motion trace and device, medium, the electronic equipment of virtual objects Download PDF

Info

Publication number
CN110496393A
CN110496393A CN201910775255.8A CN201910775255A CN110496393A CN 110496393 A CN110496393 A CN 110496393A CN 201910775255 A CN201910775255 A CN 201910775255A CN 110496393 A CN110496393 A CN 110496393A
Authority
CN
China
Prior art keywords
time
virtual objects
virtual
virtual scene
real
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910775255.8A
Other languages
Chinese (zh)
Other versions
CN110496393B (en
Inventor
郑文劲
陈诗莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910775255.8A priority Critical patent/CN110496393B/en
Publication of CN110496393A publication Critical patent/CN110496393A/en
Application granted granted Critical
Publication of CN110496393B publication Critical patent/CN110496393B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • A63F13/573Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using trajectories of game objects, e.g. of a golf ball according to the point of impact
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features 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/60Methods for processing data by generating or executing the game program
    • A63F2300/64Methods 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
    • A63F2300/646Methods 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 for calculating the trajectory of an object
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features 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/60Methods for processing data by generating or executing the game program
    • A63F2300/65Methods for processing data by generating or executing the game program for computing the condition of a game character
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)
  • Manipulator (AREA)

Abstract

The embodiment of the present invention is about the control method of motion trace and device of a kind of virtual objects, medium, equipment, be related to game technical field, this method comprises: according to the virtual objects in virtual scene there are time, spring number and present day analog times of the virtual scene to determine time parameter;Real-time ordinate of the virtual objects in the virtual scene is calculated according to the time parameter;According to the present day analog time, there are the default lateral displacement of time and the virtual objects in the virtual scene to calculate real-time lateral coordinates of the virtual objects in the virtual scene;Based on the real-time lateral coordinates and the real-time longitudinal coordinate, the virtual objects are controlled in the motion profile there are in the time.The embodiment of the present invention improves the accuracy rate of motion profile control.

Description

Control method of motion trace and device, medium, the electronic equipment of virtual objects
Technical field
The present embodiments relate to game technical fields, control in particular to a kind of motion profile of virtual objects Motion profile control device, computer readable storage medium and the electronic equipment of method, virtual objects.
Background technique
In current game, many game meeting after opening the precious case in UI (User Interface, user interface) Several reward icons are jumped out in precious case, these reward icons can generate physics spring on UI, after then flying to meeting point It disappears.
It, can be by adjusting particle (Particular) parameter to go to realize in order to show the effect that reward icon jumps out.Specifically , initial position, launch angle, transmitting dynamics and the gravity of icon can be set by particIe system, then pass through game again Code realizes entire simulation process.
But on the one hand above scheme has following defects that, due to the UI particle module of most of game engine on the market It does not support to collide, so spring needs program in addition to write function, therefore a large amount of human cost and time cost can be wasted;Separately On the one hand, icon flight course under this physical analogy and the result is that temporally adding up after generate, accumulative fortune can only be passed through It calculates and obtains;Therefore, if being intended to know the position at some corresponding time point, it can only be iterated to calculate by formula and repeatedly be tied Fruit can not obtain answer by single formula operation, this to need to be tied according to simulation repeatedly when adjusting pop effect Fruit readjustment primary data is multiple, increases the fussy degree of pop effect adjustment, while also reducing the standard of pop effect Exactness.
Accordingly, it is desirable to provide a kind of control method of motion trace and device of new virtual objects.
It should be noted that the information in the invention of above-mentioned background technology part is only used for reinforcing the reason to background of the invention Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The purpose of the present invention is to provide a kind of control method of motion trace of virtual objects, the motion profile of virtual objects Control device, computer readable storage medium and electronic equipment, and then overcome at least to a certain extent due to the relevant technologies Limitation and defect caused by pop effect the lower problem of accuracy.
According to one aspect of the disclosure, a kind of control method of motion trace of virtual objects is provided, comprising:
According to the virtual objects in virtual scene there are the time, spring number and the virtual scene it is current Simulated time determines time parameter;
Real-time ordinate of the virtual objects in the virtual scene is calculated according to the time parameter;
According to the present day analog time, the default cross there are time and the virtual objects in the virtual scene Real-time lateral coordinates of the virtual objects in the virtual scene are calculated to displacement;
Based on the real-time lateral coordinates and the real-time longitudinal coordinate, the virtual objects are controlled in the presence of described Interior motion profile.
In a kind of exemplary embodiment of the disclosure, according to the virtual objects in virtual scene there are the time, The present day analog time of spring number and the virtual scene determines that time parameter includes:
Calculate the virtual scene the present day analog time and the virtual objects in virtual scene there are the time Ratio;
The present day analog time is carried out by quadrature operation there are the ratio of time and the spring number obtains with described The time parameter.
In a kind of exemplary embodiment of the disclosure, according to the virtual objects in virtual scene there are the time, The present day analog time of spring number and the virtual scene determines time parameter further include:
Offset is configured according to the motion profile that the default lateral displacement is the virtual objects;
Calculate the first difference between the present day analog time of the virtual scene and the offset and described virtual Object in virtual scene there are the second differences between time and the offset;
The ratio of first difference Yu second difference is calculated, and to first difference and second difference Ratio and the spring number carry out quadrature operation and obtain the time parameter.
In a kind of exemplary embodiment of the disclosure, the virtual objects are calculated in the void according to the time parameter Real-time ordinate in quasi- scene includes:
Quadrature operation is carried out to the time parameter and default value and obtains the first operation result, and to first operation As a result it carries out cosine and cosine value is calculated;
According to the spring number and it is described there are the times to configure attenuation parameter, and to the attenuation parameter and described The value that rounds up of time parameter carries out power operation and obtains the first power operation value;
Absolute value and the first power operation value to the cosine value carry out quadrature operation and obtain the real-time ordinate.
In a kind of exemplary embodiment of the disclosure, the virtual objects are calculated in the void according to the time parameter Real-time ordinate in quasi- scene further include:
Jumping height is preset according to the spring number and described configure there are the time;
Quadrature operation is carried out to the time parameter and default value and obtains the first operation result, and to first operation As a result it carries out cosine and cosine value is calculated;
According to the spring number and it is described there are the times to configure attenuation parameter, and to the attenuation parameter and described The value that rounds up of time parameter carries out the second power operation and obtains the second power operation value;
Quadrature operation is carried out to the absolute value of the cosine value, the second power operation value and the default jumping height Obtain the real-time ordinate.
In a kind of exemplary embodiment of the disclosure, according to the present day analog time, the time parameter and institute Virtual objects are stated to preset lateral displacement in the virtual scene to calculate the virtual objects real-time in the virtual scene Lateral coordinates include:
The present day analog time and the time parameter are carried out that quotient's operation is asked to obtain the second operation result;
Lateral displacement is preset in the virtual scene to second operation result and the virtual objects and carries out quadrature Operation obtains real-time lateral coordinates of the virtual objects in the virtual scene.
In a kind of exemplary embodiment of the disclosure, according to the present day analog time, the time parameter and institute Virtual objects are stated to preset lateral displacement in the virtual scene to calculate the virtual objects real-time in the virtual scene Lateral coordinates include:
According to it is described there are the time, the default lateral displacement and the spring number configure preset air Resistance Value;
The present day analog time and the time parameter are carried out that quotient's operation is asked to obtain the second operation result;
Power operation is carried out to second operation result and the Air Drag values and obtains third power operation value;
Lateral displacement is preset in the virtual scene to the third power operation value and the virtual objects and carries out quadrature Operation obtains real-time lateral coordinates of the virtual objects in the virtual scene.
According to one aspect of the disclosure, a kind of motion profile control device of virtual objects is provided, comprising:
Time parameter determining module, for according to the virtual objects in virtual scene there are the time, spring number And the present day analog time of the virtual scene determines time parameter;
Ordinate computing module, for calculating the virtual objects in the virtual scene according to the time parameter Real-time ordinate;
Abscissa computing module, for according to the present day analog time, there are times and the virtual objects in institute It states the default lateral displacement in virtual scene and calculates real-time lateral coordinates of the virtual objects in the virtual scene;
Motion profile control module controls institute for being based on the real-time lateral coordinates and the real-time longitudinal coordinate Virtual objects are stated in the motion profile there are in the time.
According to one aspect of the disclosure, a kind of computer readable storage medium is provided, computer program is stored thereon with, The computer program realizes the control method of motion trace of virtual objects described in above-mentioned any one when being executed by processor.
According to one aspect of the disclosure, a kind of electronic equipment is provided, comprising:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to execute void described in above-mentioned any one via the executable instruction is executed The control method of motion trace of quasi- object.
A kind of control method of motion trace of virtual objects of the embodiment of the present invention, on the one hand, by being existed according to virtual objects In virtual scene there are time, spring number and present day analog times of virtual scene to determine time parameter;Further according to when Between parameter calculate real-time ordinate of the virtual objects in virtual scene;And according to the present day analog time, there are time and void Default lateral displacement of the quasi- object in virtual scene calculates real-time lateral coordinates of the virtual objects in virtual scene;Last base In real-time lateral coordinates and real-time longitudinal coordinate, virtual objects are controlled there are the motion profiles in the time;It solves existing When the position for needing to know some corresponding time point in technology, it can only be iterated to calculate by formula and repeatedly be obtained as a result, can not lead to It crosses single formula operation and obtains answer, so that needing to adjust again according to analog result repeatedly when adjusting pop effect Whole primary data is multiple, increases the fussy degree of pop effect adjustment, while the accuracy for also reducing pop effect is asked Topic reduces to virtual objects there are the fussy degrees of the motion profile in the time control, while also improving fortune The accuracy of dynamic TRAJECTORY CONTROL;On the other hand, the UI particle in the prior art due to most of game engine on the market is solved Module is not supported to collide, thus spring need program in addition to write function, therefore can waste a large amount of human cost and time at This problem of;In another aspect, by according to virtual objects in virtual scene there are times, spring number and virtual scene The present day analog time determine time parameter;Real-time vertical seat of the virtual objects in virtual scene is calculated further according to time parameter Mark;And it is calculated according to present day analog time, the default lateral displacement that there are times and virtual objects in virtual scene virtual Real-time lateral coordinates of the object in virtual scene, improve real-time ordinate and real-time abscissa and computational accuracy, into And the accuracy controlled the motion profile of virtual objects is further improved, and then improve user experience.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.It should be evident that the accompanying drawings in the following description is only the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 schematically shows a kind of by manually adjusting jumping out of beating that key frame obtains of example embodiment according to the present invention The exemplary diagram of effect.
Fig. 2 schematically shows the control method of the motion profile of a kind of virtual objects of example embodiment according to the present invention Flow chart.
Fig. 3 schematically shows a kind of Application Scenarios-Example figure of example embodiment according to the present invention.
Fig. 4 schematically shows a kind of change curve of ordinate of example embodiment according to the present invention.
Fig. 5 schematically shows the change curve of another ordinate of example embodiment according to the present invention.
Fig. 6 and Fig. 7 schematically shows one kind of example embodiment according to the present invention in different time parameter and difference The change curve of ordinate when attenuation parameter.
Fig. 8 schematically shows the another kind of example embodiment according to the present invention according to the virtual objects in virtual scene There are the present day analog times of time, spring number and the virtual scene to determine the method flow diagram of time parameter.
Fig. 9 schematically shows a kind of virtual objects of example embodiment according to the present invention there are the motion profiles in the time Exemplary diagram.
Figure 10 schematically shows the another of example embodiment according to the present invention and calculates the void according to the time parameter The method flow diagram of quasi- real-time ordinate of the object in the virtual scene.
Figure 11 schematically shows another virtual objects of example embodiment according to the present invention there are the movements in the time The exemplary diagram of track.
Figure 12 schematically shows the another kind of basic open example embodiment according to the present day analog time, the time Parameter and the virtual objects preset lateral displacement in the virtual scene and calculate the virtual objects in the virtual field The method flow diagram of real-time lateral coordinates in scape.
The variation that Figure 13 schematically shows a kind of real-time lateral coordinates of virtual objects of basic open example embodiment is bent Line chart.
Figure 14 schematically shows the change curve of another ordinate of example embodiment according to the present invention.
Figure 15 schematically shows another virtual objects of example embodiment according to the present invention there are the movements in the time The exemplary diagram of track.
The method that Figure 16 schematically shows a kind of example embodiment through the invention of example embodiment according to the present invention obtains The effect exemplary diagram arrived.
Figure 17 schematically shows the motion profile control device of a kind of virtual objects of example embodiment according to the present invention Block diagram.
Figure 18 schematically shows a kind of movement rail for realizing above-mentioned virtual objects of example embodiment according to the present invention The electronic equipment of mark control method.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the present invention will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.In the following description, it provides perhaps More details fully understand embodiments of the present invention to provide.It will be appreciated, however, by one skilled in the art that can It is omitted with practicing technical solution of the present invention one or more in the specific detail, or others side can be used Method, constituent element, device, step etc..In other cases, be not shown in detail or describe known solution to avoid a presumptuous guest usurps the role of the host and So that each aspect of the present invention thickens.
In addition, attached drawing is only schematic illustrations of the invention, it is not necessarily drawn to scale.Identical attached drawing mark in figure Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place These functional entitys are realized in reason device device and/or microcontroller device.
In a kind of scheme of effect that performance reward icon jumps out, key frame realization can be played by manually adjusting.Tool Body, refering to what is shown in Fig. 1, if it is desired to exchanging the effect bounced after icon is fallen, Ke Yixuan for fewer program work amount It selects and motion profile is planned by way of curve in advance, it is then fixed to play.But it can make to own in this way The motion profile of treasure be it is relatively-stationary, to make can be relatively difficult than more random spring, limit game performance effect Fruit.Also, also need to prepare the curve of multiple versions in some cases, it is bent that this makes the fine arts need to consume a large amount of time adjustment Line is to get a desired effect.
A kind of control method of motion trace of virtual objects is provided firstly in this example embodiment, this method can transport Row can also be run and device end in server, server cluster or Cloud Server etc.;Certainly, those skilled in the art Method of the invention can be run in other platforms according to demand, does not do particular determination to this in the present exemplary embodiment.With reference to Shown in Fig. 2, the control method of motion trace of the virtual objects be may comprise steps of:
In step S210, according to the virtual objects in virtual scene there are times, spring number and described The present day analog time of virtual scene determines time parameter.
In step S220, it is real-time vertical in the virtual scene that the virtual objects are calculated according to the time parameter Coordinate.
In step S230, according to the present day analog time, there are times and the virtual objects described virtual Default lateral displacement in scene calculates real-time lateral coordinates of the virtual objects in the virtual scene.
In step S240, it is based on the real-time lateral coordinates and the real-time longitudinal coordinate, it is described virtual right to control As in the motion profile there are in the time.
In the control method of motion trace of above-mentioned virtual objects, on the one hand, by according to virtual objects in virtual scene There are time, spring number and present day analog times of virtual scene to determine time parameter;It is calculated further according to time parameter Real-time ordinate of the virtual objects in virtual scene;And according to the present day analog time, there are times and virtual objects in void Default lateral displacement in quasi- scene calculates real-time lateral coordinates of the virtual objects in virtual scene;Finally based on lateral in real time Coordinate and real-time longitudinal coordinate, control virtual objects are there are the motion profiles in the time;It solves in the prior art when need It is to be understood that the position at some corresponding time point, can only be iterated to calculate by formula and repeatedly be obtained as a result, can not pass through single formula Operation obtains answer, so that needing to readjust primary data according to analog result repeatedly when adjusting pop effect Repeatedly, the fussy degree of pop effect adjustment is increased, while the problem of also reduce the accuracy of pop effect, reduced pair Virtual objects also improve motion profile control there are the fussy degrees of the motion profile in the time control Accuracy;On the other hand, it solves in the prior art since the UI particle module of most of game engine on the market is not supported to touch The problem of hitting, needing program in addition to write function so bouncing, therefore a large amount of human cost and time cost can be wasted;Further Aspect, by according to virtual objects in virtual scene there are the time, spring number and virtual scene present day analog when Between determine time parameter;Real-time ordinate of the virtual objects in virtual scene is calculated further according to time parameter;And according to current Simulated time, the default lateral displacement that there are times and virtual objects in virtual scene calculate virtual objects in virtual scene In real-time lateral coordinates, improve real-time ordinate and real-time abscissa and computational accuracy, and then further improve Accuracy that the motion profile of virtual objects is controlled, and then improve user experience.
Hereinafter, by conjunction with attached drawing to each step in the control method of motion trace of virtual objects in illustrated embodiments of the invention Suddenly detailed explanation and explanation are carried out.
Firstly, explaining and illustrating in conjunction with application scenarios of the Fig. 3 to illustrated embodiments of the invention.In order to preferably mention Sense of accomplishment when player obtains reward is risen, goes to express wherein needing to use some dynamic effects.Refering to what is shown in Fig. 3, the crystal meeting jumped out It is scattered in different location, the position of end point also can be different due to the difference of article.Due to most of game engine on the market UI particle emitter is free of collision on the ground bouncing function.Therefore, in order to reduce development of games workload, software operand, therefore This programme is had developed, is just equal to by using simple displacement formula and completes the physical effects such as air drag, gravity and collision Exploitation.Then, then by the way that the time is substituting to formula, icon corresponding position is obtained.As long as giving an icon in interface Motion profile initial position and final position, the physical motion track an of object can be simulated by the formula.
Further, the Virtual Space in game can be thought of as the world without rebound decaying and air drag.Wherein, Lengthwise position coordinate of the virtual objects in Virtual Space can be understood as: Y=Abs (Cos (Time));Further, in order to Facilitate calculating that pi can be used to zoom in and out to there are the times, so that Y-axis displacement frequency becomes 1.Specifically, scaling Later Y-coordinate can be as follows: Y=Abs (Cos (Time*Pi)), and specific change curve can be with reference to shown in Fig. 4. Wherein, Abs () indicates signed magnitude arithmetic(al);Cos () indicates that cosine calculates;Pi indicates pi, and value can be 3.14159, but This value is originally infinite decimal, has very big difference according to the different decimal bit lengths of computer hardware.
Since virtual objects are there are limited time, in order to can make virtual objects within there are the time by Occur to the motion profile of disappearance seeming more smooth, attenuation parameter can be added during the change in displacement of ordinate Restitution, Y-coordinate can be as follows:
Y=abs (Cos (Time*Pi)) * (Restitution^Round (Time));
Wherein, ^ is power operation symbol, such as: 2^2=22=4,2^3=23=8;Round () be round up, such as: Round (1.3)=1, Round (2.6)=3;Restitution is attenuation parameter.For example, after adding attenuation parameter, specifically Curve graph can be with reference to shown in Fig. 5.
In step S210, according to the virtual objects in virtual scene there are times, spring number and described The present day analog time of virtual scene determines time parameter.
In this exemplary embodiment, firstly, calculating the present day analog time of the virtual scene and the virtual objects exist In virtual scene there are the ratios of time;Secondly, to the present day analog time with it is described there are the ratio of time with it is described Spring number carries out quadrature operation and obtains the time parameter.Specifically:
TimeCount=(Time/TimeBase) * (0.5+Jump);
Wherein, TimeCount is time parameter, and Time is the present day analog time of virtual scene;TimeBase is virtual Object in virtual scene there are the time (such as can be at the time of treasure is jumped out from precious case with treasure disappear at the time of it Between difference);Jump is virtual objects there are the spring numbers in the time (such as can be treasure from precious case and jump out to treasured Number of jumping between object disappearance).Herein it should be added that, the unit of Time and TimeBase can the second, can also To be millisecond, there is no special restriction on this for this example.Also, for ease of calculation, still due to Time and TimeBase It is identical, therefore scaling appropriate can be carried out to it.
In step S220, it is real-time vertical in the virtual scene that the virtual objects are calculated according to the time parameter Coordinate.
In this exemplary embodiment, firstly, carrying out quadrature operation to the time parameter and default value obtains the first fortune It calculates as a result, and cosine value is calculated to first operation result progress cosine;Secondly, according to the spring number and institute State that there are the times to configure attenuation parameter, and to the value progress power operation that rounds up of the attenuation parameter and the time parameter Obtain the first power operation value;It is obtained finally, carrying out quadrature operation with the first power operation value to the absolute value of the cosine value The real-time ordinate.Specifically:
Y=Abs (Cos (TimeCount*Pi)) * (Restitution^Round (TimeCount);
Wherein, Y be real-time ordinate, wherein ^ be power operation symbol, Round () be round up, such as: Round (1.3)=1, (2.6)=3 Round;Restitution is attenuation parameter.Specifically, with the variation of present day analog time, it is real When ordinate change curve can be with reference to shown in Fig. 6 and Fig. 7.Wherein, in Fig. 6, TimeBase=3, Jump=2, Restitution=0.7;In Fig. 7, TimeBase=0.5, Jump=3, Restitution=0.5.
In step S230, according to the present day analog time, there are times and the virtual objects described virtual Default lateral displacement in scene calculates real-time lateral coordinates of the virtual objects in the virtual scene.
In this exemplary embodiment, firstly, to the present day analog time carrying out that quotient's operation is asked to obtain with the time parameter To the second operation result;Secondly, being preset laterally in the virtual scene to second operation result and the virtual objects Displacement carries out quadrature operation, obtains real-time lateral coordinates of the virtual objects in the virtual scene.Specifically:
X=(Time/TimeBase) * DistanceX;
Wherein, X is real-time lateral coordinates, and DistanceX is default lateral displacement.
In step S240, it is based on the real-time lateral coordinates and the real-time longitudinal coordinate, it is described virtual right to control As in the motion profile there are in the time.
Fig. 8 schematically shows the another kind of basic open example embodiment according to the virtual objects in virtual scene The method flow diagram of time parameter is determined there are the present day analog time of time, spring number and the virtual scene.With reference to Shown in Fig. 8, according to the virtual objects in virtual scene there are the time, spring number and the virtual scene it is current Simulated time determines that time parameter may include step S810- step S830, is described in detail below.
In step S810, offset is configured according to the motion profile that the default lateral displacement is the virtual objects Amount.
In step S820, it is first poor between the present day analog time of the virtual scene and the offset to calculate Value and the virtual objects in virtual scene there are the second differences between time and the offset.
In step S830, calculate the ratio of first difference and second difference, and to first difference and The ratio of second difference and the spring number carry out quadrature operation and obtain the time parameter.
Hereinafter, step S810- step S830 is explained and is illustrated.Specifically, TimeCount=(Time- YChange)/(TimeBase-YChange)*(0.5+Jump).Wherein, Ychange is motion profile configuration offset, also, YChang is curvilinear translation displacement, rather than object translation displacement, and curve X-axis is the time, and unit is consistent.It is shown in Fig. 8 Embodiment in, by configuring offset according to presetting the motion profile that lateral displacement is virtual objects, icon can be made (empty Quasi- object) in rigid start, motion profile is that first obliquely upward then movement is just fallen.Specifically, when increase offset with Afterwards, virtual objects there are the motion profiles in the time can be with reference to shown in Fig. 9;Wherein, in Fig. 9, DistanceX=3, Jump=3, Restitution=0.5, Hight=10, YChange=0.2.In this way, virtual objects can be made Motion profile can be more diversified, increases interest of the player in game process, improves user experience.
Figure 10 schematically shows the another described virtual according to time parameter calculating of basic open example embodiment The method flow diagram of real-time ordinate of the object in the virtual scene.Refering to what is shown in Fig. 10, this is according to the time parameter Calculating real-time ordinate of the virtual objects in the virtual scene may include step S1010- step S1040, below It is described in detail.
In step S1010, jumping height is preset according to the spring number and described configure there are the time.
In step S1020, quadrature operation is carried out to the time parameter and default value and obtains the first operation result, and Cosine is carried out to first operation result, cosine value is calculated.
In step S1030, according to the spring number and it is described there are the times to configure attenuation parameter, and decline to described The value progress power operation that rounds up for subtracting parameter and the time parameter obtains the second power operation value.
It is high to the absolute value of the cosine value, the second power operation value and the default spring in step S1040 Degree carries out quadrature operation and obtains the real-time ordinate.
Hereinafter, will step S1010- step S1040 be explained and be illustrated.Specifically, Y=Abs (Cos (TimeCount*Pi))*(Restitution^Round(TimeCount))*Hight;Wherein, Hight is that default spring is high Degree.Specifically, with reference to shown in Figure 11, after being configured with default jumping height, virtual objects are there are the movement rails in the time Mark can be with reference to shown in Figure 11.Wherein, in Figure 11, DistanceX=3, Jump=3, Restitution=0.5, Hight =10.In this way, in the limited situation of screen ranges of terminal device, it is ensured that the final position of virtual objects exists In a certain range, the accuracy of the virtually control to the motion profile of object is further improved.
Figure 12 schematically shows the another kind of basic open example embodiment according to the present day analog time, the time Parameter and the virtual objects preset lateral displacement in the virtual scene and calculate the virtual objects in the virtual field The method flow diagram of real-time lateral coordinates in scape.With reference to shown in Figure 12, this joins according to the present day analog time, the time The several and described virtual objects preset lateral displacement in the virtual scene and calculate the virtual objects in the virtual scene In real-time lateral coordinates may include step S1210- step S1240, be described in detail below.
In step S1210, according to it is described there are the time, the default lateral displacement and the spring number configure it is pre- If Air Drag values.
In step S1220, the present day analog time and the time parameter are carried out that quotient's operation is asked to obtain the second fortune Calculate result.
In step S1230, power operation is carried out to second operation result and the Air Drag values and obtains third power Operation values.
In step S1240, cross is preset in the virtual scene to the third power operation value and the virtual objects Quadrature operation is carried out to displacement, obtains real-time lateral coordinates of the virtual objects in the virtual scene.
Hereinafter, will step S1210- step S1240 be explained and be illustrated.Specifically, X=((Time/ TimeBase)^Force)*DistanceX.Wherein, Force is above-mentioned preset air Resistance Value.Specifically, with reference to Figure 13 institute Show, after being configured with preset air resistance, the change curve of the real-time lateral coordinates of virtual objects can be with reference to shown in Figure 13. Further, Figure 14 is shown as DistanceX=5, Jump=3, Restitution=0.5, Hight=10, YChange When=0.2, the change curve of real-time ordinate.Also, when being added to after preset air resistance, virtual objects are there are the times Interior motion profile can be with reference to shown in Figure 15.In this way, the effect of puppet 3D scene depth can be realized in 2D plane, Specific effect picture can be with reference to shown in Figure 16.
Further, using the Arithmetic Expressions Using for based on the time being foundation in the embodiment of the present invention, therefore can be quickly quasi- Any time respective coordinates position is really obtained, it is multiple without accumulating operation or formula iteration.And the included spring of formula effect, do not have The support of physical impacts module can also make the effect of spring.Program is not necessarily to realize that art effect consumes extra time supplement and compile Write physical analogy module.
Also, the very strong effect of diversity can be generated by the data of random end-state, generates picture every time all It is different, allow player to feel fresh every time and be not easy to be bored with.As long as providing final position and spring number, process being direct Simulation, without repeatedly adjusting back and forth, setting settles at one go the fine arts, saves the job costs of a large amount of developments of games.By to progress Judgement adjust picture size, it might even be possible to the effect of pseudo- 3D scene depth is made in 2D plane.
Further, the embodiment of the present invention can also promote the expressive force of interface dynamic effect, reduce development cost, lower The operation consumption of dynamic effect, the degree of screaming for improving player, to effectively improve the competitiveness of product.
The disclosure additionally provides a kind of motion profile control device of virtual objects.With reference to shown in Figure 17, the virtual objects Motion profile control device may include time parameter determining module 1710, ordinate calculate mould 1720, abscissa calculate mould Block 1730 and motion profile control module 1740.Wherein:
Time parameter determining module 1710 can be used for according to the virtual objects in virtual scene there are times, bullet The present day analog time for hopping the several and described virtual scene determines time parameter.
Ordinate computing module 1720 can be used for calculating the virtual objects according to the time parameter described virtual Real-time ordinate in scene.
Abscissa computing module 1730 can be used for according to the present day analog time, there are times and described virtual right As the default lateral displacement in the virtual scene calculates real-time laterally seat of the virtual objects in the virtual scene Mark.
Motion profile control module 1740 can be used for based on the real-time lateral coordinates and the real-time longitudinal coordinate, The virtual objects are controlled in the motion profile there are in the time.
In a kind of exemplary embodiment of the disclosure, according to the virtual objects in virtual scene there are the time, The present day analog time of spring number and the virtual scene determines that time parameter includes:
Calculate the virtual scene the present day analog time and the virtual objects in virtual scene there are the time Ratio;
The present day analog time is carried out by quadrature operation there are the ratio of time and the spring number obtains with described The time parameter.
In a kind of exemplary embodiment of the disclosure, according to the virtual objects in virtual scene there are the time, The present day analog time of spring number and the virtual scene determines time parameter further include:
Offset is configured according to the motion profile that the default lateral displacement is the virtual objects;
Calculate the first difference between the present day analog time of the virtual scene and the offset and described virtual Object in virtual scene there are the second differences between time and the offset;
The ratio of first difference Yu second difference is calculated, and to first difference and second difference Ratio and the spring number carry out quadrature operation and obtain the time parameter.
In a kind of exemplary embodiment of the disclosure, the virtual objects are calculated in the void according to the time parameter Real-time ordinate in quasi- scene includes:
Quadrature operation is carried out to the time parameter and default value and obtains the first operation result, and to first operation As a result it carries out cosine and cosine value is calculated;
According to the spring number and it is described there are the times to configure attenuation parameter, and to the attenuation parameter and described The value that rounds up of time parameter carries out power operation and obtains the first power operation value;
Absolute value and the first power operation value to the cosine value carry out quadrature operation and obtain the real-time ordinate.
In a kind of exemplary embodiment of the disclosure, the virtual objects are calculated in the void according to the time parameter Real-time ordinate in quasi- scene further include:
Jumping height is preset according to the spring number and described configure there are the time;
Quadrature operation is carried out to the time parameter and default value and obtains the first operation result, and to first operation As a result it carries out cosine and cosine value is calculated;
According to the spring number and it is described there are the times to configure attenuation parameter, and to the attenuation parameter and described The value that rounds up of time parameter carries out power operation and obtains the second power operation value;
Quadrature operation is carried out to the absolute value of the cosine value, the second power operation value and the default jumping height Obtain the real-time ordinate.
In a kind of exemplary embodiment of the disclosure, according to the present day analog time, the time parameter and institute Virtual objects are stated to preset lateral displacement in the virtual scene to calculate the virtual objects real-time in the virtual scene Lateral coordinates include:
The present day analog time and the time parameter are carried out that quotient's operation is asked to obtain the second operation result;
Lateral displacement is preset in the virtual scene to second operation result and the virtual objects and carries out quadrature Operation obtains real-time lateral coordinates of the virtual objects in the virtual scene.
In a kind of exemplary embodiment of the disclosure, according to the present day analog time, the time parameter and institute Virtual objects are stated to preset lateral displacement in the virtual scene to calculate the virtual objects real-time in the virtual scene Lateral coordinates include:
According to it is described there are the time, the default lateral displacement and the spring number configure preset air Resistance Value;
The present day analog time and the time parameter are carried out that quotient's operation is asked to obtain the second operation result;
Power operation is carried out to second operation result and the Air Drag values and obtains third power operation value;
Lateral displacement is preset in the virtual scene to the third power operation value and the virtual objects and carries out quadrature Operation obtains real-time lateral coordinates of the virtual objects in the virtual scene.
The detail of each module is in corresponding virtual objects in the motion profile control device of above-mentioned virtual objects Control method of motion trace in be described in detail, therefore details are not described herein again.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description Member, but this division is not enforceable.In fact, embodiment according to the present invention, it is above-described two or more Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
In addition, although describing each step of method in the present invention in the accompanying drawings with particular order, this does not really want These steps must be executed in this particular order by asking or implying, or having to carry out step shown in whole could realize Desired result.Additional or alternative, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/ Or a step is decomposed into execution of multiple steps etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the present invention The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server, mobile terminal or network equipment etc.) executes embodiment according to the present invention Method.
In an exemplary embodiment of the present invention, a kind of electronic equipment that can be realized the above method is additionally provided.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
The electronic equipment 1800 of this embodiment according to the present invention is described referring to Figure 18.The electricity that Figure 18 is shown Sub- equipment 1800 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 18, electronic equipment 1800 is showed in the form of universal computing device.The component of electronic equipment 1800 can To include but is not limited to: at least one above-mentioned processing unit 1810, connects not homologous ray at least one above-mentioned storage unit 1820 The bus 1830 of component (including storage unit 1820 and processing unit 1810).
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 1810 Row, so that various according to the present invention described in the execution of the processing unit 1810 above-mentioned " illustrative methods " part of this specification The step of illustrative embodiments.For example, the processing unit 1810 can execute step S110 as shown in Figure 2: from source Transaction journal is read in database and by transaction journal storage into multiple first annular queues;S120: by each described Transaction journal in one circle queue is stored into the second circle queue, and the transaction journal in second circle queue is sent out It send to the thread for establishing connection with target database;Step S130: the target is written into the transaction journal by the thread Database simultaneously records the coding of log corresponding to the transaction journal being successfully written.
Storage unit 1820 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 18201 and/or cache memory unit 18202, it can further include read-only memory unit (ROM) 18203.
Storage unit 1820 can also include program/utility with one group of (at least one) program module 18205 18204, such program module 18205 includes but is not limited to: operating system, one or more application program, other programs It may include the realization of network environment in module and program data, each of these examples or certain combination.
Bus 1830 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 1800 can also be with one or more external equipments 1900 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 1800 communicate, and/or with make The electronic equipment 1800 can with it is one or more of the other calculating equipment be communicated any equipment (such as router, modulation Demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 1850.Also, electronic equipment 1800 Network adapter 1860 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public affairs can also be passed through Common network network, such as internet) communication.As shown, network adapter 1860 passes through its of bus 1830 and electronic equipment 1800 The communication of its module.It should be understood that although not shown in the drawings, other hardware and/or software can be used in conjunction with electronic equipment 1800 Module, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic Tape drive and data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the present invention The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server, terminal installation or network equipment etc.) executes embodiment according to the present invention Method.
In an exemplary embodiment of the present invention, a kind of computer readable storage medium is additionally provided, energy is stored thereon with Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also In the form of being embodied as a kind of program product comprising program code, when described program product is run on the terminal device, institute Program code is stated for executing the terminal device described in above-mentioned " illustrative methods " part of this specification according to this hair The step of bright various illustrative embodiments.
The program product for realizing the above method of embodiment according to the present invention can use Portable, compact Disk read-only memory (CD-ROM) and including program code, and can be run on terminal device, such as PC.However, Program product of the invention is without being limited thereto, and in this document, readable storage medium storing program for executing, which can be, any includes or storage program has Shape medium, the program can be commanded execution system, device or device use or in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Those skilled in the art will readily occur to of the invention its after considering specification and the invention invented here of practice His embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Adaptive change follow general principle of the invention and the common knowledge in the art do not invented including the present invention or Conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by claim It points out.

Claims (10)

1. a kind of control method of motion trace of virtual objects characterized by comprising
According to the virtual objects in virtual scene there are the time, spring number and the virtual scene present day analog Time determines time parameter;
Real-time ordinate of the virtual objects in the virtual scene is calculated according to the time parameter;
According to the present day analog time, the default lateral position that there are times and the virtual objects in the virtual scene Move the real-time lateral coordinates for calculating the virtual objects in the virtual scene;
Based on the real-time lateral coordinates and the real-time longitudinal coordinate, controlling the virtual objects, there are in the time described Motion profile.
2. the control method of motion trace of virtual objects according to claim 1, which is characterized in that according to described virtual right Time parameter packet is determined as there are the present day analog times of time, spring number and the virtual scene in virtual scene It includes:
Calculate the virtual scene the present day analog time and the virtual objects in virtual scene there are the ratios of time;
To the present day analog time and described there are the ratio of time and the spring numbers to carry out described in quadrature operation obtains Time parameter.
3. the control method of motion trace of virtual objects according to claim 1, which is characterized in that according to described virtual right To determine the time parameter also as there are the present day analog times of time, spring number and the virtual scene in virtual scene Include:
Offset is configured according to the motion profile that the default lateral displacement is the virtual objects;
Calculate the first difference between the present day analog time of the virtual scene and the offset and the virtual objects In virtual scene there are the second differences between time and the offset;
The ratio of first difference Yu second difference is calculated, and to the ratio of first difference and second difference Quadrature operation, which is carried out, with the spring number obtains the time parameter.
4. the control method of motion trace of virtual objects according to claim 1, which is characterized in that joined according to the time Number calculates real-time ordinate of the virtual objects in the virtual scene
Quadrature operation is carried out to the time parameter and default value and obtains the first operation result, and to first operation result It carries out cosine and cosine value is calculated;
According to the spring number and it is described there are the times to configure attenuation parameter, and to the attenuation parameter and the time The value that rounds up of parameter carries out power operation and obtains the first power operation value;
Absolute value and the first power operation value to the cosine value carry out quadrature operation and obtain the real-time ordinate.
5. the control method of motion trace of virtual objects according to claim 1, which is characterized in that joined according to the time Number calculates real-time ordinate of the virtual objects in the virtual scene further include:
Jumping height is preset according to the spring number and described configure there are the time;
Quadrature operation is carried out to the time parameter and default value and obtains the first operation result, and to first operation result It carries out cosine and cosine value is calculated;
According to the spring number and it is described there are the times to configure attenuation parameter, and to the attenuation parameter and the time The value that rounds up of parameter carries out power operation and obtains the second power operation value;
Quadrature operation is carried out to the absolute value of the cosine value, the second power operation value and the default jumping height to obtain The real-time ordinate.
6. the control method of motion trace of virtual objects according to claim 1, which is characterized in that according to the current mould It is described virtual right that pseudotime, the time parameter and the virtual objects preset lateral displacement calculating in the virtual scene As the real-time lateral coordinates in the virtual scene include:
The present day analog time and the time parameter are carried out that quotient's operation is asked to obtain the second operation result;
Lateral displacement is preset in the virtual scene to second operation result and the virtual objects and carries out quadrature operation, Obtain real-time lateral coordinates of the virtual objects in the virtual scene.
7. the control method of motion trace of virtual objects according to claim 1, which is characterized in that according to the current mould It is described virtual right that pseudotime, the time parameter and the virtual objects preset lateral displacement calculating in the virtual scene As the real-time lateral coordinates in the virtual scene include:
According to it is described there are the time, the default lateral displacement and the spring number configure preset air Resistance Value;
The present day analog time and the time parameter are carried out that quotient's operation is asked to obtain the second operation result;
Power operation is carried out to second operation result and the Air Drag values and obtains third power operation value;
Lateral displacement is preset in the virtual scene to the third power operation value and the virtual objects and carries out quadrature operation, Obtain real-time lateral coordinates of the virtual objects in the virtual scene.
8. a kind of motion profile control device of virtual objects characterized by comprising
Time parameter determining module, for according to the virtual objects in virtual scene there are the time, spring number and The present day analog time of the virtual scene determines time parameter;
Ordinate computing module, it is real-time in the virtual scene for calculating the virtual objects according to the time parameter Ordinate;
Abscissa computing module, for according to the present day analog time, there are times and the virtual objects in the void Default lateral displacement in quasi- scene calculates real-time lateral coordinates of the virtual objects in the virtual scene;
Motion profile control module controls the void for being based on the real-time lateral coordinates and the real-time longitudinal coordinate Intend object in the motion profile there are in the time.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The control method of motion trace of the described in any item virtual objects of claim 1-7 is realized when processor executes.
10. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to require 1-7 described in any item via executing the executable instruction and carry out perform claim The control method of motion trace of virtual objects.
CN201910775255.8A 2019-08-21 2019-08-21 Motion trail control method and device for virtual object, medium and electronic equipment Active CN110496393B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910775255.8A CN110496393B (en) 2019-08-21 2019-08-21 Motion trail control method and device for virtual object, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910775255.8A CN110496393B (en) 2019-08-21 2019-08-21 Motion trail control method and device for virtual object, medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110496393A true CN110496393A (en) 2019-11-26
CN110496393B CN110496393B (en) 2023-05-12

Family

ID=68588894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910775255.8A Active CN110496393B (en) 2019-08-21 2019-08-21 Motion trail control method and device for virtual object, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110496393B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060082573A1 (en) * 2004-10-19 2006-04-20 Nintendo Co., Ltd. Storage medium having input processing program stored thereon and input processing device
CN103903019A (en) * 2014-04-11 2014-07-02 北京工业大学 Automatic generating method for multi-lane vehicle track space-time diagram
CN105957120A (en) * 2016-06-22 2016-09-21 财付通支付科技有限公司 Movement locus simulation method and device
CN109241465A (en) * 2018-07-19 2019-01-18 华为技术有限公司 interface display method, device, terminal and storage medium
CN109491586A (en) * 2018-11-14 2019-03-19 网易(杭州)网络有限公司 Virtual object control method and device, electronic equipment, storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060082573A1 (en) * 2004-10-19 2006-04-20 Nintendo Co., Ltd. Storage medium having input processing program stored thereon and input processing device
CN103903019A (en) * 2014-04-11 2014-07-02 北京工业大学 Automatic generating method for multi-lane vehicle track space-time diagram
CN105957120A (en) * 2016-06-22 2016-09-21 财付通支付科技有限公司 Movement locus simulation method and device
CN109241465A (en) * 2018-07-19 2019-01-18 华为技术有限公司 interface display method, device, terminal and storage medium
CN109491586A (en) * 2018-11-14 2019-03-19 网易(杭州)网络有限公司 Virtual object control method and device, electronic equipment, storage medium

Also Published As

Publication number Publication date
CN110496393B (en) 2023-05-12

Similar Documents

Publication Publication Date Title
US9050538B2 (en) Collision detection and motion simulation in game virtual space
US9968850B2 (en) System for providing virtual spaces for access by users
CN108837507A (en) Virtual item control method and device, electronic equipment, storage medium
JP5855237B2 (en) Apparatus and method for improved representation of objects in distributed interactive simulation
CN111819520B (en) Spatially haptic device force feedback
US11305193B2 (en) Systems and methods for multi-user editing of virtual content
US11782500B2 (en) System, method and apparatus of simulating physics in a virtual environment
Chang et al. Redirection controller using reinforcement learning
CN109550250A (en) Virtual objects skeleton data processing method and processing device, storage medium, electronic equipment
CN112102466A (en) Location-based platform of multiple 3D engines for delivering location-based 3D content to users
CN112789093A (en) Introducing higher input latency in a multiplayer program
US20190054373A1 (en) Method, computing device, and system for generating a mixed haptic track for a mixed haptic effect
US8992330B1 (en) System and method for facilitating data model substitutions for pre-existing data objects
CN111389007B (en) Game control method and device, computing equipment and storage medium
CN110496393A (en) Control method of motion trace and device, medium, the electronic equipment of virtual objects
CN116196611A (en) Somatosensory game method based on waving action
CN109758765A (en) Mobile terminal virtual object control method and equipment
CN110152295A (en) Control method and device, storage medium and the electronic equipment of virtual objects
US8326442B2 (en) Constrained navigation in a three-dimensional (3D) virtual arena
CN110152292A (en) Display control method and device, the storage medium and electronic equipment of rising space in game
CN108734774A (en) Virtual limbs construction method and device, man-machine interaction method
CN110968183A (en) Method and device for providing real physical feedback when contacting virtual object
CN116764213A (en) Sound programming generation method, device, equipment, storage medium and program product
US20230381643A1 (en) Method and system for processing gender voice compensation
Roberts et al. Evolving spaceship designs for optimal control and the emergence of interesting behaviour

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant