CN107895067A - Realize method, apparatus, terminal device and storage medium that doll model drops - Google Patents
Realize method, apparatus, terminal device and storage medium that doll model drops Download PDFInfo
- Publication number
- CN107895067A CN107895067A CN201711038036.9A CN201711038036A CN107895067A CN 107895067 A CN107895067 A CN 107895067A CN 201711038036 A CN201711038036 A CN 201711038036A CN 107895067 A CN107895067 A CN 107895067A
- Authority
- CN
- China
- Prior art keywords
- model
- doll model
- doll
- gravity
- rigid body
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/06—Power analysis or power optimisation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Toys (AREA)
Abstract
The invention discloses a kind of method realized doll model and dropped, including:The grip that detection doll model is subject to changes;Wherein, rigid body component and collision device assembly are configured with the doll model;The rigid body component configured on the doll model is provided with gravity property;The gravity being subject to according to the gravity property of the doll model calculating doll model;First made a concerted effort according to what doll model described in the grip and the Gravity calculation was subject to;According to the described first falling motion made a concerted effort with the rigid body component simulation doll model;The doll model and board model are carried out by collision detection according to the collision device assembly of the doll model;The rebound motion of the doll model is simulated when detecting that the doll model collides with the board model.The invention also discloses a kind of device, terminal device and storage medium realized doll model and dropped, it is possible to achieve the natural whereabouts of doll model and the motion of landing bounce-back, enhances the sense of reality of game.
Description
Technical field
The present invention relates to virtual technology field, more particularly to a kind of method, apparatus, terminal for realizing that doll model drops to set
Standby and storage medium.
Background technology
Grab doll model machine, also known as select thing to peddle, for a kind of electronic game for coming from Japan, be inside large-scale console compared with
For simple one kind.Player is using the claw configured on doll model machine, the thing put inside crawl board, such as male earner or
Toy.In the entity of reality grabs the board of doll model machine, when grabber release is picked up the doll model come, Wa Wamo
Type meeting nature is fallen, and the bottom for encountering doll model machine board also has the motion of some bounce-backs etc.
With the development of electronic technology, the substantial game of many mechanical realizations is all made into virtual game, for player
Amusement.In the virtual doll model machine game of prior art, after player discharges the doll model in gripper, Wa Wamo
Type is directly fallen on virtual board, does not produce any physical effect, lacks the sense of reality so that player can not obtain good trip
Play experience sense.
The content of the invention
In view of the above-mentioned problems, it is an object of the invention to provide a kind of method, apparatus, terminal realized doll model and dropped
Equipment and storage medium, the effect that doll model falls naturally is simulated, solve and encounter board when the doll model falls
The problem of not rebounding, the sense of reality of game is enhanced, can effectively lift the game experiencing sense of player.
To solve above technical problem, the invention provides a kind of method realized doll model and dropped, including following step
Suddenly:
The grip that detection doll model is subject to changes;Wherein, rigid body component and collision are configured with the doll model
Device assembly;The rigid body component configured on the doll model is provided with gravity property;
The gravity being subject to according to the gravity property of the doll model calculating doll model;
First made a concerted effort according to what doll model described in the grip and the Gravity calculation was subject to;
According to the described first falling motion made a concerted effort with the rigid body component simulation doll model;
The doll model and board model are carried out by collision detection according to the collision device assembly of the doll model;Its
In, it is configured with collision device assembly on the board model;
When detecting that the doll model collides with the board model, according to the rigid body group of the doll model
The impinger component of part and the board model simulates the rebound motion of the doll model.
Preferably, it is described that institute is simulated according to the rigid body component of the doll model and the impinger component of the board model
The rebound motion of doll model is stated, is specifically included:
One reaction force is applied to the doll model according to the collision device assembly of the board model;
Second be subject to according to the gravity and the reaction force calculating doll model is made a concerted effort;
Make a concerted effort to simulate the anti-of the doll model according to the rigid body component of the doll model, the gravity and described second
Bullet moves.
Preferably, when detecting that the doll model rebounds to an equilbrium position, according to the doll model by
Gravity and the rigid body component of the doll model simulate the falling motion of the doll model.
Preferably, when detect described second make a concerted effort be zero or described second make a concerted effort direction it is downward when simulate the baby
Inactive state of baby's model on the board model.
Present invention also offers a kind of device realized doll model and dropped, including:
Grip detection module, the grip being subject to for detecting doll model change;Wherein, configured on the doll model
There are rigid body component and collision device assembly;The rigid body component configured on the doll model is provided with gravity property;
Gravity calculation module, for the weight being subject to according to the gravity property of the doll model calculating doll model
Power;
First make a concerted effort computing module, first be subject to for the doll model according to the grip and the Gravity calculation
With joint efforts;
Whereabouts analog module, for according to the described first whereabouts made a concerted effort with the rigid body component simulation doll model
Motion;
Collision detection module, for the collision device assembly according to the doll model by the doll model and board model
Carry out collision detection;Wherein, it is configured with collision device assembly on the board model;
Rebound analog module, for when detecting that the doll model and the board model collide, according to institute
The impinger component of the rigid body component and the board model of stating doll model simulates the rebound motion of the doll model.
Preferably, the bounce-back analog module, is specifically included:
Power applying unit, apply an anti-work to the doll model for the collision device assembly according to the board model
Firmly;
Second makes a concerted effort computing unit, for calculating what the doll model was subject to according to the gravity and the reaction force
Second makes a concerted effort;
Rebound analogue unit, for the rigid body component according to the doll model, the gravity and described second make a concerted effort mould
Intend the rebound motion of the doll model.
Preferably, the whereabouts analog module, it is additionally operable to detect that the doll model rebounds to an equilbrium position
When, the gravity and the rigid body component of the doll model that are subject to according to the doll model simulate the whereabouts fortune of the doll model
It is dynamic.
Preferably, in addition to:Static analog module, detect that described second makes a concerted effort to be that zero or described second are closed for working as
Inactive state of the doll model on the board model is simulated when the direction of power is downward.
Present invention also offers a kind of terminal device, including processor, memory and be stored in the memory and
Be configured as by the computer program of the computing device, realized described in the computing device during computer program it is above-mentioned in
The method realized doll model and dropped described in any one.
Present invention also offers a kind of computer-readable recording medium, it is characterised in that the computer-readable storage medium
Matter includes the computer program of storage, wherein, control the computer-readable recording medium when the computer program is run
Place equipment performs the method realized doll model and dropped described in middle any one as described above.
Object of the present invention is to provide a kind of method, apparatus, terminal device and storage realized doll model and dropped
Medium, first be subject to by calculating doll model is made a concerted effort, to simulate the movement effects that the doll model falls naturally;Pass through
Collision detection, when detecting that the doll model collides with board model, simulate the bounce-back fortune of the doll model
Dynamic effect, realizes good physical effect, enhances the sense of reality of game, can effectively lift the game experiencing of player
Sense.
Brief description of the drawings
In order to illustrate more clearly of technical scheme, the required accompanying drawing used in embodiment will be made below
Simply introduce, it should be apparent that, drawings in the following description are only some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet for the method realized doll model and dropped that first embodiment of the invention provides.
Fig. 2 is the rigid body group on the doll model for the method realized doll model and dropped that first embodiment of the invention provides
The schematic diagram of part.
Fig. 3 is the impinger on the doll model for the method realized doll model and dropped that first embodiment of the invention provides
The schematic diagram of component.
Fig. 4 is the weight being subject on the doll model for the method realized doll model and dropped that first embodiment of the invention provides
The schematic diagram of power.
Fig. 5 is the impinger on the board model for the method realized doll model and dropped that first embodiment of the invention provides
The schematic diagram of component.
Fig. 6 be second embodiment of the invention provide the method realized doll model and dropped doll model on be subject to it is anti-
The schematic diagram of active force.
Fig. 7 is the structural representation for the device realized doll model and dropped that fifth embodiment of the invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
Referring to Fig. 1, first embodiment of the invention provides a kind of method realized doll model and dropped, can play
Perform, and comprise the following steps on engine:
S10, the grip that detection doll model is subject to change;Wherein, be configured with the doll model rigid body component and
Collide device assembly;The rigid body component configured on the doll model is provided with gravity property.
In embodiments of the present invention, game engine refer to some editable computer game systems write or some
The core component of interactive realtime graphic application program.These systems for game designer provide it is various write game needed for it is each
Kind instrument, its object is to allow game designer easily and quickly to make game formula without by zero.It is most of
A variety of operating platforms are all supported, such as Linux, Mac OS X, Microsoft Windows.Game engine includes following system:Rendering engine
(i.e. " renderer ", engine containing two dimensional image and 3-D view engine), physical engine, collision detecting system, audio, script draw
Hold up, computer animation, artificial intelligence, network engine and scene management.
In embodiments of the present invention, rigid body enables game object to be moved under physical control.Rigid body can by capacity with
Moment of torsion, game object is set to be moved as reality mode.Any game object is wanted to be affected by gravity, the power applied by script
Effect, or interacted by NVIDIA PhysX physical engines with other game objects, it is necessary to include a rigid body component.
In virtual doll model machine, each doll model may be acted on by power, it is therefore desirable to first add to each doll model
Add rigid body component.As an example, establishing the game object of doll model on game engine, added on the doll model firm
Body component, the rigid body component of the addition are as shown in Figure 2.By setting the attribute on the rigid body component of the doll model, if
Put the gravity property of the doll model.
In embodiments of the present invention, after doll model falls, inherently fall on the board of virtual doll model machine,
Therefore need that to the doll model addition collision device assembly collision detection could be carried out and simulate collision effect.As showing
Example, in the game composition list object of game engine, the game object of the doll model of above-mentioned establishment is found, chooses the baby
Baby's model simultaneously adds collision device assembly, and the one of which collision device assembly added on the doll model is as shown in Figure 3.
In embodiments of the present invention, in virtual doll model machine, after player controls grabber to grab doll model,
When the grip of the grabber is very big, the doll model can be picked up or even movement, when the grip of the grabber diminishes
When, the doll model slowly can come off from the grabber.As an example, capture the doll model in the grabber
During, the grip of the grabber is detected in real time, judges the change of the grip of the grabber.
S20, the gravity being subject to according to the gravity property of the doll model calculating doll model.
In embodiments of the present invention, rigid body addition gravity action principle equivalent in each physical unit time to thing
Body adds direction instantaneous force of the size equal to the value of the gravity property of the setting straight down.Due to each physics
Unit interval can all apply an instantaneous force, so exist always equivalent to this power, that is, gravity, such as Fig. 4 institutes
Show.The game engine for making game has physical function, can realize applying power on object, and for gravity property, playing
Can directly it be set in engine.It is understood that doll's mould can be obtained by the gravity property of the doll model
The direction for the gravity that type is subject to and size.
S30, first made a concerted effort according to what doll model described in the grip and the Gravity calculation was subject to.
In embodiments of the present invention, when the grabber captures the doll model, the doll model can be by institute
Effect of the grabber to the grip of the doll model is stated, also suffers from the effect of gravity, therefore, it is necessary to calculate doll's mould
What type was subject to first makes a concerted effort.It is understood that when the direction that described first be calculated is made a concerted effort is upward, i.e., described doll
The grip that model is subject to is very big, and now the doll model is tightly grasp by the grabber.When the direction that described first makes a concerted effort
When downward, i.e., grip very little that described doll model is subject to, now the doll model slowly will be taken off from the grabber
Fall.
S40, according to the described first falling motion made a concerted effort with the rigid body component simulation doll model.
In embodiments of the present invention, with the addition of the doll model of rigid body component just can just be made with capacity by power
With.When detecting that the described first direction made a concerted effort is downward, the falling motion of the doll model is simulated.As an example, when inspection
Measure described first make a concerted effort direction it is downward when, the doll model slowly can come off from the grabber, it is possible to understand that
It is that after the doll model departs from the grabber, the doll model will not be subject the effect of grip.According to described
First direction made a concerted effort and size, simulate the physical effect to fall naturally of the doll model.
S50, the doll model and board model are carried out by collision detection according to the collision device assembly of the doll model;
Wherein, it is configured with collision device assembly on the board model.
In embodiments of the present invention, in the case of no collision detection, collision object can pass through other side, and generation penetrates existing
As and do not trigger collision, such as, doll model fall after can be directly through the board model of virtual doll model machine.To avoid
The generation of problems, collision detection work must be done.
In embodiments of the present invention, only it is both provided with two game objects in the case of colliding device assembly, game
Engine can just calculate collision, therefore, addition collision device assembly is also required on the board model, as an example, in the machine
The one of which collision device assembly added on platform model is as shown in figure 5, when detecting that the doll model falls, by the baby
The impinger of the impinger of baby's model and the board model carries out collision detection.
S60, when detecting that the doll model collides with the board model, according to the firm of the doll model
The impinger component of body component and the board model simulates the rebound motion of the doll model.
In embodiments of the present invention, it is necessary to which explanation, does not add rigid body component and with the addition of the trip of collision device assembly
Play object, such as the board model, meeting remains stationary or very slight movement when colliding, so ensure that and work as
When the doll model collides with the board model, the board model can occur slight with remains stationary or simply
Movement.And the doll model that with the addition of rigid body component and collision device assembly simultaneously can produce collision after colliding
Effect.
In embodiments of the present invention, the doll model and the board model are arranged to the object that can be collided, swum
Play engine can judge whether the doll model can collide with the board model according to setting, can be with after colliding
The movement locus of the doll model is controlled, so as to realize the rebound motion of the doll model.
In summary, object of the present invention is to provide a kind of method, apparatus, terminal for realizing that doll model drops to set
Standby and storage medium, first be subject to by calculating doll model is made a concerted effort, to simulate the motion that the doll model falls naturally
Effect;By collision detection, when detecting that the doll model collides with board model, the doll model is simulated
Rebound motion effect so that the doll model can rebound after encountering board, enhance the sense of reality of game, realize good
Good physical effect, can effectively lift the game experiencing sense of player.
Second embodiment of the invention:
On the basis of one embodiment, the rigid body component according to the doll model and the board model
Impinger component simulates the rebound motion of the doll model, specifically includes:
One reaction force is applied to the doll model according to the collision device assembly of the board model;
Second be subject to according to the gravity and the reaction force calculating doll model is made a concerted effort;
Make a concerted effort to simulate the anti-of the doll model according to the rigid body component of the doll model, the gravity and described second
Bullet moves.
In embodiments of the present invention, detect that the doll model collides with the board model as an example, working as
Afterwards, the doll model can obtain a reaction provided by the board model collision device under the function of game engine
Power, as shown in fig. 6, table top of the direction of the reaction force perpendicular to the board model, now can be according to the doll
The gravity and the reaction force that model is subject to are calculated second that the doll model is subject to and made a concerted effort, it is to be understood that
When the direction that described second makes a concerted effort is upward, the doll model will be moved upwards by the described second effect made a concerted effort,
The doll model still can be affected by gravity during bounce-back, makes a concerted effort according to described second and the gravity can mould
Intend the rebound motion of the doll model.It should be noted that game engine can judge the doll model according to setting
More big reaction forces can be produced after being collided with the board model.
Third embodiment of the invention:
On the basis of second embodiment, in addition to:
When detecting that the doll model rebounds to an equilbrium position, the gravity that is subject to according to the doll model and
The rigid body component of the doll model simulates the falling motion of the doll model.
In embodiments of the present invention, rigid body component is configured with the doll model.The doll model is by reaction
Power will rebound, and during bounce-back, the doll model still can be affected by gravity, therefore work as the doll model
When bounce-back is to an equilbrium position, the falling motion of the doll model is simulated.It is understood that game engine can basis
The size of the reaction force determines the equilbrium position reached during doll model bounce-back.When the doll model arrives
During up to the equilbrium position, the doll model is only affected by gravity, therefore, doll can be simulated according to the gravity
The physical effect that model falls naturally from the equilbrium position.
Fourth embodiment of the invention:
On the basis of second embodiment, in addition to:
When detect described second make a concerted effort be zero or described second make a concerted effort direction it is downward when simulate the doll model
Inactive state on the board model.
In embodiments of the present invention, it is described after detecting that the doll model collides with the board model
Doll model can obtain a reaction force provided by the board model collision device, Ke Yili under the function of game engine
Solution, if the doll model falls from higher position, the reaction force that the doll model can be subject to is larger;If institute
State doll model to fall from relatively low position, then the reaction force that the doll model is subject to can be smaller.When the reaction force
With the gravity it is equal in magnitude when, then what is be calculated described second makes a concerted effort to be zero;When the reaction force is less than the gravity
When, then the described second direction made a concerted effort being calculated is downward, and (i.e. described second makes a concerted effort to be zero or institute in both cases
It is downward to state the second direction made a concerted effort), fall behind under the doll model and collide the board model rebound effect will not occur, and
It is to be still on the table top of the board model.
Referring to Fig. 7, fifth embodiment of the invention additionally provides a kind of device realized doll model and dropped, including:
Grip detection module 10, the grip being subject to for detecting doll model change;Wherein, match somebody with somebody on the doll model
It is equipped with rigid body component and collision device assembly;The rigid body component configured on the doll model is provided with gravity property;
Gravity calculation module 20, for the weight being subject to according to the gravity property of the doll model calculating doll model
Power;
First makes a concerted effort computing module 30, the be subject to for the doll model according to the grip and the Gravity calculation
One makes a concerted effort;
Whereabouts analog module 40, for making a concerted effort to simulate under the doll model with the rigid body component according to described first
Fall motion;
Collision detection module 50, for the collision device assembly according to the doll model by the doll model and board mould
Type carries out collision detection;Wherein, it is configured with collision device assembly on the board model;
Rebound analog module 60, for when detecting that the doll model and the board model collide, according to
The impinger component of the rigid body component of the doll model and the board model simulates the rebound motion of the doll model.
Preferably, the bounce-back analog module 60, is specifically included:
Power applying unit, apply an anti-work to the doll model for the collision device assembly according to the board model
Firmly;
Second makes a concerted effort computing unit, for calculating what the doll model was subject to according to the gravity and the reaction force
Second makes a concerted effort;
Rebound analogue unit, for the rigid body component according to the doll model, the gravity and described second make a concerted effort mould
Intend the rebound motion of the doll model.
Preferably, the whereabouts analog module 40, it is additionally operable to detect that the doll model rebounds to a balance position
When putting, the gravity and the rigid body component of the doll model that are subject to according to the doll model simulate falling for the doll model
Motion.
Preferably, in addition to:Static analog module, detect that described second makes a concerted effort to be that zero or described second are closed for working as
Inactive state of the doll model on the board model is simulated when the direction of power is downward.
Sixth embodiment of the invention additionally provides a kind of terminal device realized doll model and dropped.The realization of the embodiment
The terminal device that doll model drops includes:Processor, display, memory and it is stored in the survival wherein and can be
The computer program run on the processor, such as realize the program that doll model drops.Meter described in the computing device
Realized during calculation machine program it is above-mentioned it is each realize doll model drop method embodiment in step, such as the step shown in Fig. 1
S10.Or the function of each unit in above-mentioned each device embodiment, example are realized described in the computing device during computer program
Grip detection module 10 as shown in Figure 7.
Exemplary, the computer program can be divided into one or more modules, one or more of moulds
Block is stored in the memory, and by the computing device, to complete the present invention.One or more of modules can be with
It is the series of computation machine programmed instruction section that can complete specific function, the instruction segment is used to describe the computer program in institute
State the implementation procedure realized in terminal device that doll model drops.
The terminal device for realizing that doll model drops can be desktop PC, notebook, palm PC and cloud
Hold the computing devices such as server.The terminal device for realizing that doll model drops may include, but be not limited only to, and processor, deposit
Reservoir, display.It will be understood by those skilled in the art that the schematic diagram is only to realize the terminal device that doll model drops
Example, do not form the restriction of the terminal device to be dropped to realizing doll model, can include than illustrate it is more or less
Part, some parts or different parts are either combined, such as described realize that terminal device that doll model drops can be with
Including input-output equipment, network access equipment, bus etc..
Alleged processor can be CPU (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng the processor is the control centre of the terminal device realized doll model and dropped, and utilizes various interfaces and circuit to connect
Connect the various pieces of the whole terminal device realized doll model and dropped.
The memory can be used for storing the computer program and/or module, and the processor is by running or performing
The computer program and/or module being stored in the memory, and the data being stored in memory are called, described in realization
Realize the various functions for the terminal device that doll model drops.The memory can mainly include storing program area and data storage
Area, wherein, storing program area can storage program area, needed at least one function application program (such as sound-playing function,
Text conversion function etc.) etc.;Storage data field can store uses created data (such as voice data, text according to mobile phone
Word message data etc.) etc..In addition, memory can include high-speed random access memory, non-volatile memories can also be included
Device, such as hard disk, internal memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatibility are consolidated
State memory device.
Wherein, if the integrated module of terminal device for realizing that doll model drops is in the form of SFU software functional unit
Realize and be used as independent production marketing or in use, can be stored in a computer read/write memory medium.Based on this
The understanding of sample, the present invention realize all or part of flow in above-described embodiment method, can also referred to by computer program
Related hardware is made to complete, described computer program can be stored in a computer-readable recording medium, the computer
Program when being executed by processor, can be achieved above-mentioned each embodiment of the method the step of.Wherein, the computer program includes meter
Calculation machine program code, the computer program code can be source code form, object identification code form, executable file or some
Intermediate form etc..The computer-readable medium can include:Can carry the computer program code any entity or
Device, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software
Distribution medium etc..It should be noted that the content that includes of the computer-readable medium can be according to making laws in jurisdiction
Appropriate increase and decrease is carried out with the requirement of patent practice, such as in some jurisdictions, according to legislation and patent practice, computer
Computer-readable recording medium does not include electric carrier signal and telecommunication signal.
It should be noted that device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need to select some or all of module therein to realize the purpose of this embodiment scheme.In addition, device provided by the invention
In embodiment accompanying drawing, the annexation between module represents there is communication connection between them, specifically can be implemented as one or
A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, you can to understand
And implement.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (10)
- A kind of 1. method realized doll model and dropped, it is characterised in that including:The grip that detection doll model is subject to changes;Wherein, rigid body component and impinger group are configured with the doll model Part;The rigid body component configured on the doll model is provided with gravity property;The gravity being subject to according to the gravity property of the doll model calculating doll model;First made a concerted effort according to what doll model described in the grip and the Gravity calculation was subject to;According to the described first falling motion made a concerted effort with the rigid body component simulation doll model;The doll model and board model are carried out by collision detection according to the collision device assembly of the doll model;Wherein, institute State and collision device assembly is configured with board model;When detecting that the doll model and the board model collide, according to the rigid body component of the doll model and The impinger component of the board model simulates the rebound motion of the doll model.
- 2. the method according to claim 1 realized doll model and dropped, it is characterised in that described according to doll's mould The impinger component of the rigid body component of type and the board model simulates the rebound motion of the doll model, specifically includes:One reaction force is applied to the doll model according to the collision device assembly of the board model;Second be subject to according to the gravity and the reaction force calculating doll model is made a concerted effort;The bounce-back for making a concerted effort to simulate the doll model according to the rigid body component of the doll model, the gravity and described second is transported It is dynamic.
- 3. the method according to claim 2 realized doll model and dropped, it is characterised in that also include:When detecting that the doll model rebounds to an equilbrium position, the gravity that is subject to according to the doll model and described The rigid body component of doll model simulates the falling motion of the doll model.
- 4. the method according to claim 2 realized doll model and dropped, it is characterised in that also include:When detect described second make a concerted effort be zero or described second make a concerted effort direction it is downward when simulate the doll model in institute State the inactive state on board model.
- A kind of 5. device realized doll model and dropped, it is characterised in that including:Grip detection module, the grip being subject to for detecting doll model change;Wherein, it is configured with the doll model just Body component and collision device assembly;The rigid body component configured on the doll model is provided with gravity property;Gravity calculation module, for the gravity being subject to according to the gravity property of the doll model calculating doll model;First make a concerted effort computing module, for the doll model according to the grip and the Gravity calculation be subject to first close Power;Whereabouts analog module, the whereabouts for making a concerted effort to simulate the doll model with the rigid body component according to described first are transported It is dynamic;Collision detection module, the doll model and board model are carried out for the collision device assembly according to the doll model Collision detection;Wherein, it is configured with collision device assembly on the board model;Rebound analog module, for when detecting that the doll model and the board model collide, according to the baby The impinger component of the rigid body component of baby's model and the board model simulates the rebound motion of the doll model.
- 6. the device according to claim 5 realized doll model and dropped, it is characterised in that the bounce-back analog module, Specifically include:Power applying unit, one reaction is applied to the doll model for the collision device assembly according to the board model Power;Second makes a concerted effort computing unit, for calculate that the doll model is subject to according to the gravity and the reaction force second With joint efforts;Rebound analogue unit, makes a concerted effort to simulate institute for the rigid body component according to the doll model, the gravity and described second State the rebound motion of doll model.
- 7. the device according to claim 6 realized doll model and dropped, it is characterised in that also include:The whereabouts analog module, it is additionally operable to when detecting that the doll model rebounds to an equilbrium position, according to described Gravity and the rigid body component of the doll model that doll model is subject to simulate the falling motion of the doll model.
- 8. the device according to claim 6 realized doll model and dropped, it is characterised in that also include:Static analog module, for when detect described second make a concerted effort be zero or described second make a concerted effort direction it is downward when simulate Inactive state of the doll model on the board model.
- 9. a kind of terminal device, including processor, memory and it is stored in the memory and is configured as by described The computer program that device performs is managed, is realized described in the computing device during computer program as any one in Claims 1-4 The method realized doll model and dropped described in.
- 10. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium includes the calculating of storage Machine program, wherein, equipment where controlling the computer-readable recording medium when the computer program is run is performed as weighed Profit requires the method realized doll model and dropped described in any one in 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711038036.9A CN107895067A (en) | 2017-10-26 | 2017-10-26 | Realize method, apparatus, terminal device and storage medium that doll model drops |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711038036.9A CN107895067A (en) | 2017-10-26 | 2017-10-26 | Realize method, apparatus, terminal device and storage medium that doll model drops |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107895067A true CN107895067A (en) | 2018-04-10 |
Family
ID=61802581
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711038036.9A Pending CN107895067A (en) | 2017-10-26 | 2017-10-26 | Realize method, apparatus, terminal device and storage medium that doll model drops |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107895067A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109350966A (en) * | 2018-10-12 | 2019-02-19 | 深圳仓谷创新软件有限公司 | A kind of mobile phone A R grabs doll machine system and exchange method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150297987A1 (en) * | 2014-04-22 | 2015-10-22 | Zynga Inc. | Methods for Using Touch-Screens to Simulate Balancing and Manipulation of Curved Object During Gameplay |
CN107134004A (en) * | 2017-03-31 | 2017-09-05 | 武汉斗鱼网络科技有限公司 | A kind of method and device that spheroid motion is simulated in Flash animations |
-
2017
- 2017-10-26 CN CN201711038036.9A patent/CN107895067A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150297987A1 (en) * | 2014-04-22 | 2015-10-22 | Zynga Inc. | Methods for Using Touch-Screens to Simulate Balancing and Manipulation of Curved Object During Gameplay |
CN107134004A (en) * | 2017-03-31 | 2017-09-05 | 武汉斗鱼网络科技有限公司 | A kind of method and device that spheroid motion is simulated in Flash animations |
Non-Patent Citations (1)
Title |
---|
NIBOY: "unity3d-物理引擎", 《博客园HTTPS://WWW.CNBLOGS.COM/NIBOY/P/4215638.HTML?UTM_MEDIUM=REFERRAL》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109350966A (en) * | 2018-10-12 | 2019-02-19 | 深圳仓谷创新软件有限公司 | A kind of mobile phone A R grabs doll machine system and exchange method |
CN109350966B (en) * | 2018-10-12 | 2019-12-10 | 深圳仓谷创新软件有限公司 | mobile phone AR doll grabbing system and interaction method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105988934B (en) | Hand swims automated detection method and device | |
CN107773978A (en) | Method, apparatus, terminal device and the storage medium of control crawl prop model | |
CN104134226B (en) | Speech simulation method, device and client device in a kind of virtual scene | |
CN104685459B (en) | Method for creating trivial games | |
WO2021043110A1 (en) | Moving control method and device for virtual object, and terminal and storage medium | |
CN103530495A (en) | Augmented reality simulation continuum | |
CN112717404B (en) | Virtual object movement processing method and device, electronic equipment and storage medium | |
CN107019915A (en) | A kind of method, user equipment and system for determining motion track | |
CN106730811B (en) | Stage property motion processing method and device under a kind of VR scenes | |
CN106651747B (en) | The method for processing resource and device of simulated object in a kind of application | |
CN107694093A (en) | Prop model grasping means, device, equipment and storage medium are controlled in gaming | |
CN107357563B (en) | object moving method and device and storage medium, electronic device | |
CN107670281A (en) | The method, apparatus and storage medium of prop model crawl are controlled in gaming | |
CN106960475A (en) | Click on processing method and processing device, storage medium and processor in the position of threedimensional model | |
CN107895067A (en) | Realize method, apparatus, terminal device and storage medium that doll model drops | |
CN105957133B (en) | A kind of method and apparatus for loading textures | |
CN110585711A (en) | Control method, device, terminal and storage medium of virtual aircraft | |
CN107895441B (en) | Method, device and equipment for acquiring grabbing state of grabber model and storage medium | |
CN107875631A (en) | Control method, apparatus, terminal device and the readable storage medium storing program for executing of grabber movement | |
CN107930124B (en) | Method and device for matching movement between doll models, terminal equipment and storage medium | |
CN107661629A (en) | A kind of pull rope weave control method, apparatus, terminal device and storage medium | |
CN107789828A (en) | Decorate cord-like state method of adjustment, device, terminal device and storage medium | |
CN117695623A (en) | Method and device for managing physical scene resources in virtual world and computer equipment | |
CN112717395B (en) | Audio binding method, device, equipment and storage medium | |
CN109758765A (en) | Mobile terminal virtual object control method and equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180410 |