CN107875631A - Control method, apparatus, terminal device and the readable storage medium storing program for executing of grabber movement - Google Patents
Control method, apparatus, terminal device and the readable storage medium storing program for executing of grabber movement Download PDFInfo
- Publication number
- CN107875631A CN107875631A CN201711038038.8A CN201711038038A CN107875631A CN 107875631 A CN107875631 A CN 107875631A CN 201711038038 A CN201711038038 A CN 201711038038A CN 107875631 A CN107875631 A CN 107875631A
- Authority
- CN
- China
- Prior art keywords
- model
- grabber
- moving direction
- move
- control
- 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
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F9/00—Games not otherwise provided for
- A63F9/30—Capturing games for grabbing or trapping objects, e.g. fishing games
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a kind of method that grabber movement is controlled in game, comprise the following steps:When listening to move, moving direction is obtained according to the move;The removable square model of control moves along the moving direction;Wherein, the removable square model is attached with rigid body component and configurable joint assembly;Control and moved with the removable square model by can configure the rope model that joint is connected along the moving direction;Wherein, the rope model is attached with rigid body component and configurable joint assembly;Control and moved with the rope model by can configure the grabber model that joint is connected along the moving direction;Wherein, the grabber model is attached with rigid body component.The invention also discloses device, terminal device and the readable storage medium storing program for executing that grabber movement is controlled in a kind of game, real physical effect is simulated so that coordinate operation between Virtual Controller and virtual grabber, realize natural sparse model.
Description
Technical field
The present invention relates in computer game field, more particularly to a kind of game control grabber movement method, apparatus,
Terminal device and readable storage medium storing program for executing.
Background technology
Traditional doll's game of grabbing is that the trip of machinery is put into the confined space that the four sides of a closing is surrounded by glass
Play equipment, by the controller outside board, enable a player to, and then Entertainment interactive with board.
With the further development and popularization of electronic technology, the game of many script mechanical realizations can pass through display screen
Mode be illustrated in face of player, but in order to make virtual table of game player more true to nature, effect is more lively, while also has a lot
Problems demand solves, such as how to realize the cooperation operation before controller and virtual grabber, how to make controller and virtual
Natural sparse model between grabber, to realize that grabbing doll machine can be virtually shown in face of player in the form of display screen, this is all urgently
The problem of to be solved.
The content of the invention
In view of the above-mentioned problems, it is an object of the invention to provide in a kind of game control grabber movement method, apparatus,
Terminal device and readable storage medium storing program for executing, simulate real physical effect so that between Virtual Controller and virtual grabber model
Coordinate operation, realize natural sparse model.
The invention provides a kind of method that grabber movement is controlled in game, comprise the following steps:
When listening to move, moving direction is obtained according to the move;
The removable square model of control moves along the moving direction;Wherein, the removable square model is attached with just
Body component and configurable joint assembly;
Control and moved with the removable square model by can configure the rope model that joint is connected along the moving direction
It is dynamic;Wherein, the rope model is attached with rigid body component and configurable joint assembly;
Control and moved with the rope model by can configure the grabber model that joint is connected along the moving direction;Its
In, the grabber model is attached with rigid body component.
Preferably, in addition to:
When listening to control button push, move corresponding to generation simultaneously obtains what control button was pressed in real time
Duration;
It is then described when listening to move, moving direction is obtained according to the move, is specially:
When receiving move, moving direction is obtained according to the move;
The duration and pre-set velocity pressed according to the control button calculate displacement;
Then the removable square model of the control moves along the moving direction, is specially:
The removable square model of control moves the displacement along the moving direction;
Then the control is moved with the removable square model by can configure the rope model that joint is connected along described
Direction is moved, and is specially:
Control and moved with the removable square model by can configure the rope model that joint is connected along the moving direction
Move the displacement;
Then the control and the rope model by the grabber model that configurable joint is connected along the moving direction
It is mobile, be specially:
Control and move institute along the moving direction by can configure the grabber model that joint is connected with the rope model
State distance.
Preferably, the rope model includes at least one ran;Wherein, the ran is attached with rigid body component and can matched somebody with somebody
Joint assembly is put, the ran is attached by the configurable joint assembly.
Preferably, by setting the rigid body attribute of the removable square model so that the removable square model can
Moved along the X-axis or Z axis of a default three-dimensional system of coordinate.
Present invention also offers the device that grabber movement is controlled in a kind of game, including:
Module is monitored in instruction, for when listening to move, moving direction to be obtained according to the move;
First mobile module, for controlling removable square model to be moved along the moving direction;Wherein, it is described removable
Square model is attached with rigid body component and configurable joint assembly;
Second mobile module, for controlling the rope model being connected with the removable square model by can configure joint
Moved along the moving direction;Wherein, the rope model is attached with rigid body component and configurable joint assembly;
3rd mobile module, for control with the rope model by the grabber model that configurable joint is connected along institute
State moving direction movement;Wherein, the grabber model is attached with rigid body component.
Preferably, in addition to:
Directive generation module, for when listening to control button push, move corresponding to generation to be simultaneously real-time
Obtain the duration that control button is pressed;
Then instruction is monitored module and is specifically used for:
When receiving move, moving direction is obtained according to the move;
The duration and pre-set velocity pressed according to the control button calculate displacement;
Then first mobile module is specifically used for:
The removable square model of control moves the displacement along the moving direction;
Then second mobile module is specifically used for:
Control and moved with the removable square model by can configure the rope model that joint is connected along the moving direction
Move the displacement;
Then the 3rd mobile module is specifically used for:
Control and move institute along the moving direction by can configure the grabber model that joint is connected with the rope model
State distance.
Preferably, the rope model includes at least one ran;Wherein, the ran is attached with rigid body component and can matched somebody with somebody
Joint assembly is put, the ran is attached by the configurable joint assembly.
Preferably, by setting the rigid body attribute of the removable square model so that the removable square model can
Moved along the X-axis or Z axis of a default three-dimensional system of coordinate.
Present invention also offers in a kind of game control grabber movement terminal device, including processor, memory with
And be stored in the memory and be configured as by the computer program of the computing device, described in the computing device
The method that grabber movement is controlled in the game described in above-mentioned middle any one is realized during computer program.
Present invention also offers a kind of computer-readable recording medium, the computer-readable recording medium includes storage
Computer program, wherein, equipment where controlling the computer-readable recording medium when the computer program is run performs
The method that grabber movement is controlled in game described in above-mentioned middle any one.
The embodiments of the invention provide in a kind of game control grabber movement method, apparatus, terminal device with it is readable
Storage medium, have the advantages that:
When listening to move, moving direction is obtained according to the move, controls removable square model edge
The moving direction movement, it then may move square model and produced by can configure the rope model that joint assembly is connected to it
Pulling force causes rope model to be moved along the moving direction, and last rope model is by configurable joint assembly to its other end phase
The grabber model of connection produces pulling force and grabber model is moved along the moving direction, and player can pass through Virtual Controller
The removable square model movement is quickly and easily controlled, and draws the rope model being attached thereto and grabber model together
It is mobile, so as to finally realize the actual physical effect for controlling grabber model to move in gaming so that Virtual Controller
Coordinate operation between virtual grabber model, realize natural sparse model, improve player gaming experience.
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 that first embodiment of the invention provides the method that grabber movement is controlled in game.
Fig. 2 is the signal of the rigid body component property equipment for the removable square model hair that first embodiment of the invention provides
Figure.
Fig. 3 is showing for the configurable joint assembly attribute equipment for the removable square model that first embodiment of the invention provides
It is intended to.
Fig. 4 is the schematic diagram of pulling force between the ran that first embodiment of the invention provides.
Fig. 5 is the entirety of removable square model, rope model and grabber model that first embodiment of the invention provides
Structural representation.
Fig. 6 is the controller control button schematic diagram that second embodiment of the invention provides.
Fig. 7 is the structural representation that third embodiment of the invention provides the device that grabber movement is controlled in game.
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 that grabber movement is controlled in game, it can be by
Control grabber mobile terminal device to perform, and comprise the following steps:
S11, when listening to move, moving direction is obtained according to the move.
In embodiments of the present invention, the control grabber mobile terminal device monitors the move from controller,
When listening to the move that the controller is sent, the control grabber mobile terminal device parses the move
To obtain its moving direction information, the moving direction includes moving forward, being moved rearwards, being moved to the left, moving right 4 and move
Dynamic direction.
S12, removable square model is controlled to be moved along the moving direction;Wherein, the removable square model adds
There are rigid body component and configurable joint assembly.
In embodiments of the present invention, it is described to control grabber mobile terminal device additional firm for the removable square model
Body component, rigid body enable object to be moved under physical control, and rigid body can make object picture reality mode one by capacity and moment of torsion
Sample moves, and any object is wanted to be affected by gravity, and is acted on by the power that script applies, or pass through NVIDIA PhysX physical engines
To interact with other objects, it is necessary to comprising a rigid body component, referring to Fig. 2, in embodiments of the present invention, the control is grabbed
Taking device mobile terminal device can be by the quality (Mass) of the removable square model of game engine (such as unity engines) setting
0.01, while whether be kinematics (Is Kinematic) option, the removable square model is no longer drawn by physics if activating
Driving is held up, and operation can only be brought by becoming, and the motion to the removable square model is constrained, can described in setting
Mobile square model can only move in the X-axis in a default three-dimensional system of coordinate, Z axis.The control grabber mobile terminal
Equipment is also the additional configurable joint assembly of the removable square model so that the removable square model connecting rope submodule
There is the main function of two classes in type, configurable joint:It is mobile/rotationally constrained and move/spin up, can be each rotary shaft
Constraint, X-axis translation (XMotion), Y-axis translation (YMotion) and Z axis translation (ZMotion) are specified with each type of sports
Definition is allowed to be translated along out-of-alignment, X-axis angular movement (Angular XMotion), Y-axis angular movement (Angular YMotion)
Definition is allowed to be rotated along out-of-alignment with Z axis angular movement (Angular ZMotion), these attributes can be configured to freely
(not the moving) of (unrestricted), restricted (being limited to user-defined constraint) or locking, referring to Fig. 3, in the present invention
In embodiment, the control grabber mobile terminal device carries out locking setting to X-axis translation, Y-axis translation and Z axis translation, to X
Shaft angle motion, Y-axis angular movement and Z axis angle carry out being restricted setting;The configurable joint also includes bounce
(Bouncyness), spring force (Spring) and damping (Damper), bounce, spring force and damping define object of which movement and arrived
Behavior during its border, what these parameters were just as on all limited translation shafts, if the value of these three parameters all by
Be arranged to 0, object after border is reached can stop motion immediately, bounce causes object to be rebounded after reaching border away from border,
Object is retracted border by spring force and damping using the strength of spring.These parameters can soften border so that object can be worn
Cross behind border to be pulled again and, rather than reach border and just stop immediately, X-axis driving (XDrive), Y-axis driving (YDrive) and
Z axis driving (ZDrive) attribute can be such that object is moved along specific axle.It is towards target that the pattern each driven, which specifies object,
Move or be all towards target velocity motion or both in position.For example, if the pattern for setting X-axis to drive were position, object
Can towards target location->X is moved, and when the pattern of driving is position, how its position spring numerical value defines object to mesh
Cursor position is moved.Likewise, when the pattern of driving is speed, how its maximum intensity numerical value defines object to target velocity
Motion.There is rotary acceleration attribute in the configurable joint:X-axis angle driving (Angular XDrive), the driving of YZ shaft angles
(Angular YZDrive) and interpolation drive (Slerp Drive), the function and the basic phase of driven in translation function of these drivings
Together.Difference is that interpolation driving is different from the function of showing of angle driving.It can select to make in rotation driving pattern
Driven with angle or driven using interpolation, both can not be used simultaneously.
In embodiments of the present invention, the control grabber mobile terminal device is after the moving direction is got, control
The removable square model moving direction corresponding to of system moves, while the removable square model passes through the configurable joint
Component produces pulling force to coupled rope model.
S13, control and the removable square model are by the rope model that configurable joint is connected along the side of movement
To movement;Wherein, the rope model is attached with rigid body component and configurable joint assembly.
In embodiments of the present invention, the rope model includes at least one ran, and the ran is attached with rigid body component
And configurable joint assembly, the ran are attached by the configurable joint assembly, it is preferable that the rope model by
More than 30 rans are formed, and realize the physical reality of the rope model with swinging natural sense.Referring to Fig. 4, the control
When controlling the removable square model movement, the removable square model passes through configurable grabber mobile terminal device
Joint produces pulling force to coupled ran, and the pulling force that ran is subject to is acted on by configurable joint assembly
On another coupled ran, so as to realize that the rope model that the mobile square traction is attached thereto moves along correspondence direction
It is dynamic.
S14, control and moved with the rope model by can configure the grabber model that joint is connected along the moving direction
It is dynamic;Wherein, the grabber model is attached with rigid body component.
In embodiments of the present invention, referring to Fig. 5, the rope model moves along the moving direction, by configurable
The traction that the grabber model that joint to be attached thereto receives pulling force is moved along corresponding moving direction, so as to realize control institute
The physical effect of grabber model movement is stated, grabber model is moved under the control of player according to physical rules
It is dynamic.
In summary, the embodiments of the invention provide control the method, apparatus of grabber movement, terminal to set in a kind of game
Standby and readable storage medium storing program for executing, when listening to move, moving direction is obtained according to the move, controls removable side
Block models move along the moving direction, then may move the rope that square model is connected by can configure joint assembly to it
Model produces pulling force and rope model is moved along the moving direction, and last rope model is by configurable joint assembly to it
The grabber model that the other end is connected produces pulling force and grabber model is moved along the moving direction, and player can pass through void
Intend controller and quickly and easily control the removable square model movement, and draw the rope model and grabber being attached thereto
Model moves together, so as to finally realize the actual physical effect for controlling grabber model to move in gaming so that empty
Intend coordinating between controller and virtual grabber and run, realize natural sparse model, improve player gaming experience.
For the ease of the understanding of the present invention, some currently preferred embodiments of the present invention will be done further retouch below
State.
Second embodiment of the invention:
On the basis of first embodiment of the invention, in addition to:
When listening to control button push, move corresponding to generation simultaneously obtains what control button was pressed in real time
Duration.
In embodiments of the present invention, referring to Fig. 6, the control grabber mobile terminal device is listening to control button
During push, generate move corresponding with the button that player presses and obtain the duration that control button is pressed in real time, need
It is noted that the method that the control grabber mobile terminal device acquisition control button presses duration includes but is not limited to open
Dynamic timer carries out timing, and the present invention does not do any restriction to this.
Then the S11 is specially:
When receiving move, moving direction is obtained according to the move, and press according to the control button
Duration and pre-set velocity calculate displacement.
In embodiments of the present invention, the control grabber mobile terminal device obtains it when receiving move
Moving direction and the displacement moved in real time needed for calculating.
Then the S12 is specially:
The removable square model of control moves the displacement along the moving direction.
In embodiments of the present invention, the control grabber mobile terminal device controls the removable square model to want institute
Displacement corresponding to moving direction movement is stated, it is linear for may move the move mode of square model, for example, (x1, z1) is
The initial position of removable square model, (x2, z2) is the position that player presses removable square model after the operating key t seconds, square
Only have a direction controlling bond energy to work to the operating key same time, then calculate the process of distance as shown in table 1 for it.
Table 1
Then the S13 is specially:
Control and moved with the removable square model by can configure the rope model that joint is connected along the moving direction
Move the displacement.
In embodiments of the present invention, with the ran that the removable square model is connected by can configure joint under tension
Effect movement, and the pulling force that ran is subject to by can configure joint assembly act on another coupled ran
On, so as to realize that the rope model that the mobile square traction is attached thereto moves corresponding displacement along correspondence direction.
Then the S14 is specially:
Control and move institute along the moving direction by can configure the grabber model that joint is connected with the rope model
State distance.
In embodiments of the present invention, with the ran that the grabber model is connected by can configure joint by pulling force effect
On the grabber model, corresponding distance is moved along the moving direction so as to draw the grabber model.
Referring to Fig. 7, third embodiment of the invention provides the device that grabber movement is controlled in a kind of game, including:
Module is monitored in instruction, for when listening to move, moving direction to be obtained according to the move.
First mobile module, for controlling removable square model to be moved along the moving direction;Wherein, it is described removable
Square model is attached with rigid body component and configurable joint assembly.
Second mobile module, for controlling the rope model being connected with the removable square model by can configure joint
Moved along the moving direction;Wherein, the rope model is attached with rigid body component and configurable joint assembly.
3rd mobile module, for control with the rope model by the grabber model that configurable joint is connected along institute
State moving direction movement;Wherein, the grabber model is attached with rigid body component.
Preferably, in addition to:
Directive generation module, for when listening to control button push, move corresponding to generation to be simultaneously real-time
Obtain the duration that control button is pressed.
Then instruction is monitored module and is specifically used for:
When receiving move, moving direction is obtained according to the move.
The duration and pre-set velocity pressed according to the control button calculate displacement.
Then first mobile module is specifically used for:
The removable square model of control moves the displacement along the moving direction.
Then second mobile module is specifically used for:
Control and moved with the removable square model by can configure the rope model that joint is connected along the moving direction
Move the displacement.
Then the 3rd mobile module is specifically used for:
Control and move institute along the moving direction by can configure the grabber model that joint is connected with the rope model
State distance.
Preferably, the rope model includes at least one ran;Wherein, the ran is attached with rigid body component and can matched somebody with somebody
Joint assembly is put, the ran is attached by the configurable joint assembly.
Preferably, by setting the rigid body attribute of the removable square model so that the removable square model can
Moved along the X-axis or Z axis of a default three-dimensional system of coordinate.
The schematic diagram of the terminal device of grabber movement is controlled in the game that fourth embodiment of the invention provides.The embodiment
Control grabber movement terminal device include:Processor, memory and it is stored in the memory and can be described
The computer program run on processor, such as the program of control grabber movement.Computer journey described in the computing device
The step in the embodiment of the method for above-mentioned each control grabber movement, such as the step S11 shown in Fig. 1 are realized during sequence.Or
The function of each module/unit in above-mentioned each device embodiment, such as are realized described in the computing device during computer program
One mobile unit 12.
Exemplary, the computer program can be divided into one or more module/units, one or more
Individual module/unit is stored in the memory, and by the computing device, to complete the present invention.It is one or more
Individual module/unit can be the series of computation machine programmed instruction section that can complete specific function, and the instruction segment is used to describe institute
State implementation procedure of the computer program in the terminal device of the control grabber movement.
The terminal device of the control grabber movement can be desktop PC, notebook, palm PC and high in the clouds
The computing devices such as server.The terminal device of the control grabber movement may include, but be not limited only to, processor, memory.
It will be understood by those skilled in the art that more or less parts can be included, some parts or different portions are either combined
Part, such as the terminal device of the control grabber movement can also include input-output equipment, network access equipment, bus
Deng.
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
It is the control centre of the terminal device of the control grabber movement Deng, the processor, utilizes various interfaces and connection
The various pieces of the terminal device of whole control grabber movement.
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
Control the various functions of the terminal device of grabber movement.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,
Image player function etc.) etc.;Storage data field can store uses created data (such as voice data, electricity according to mobile phone
Script for story-telling etc.) etc..In addition, memory can include high-speed random access memory, nonvolatile memory can also be included, 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/unit of the terminal device of the control grabber movement is with SFU software functional unit
Form is realized and is used as independent production marketing or in use, can be stored in a computer read/write memory medium.Base
In such understanding, the present invention realizes all or part of flow in above-described embodiment method, can also pass through computer program
To instruct the hardware of correlation to complete, described computer program can be stored in a computer-readable recording medium, the calculating
Machine program when being executed by processor, can be achieved above-mentioned each embodiment of the method the step of.Wherein, the computer program includes
Computer program code, the computer program code can be source code form, object identification code form, executable file or certain
A little intermediate forms etc..The computer-readable medium can include:Any entity of the computer program code can be carried
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)
1. the method for grabber movement is controlled in a kind of game, it is characterised in that comprise the following steps:
When listening to move, moving direction is obtained according to the move;
The removable square model of control moves along the moving direction;Wherein, the removable square model is attached with rigid body group
Part and configurable joint assembly;
Control and moved with the removable square model by can configure the rope model that joint is connected along the moving direction;Its
In, the rope model is attached with rigid body component and configurable joint assembly;
Control and moved with the rope model by can configure the grabber model that joint is connected along the moving direction;Wherein,
The grabber model is attached with rigid body component.
2. the method for grabber movement is controlled in game according to claim 1, it is characterised in that also include:
When listening to control button push, move corresponding to generation and in real time obtain control button press when
It is long;
It is then described when listening to move, moving direction is obtained according to the move, is specially:
When receiving move, moving direction is obtained according to the move;
The duration and pre-set velocity pressed according to the control button calculate displacement;
Then the removable square of the control moves along the moving direction, is specially:
The removable square model of control moves the displacement along the moving direction;
Then the control and the removable square model by the rope model that configurable joint is connected along the moving direction
It is mobile, be specially:
Control and move institute along the moving direction by can configure the rope model that joint is connected with the removable square model
State displacement;
Then the control is moved with the rope model by can configure the grabber model that joint is connected along the moving direction,
Specially:
Control and the rope model by can configure the grabber model that is connected of joint along the moving direction move described in away from
From.
3. the method for grabber movement is controlled in game according to claim 1, it is characterised in that the rope model bag
Include at least one ran;Wherein, each ran is attached with rigid body component and configurable joint assembly, and the ran passes through institute
Configurable joint assembly is stated to be attached.
4. the method for grabber movement is controlled in the game according to claims 1 to 3 any one, it is characterised in that logical
The rigid body attribute that the removable square model is set is crossed so that the removable square model can be along a default three-dimensional coordinate
X-axis or the Z axis motion of system.
5. the device of grabber movement is controlled in a kind of game, it is characterised in that including:
Module is monitored in instruction, for when listening to move, moving direction to be obtained according to the move;
First mobile module, for controlling removable square model to be moved along the moving direction;Wherein, the removable square
Model is attached with rigid body component and configurable joint assembly;
Second mobile module, for control with the removable square model by the rope model that configurable joint is connected along institute
State moving direction movement;Wherein, the rope model is attached with rigid body component and configurable joint assembly;
3rd mobile module, for control with the rope model by the grabber model that configurable joint is connected along the shifting
Dynamic direction movement;Wherein, the grabber model is attached with rigid body component.
6. the device of grabber movement is controlled in playing according to claim 5, it is characterised in that also include:
Directive generation module, for when listening to control button push, move corresponding to generation simultaneously to obtain in real time
The duration that control button is pressed;
Then instruction is monitored module and is specifically used for:
When receiving move, moving direction is obtained according to the move;
The duration and pre-set velocity pressed according to the control button calculate displacement;
Then first mobile module is specifically used for:
The removable square model of control moves the displacement along the moving direction;
Then second mobile module is specifically used for:
Control and move institute along the moving direction by can configure the rope model that joint is connected with the removable square model
State displacement;
Then the 3rd mobile module is specifically used for:
Control and the rope model by can configure the grabber model that is connected of joint along the moving direction move described in away from
From.
7. the device of grabber movement is controlled in playing according to claim 5, it is characterised in that the rope model includes
At least one ran;Wherein, the ran is attached with rigid body component and configurable joint assembly, and the ran is matched somebody with somebody by described
Joint assembly is put to be attached.
8. the device of grabber movement is controlled in the game according to claim 4 to 7 any one, it is characterised in that pass through
The rigid body attribute of the removable square model is set so that the removable square model can be along a default three-dimensional system of coordinate
X-axis or Z axis motion.
9. the terminal device of grabber movement is controlled in a kind of game, it is characterised in that including processor, memory and storage
In the memory and it is configured as by the computer program of the computing device, computer described in the computing device
The method that grabber movement is controlled in the game as described in any one in Claims 1-4 is realized during program.
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 that grabber movement is controlled in the game in 1 to 4 described in any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711038038.8A CN107875631A (en) | 2017-10-26 | 2017-10-26 | Control method, apparatus, terminal device and the readable storage medium storing program for executing of grabber movement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711038038.8A CN107875631A (en) | 2017-10-26 | 2017-10-26 | Control method, apparatus, terminal device and the readable storage medium storing program for executing of grabber movement |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107875631A true CN107875631A (en) | 2018-04-06 |
Family
ID=61783010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711038038.8A Pending CN107875631A (en) | 2017-10-26 | 2017-10-26 | Control method, apparatus, terminal device and the readable storage medium storing program for executing of grabber movement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107875631A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109045697A (en) * | 2018-07-27 | 2018-12-21 | 网易(杭州)网络有限公司 | A kind of control method and device of object of which movement |
CN109350966A (en) * | 2018-10-12 | 2019-02-19 | 深圳仓谷创新软件有限公司 | A kind of mobile phone A R grabs doll machine system and exchange method |
US11068626B2 (en) | 2018-10-04 | 2021-07-20 | Nvidia Corporation | Simulating a cable driven system by simulating the effect of cable portions on objects of the system |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1998006023A2 (en) * | 1996-08-02 | 1998-02-12 | Philips Electronics N.V. | Virtual environment manipulation device modelling and control |
JP2002355443A (en) * | 2001-06-01 | 2002-12-10 | Motonobu Nakamura | Merchandise acquisition method and merchandise acquisition device through internet |
CN1455694A (en) * | 2001-01-26 | 2003-11-12 | 日商·万普股份有限公司 | Gam computer system using communication network to obtain award and host computer and gamer terminal of obtaining award for the system |
JP3901466B2 (en) * | 2000-03-16 | 2007-04-04 | 株式会社セガ | Server device, content distribution method, and game program |
JP3933570B2 (en) * | 2002-12-20 | 2007-06-20 | 株式会社バンダイナムコゲームス | Play equipment |
CN102495752A (en) * | 2011-12-05 | 2012-06-13 | 山东大学 | Flexible rope simulation method |
JP2014193243A (en) * | 2013-03-29 | 2014-10-09 | Namco Bandai Games Inc | Server system |
CN104572088A (en) * | 2014-12-26 | 2015-04-29 | 福建工程学院 | Simulation method for 3D (three-dimensional) rope |
JP5989586B2 (en) * | 2013-03-29 | 2016-09-07 | 株式会社バンダイナムコエンターテインメント | Server system |
-
2017
- 2017-10-26 CN CN201711038038.8A patent/CN107875631A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1998006023A2 (en) * | 1996-08-02 | 1998-02-12 | Philips Electronics N.V. | Virtual environment manipulation device modelling and control |
JP3901466B2 (en) * | 2000-03-16 | 2007-04-04 | 株式会社セガ | Server device, content distribution method, and game program |
CN1455694A (en) * | 2001-01-26 | 2003-11-12 | 日商·万普股份有限公司 | Gam computer system using communication network to obtain award and host computer and gamer terminal of obtaining award for the system |
JP2002355443A (en) * | 2001-06-01 | 2002-12-10 | Motonobu Nakamura | Merchandise acquisition method and merchandise acquisition device through internet |
JP3933570B2 (en) * | 2002-12-20 | 2007-06-20 | 株式会社バンダイナムコゲームス | Play equipment |
CN102495752A (en) * | 2011-12-05 | 2012-06-13 | 山东大学 | Flexible rope simulation method |
JP2014193243A (en) * | 2013-03-29 | 2014-10-09 | Namco Bandai Games Inc | Server system |
JP5989586B2 (en) * | 2013-03-29 | 2016-09-07 | 株式会社バンダイナムコエンターテインメント | Server system |
CN104572088A (en) * | 2014-12-26 | 2015-04-29 | 福建工程学院 | Simulation method for 3D (three-dimensional) rope |
Non-Patent Citations (2)
Title |
---|
FANZHANG1990: "https://blog.csdn.net/fanzhang1990/article/details/41862737", 《网络证据2》 * |
无: "http://www.thebigdata.cn/JiShuBoKe/4381.html", 《网络证据1》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109045697A (en) * | 2018-07-27 | 2018-12-21 | 网易(杭州)网络有限公司 | A kind of control method and device of object of which movement |
CN109045697B (en) * | 2018-07-27 | 2022-06-14 | 网易(杭州)网络有限公司 | Object motion control method and device |
US11068626B2 (en) | 2018-10-04 | 2021-07-20 | Nvidia Corporation | Simulating a cable driven system by simulating the effect of cable portions on objects of the system |
US11487919B2 (en) | 2018-10-04 | 2022-11-01 | Nvidia Corporation | Simulating a cable driven system representative of a robot |
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 |
---|---|---|
WO2022021686A1 (en) | Method and apparatus for controlling virtual object, and storage medium and electronic apparatus | |
CN107875631A (en) | Control method, apparatus, terminal device and the readable storage medium storing program for executing of grabber movement | |
CN102145228B (en) | Method and device for constructing interactive video game by using video records | |
CN107861714B (en) | Development method and system of automobile display application based on Intel RealSense | |
CN103258338A (en) | Method and system for driving simulated virtual environments with real data | |
CN107670279A (en) | The development approach and system of 3D web games based on WebGL | |
CN106296778A (en) | Virtual objects motion control method and device | |
CN101510074A (en) | High present sensation intelligent perception interactive motor system and implementing method | |
CN107773978A (en) | Method, apparatus, terminal device and the storage medium of control crawl prop model | |
Montero et al. | Designing and implementing interactive and realistic augmented reality experiences | |
CN107694093A (en) | Prop model grasping means, device, equipment and storage medium are controlled in gaming | |
CN109621419A (en) | The generating means method and device of game role expression, storage medium | |
de Macedo et al. | Experiences with rapid mobile game development using unity engine | |
CN110069037A (en) | Joint virtual emulation debugging system and its method based on intelligent equipment manufacturing | |
CN106621320A (en) | Data processing method of virtual reality terminal and virtual reality terminal | |
CN102608922B (en) | Vega-and-RTW-based real-time visual simulation platform for photoelectric theodolite | |
CN106981232A (en) | A kind of virtual driving simulator based on unity3D | |
CN107895441A (en) | Obtain method, apparatus, equipment and the storage medium of grabber model seized condition | |
CN107661629A (en) | A kind of pull rope weave control method, apparatus, terminal device and storage medium | |
CN110120087A (en) | The label for labelling method, apparatus and terminal device of three-dimensional sand table | |
CN107844195B (en) | Intel RealSense-based development method and system for virtual driving application of automobile | |
CN107789832A (en) | Form method, apparatus, terminal device and the storage medium of complicated impinger | |
CN108427505A (en) | Sense of touch control method, electronic device and computer readable storage medium | |
CN102880470A (en) | Three-dimensional game engine kernel structure | |
CN107789828A (en) | Decorate cord-like state method of adjustment, device, terminal device and storage medium |
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 |
Application publication date: 20180406 |
|
RJ01 | Rejection of invention patent application after publication |