CN107895441A - Obtain method, apparatus, equipment and the storage medium of grabber model seized condition - Google Patents

Obtain method, apparatus, equipment and the storage medium of grabber model seized condition Download PDF

Info

Publication number
CN107895441A
CN107895441A CN201711038037.3A CN201711038037A CN107895441A CN 107895441 A CN107895441 A CN 107895441A CN 201711038037 A CN201711038037 A CN 201711038037A CN 107895441 A CN107895441 A CN 107895441A
Authority
CN
China
Prior art keywords
model
grabber
pawl
branch
grabber model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711038037.3A
Other languages
Chinese (zh)
Other versions
CN107895441B (en
Inventor
陈大伟
王煜琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Lei Lei Amusement Equipment Co Ltd
Original Assignee
Guangzhou Lei Lei Amusement Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Lei Lei Amusement Equipment Co Ltd filed Critical Guangzhou Lei Lei Amusement Equipment Co Ltd
Priority to CN201711038037.3A priority Critical patent/CN107895441B/en
Publication of CN107895441A publication Critical patent/CN107895441A/en
Application granted granted Critical
Publication of CN107895441B publication Critical patent/CN107895441B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/32Coin-freed apparatus for hiring articles; Coin-freed facilities or services for games, toys, sports, or amusements
    • G07F17/34Coin-freed apparatus for hiring articles; Coin-freed facilities or services for games, toys, sports, or amusements depending on the stopping of moving members in a mechanical slot machine, e.g. "fruit" machines
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J13/00Controls for manipulators
    • B25J13/06Control stands, e.g. consoles, switchboards
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J13/00Controls for manipulators
    • B25J13/06Control stands, e.g. consoles, switchboards
    • B25J13/065Control stands, e.g. consoles, switchboards comprising joy-sticks
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F11/00Coin-freed apparatus for dispensing, or the like, discrete articles
    • G07F11/02Coin-freed apparatus for dispensing, or the like, discrete articles from non-movable magazines
    • G07F11/04Coin-freed apparatus for dispensing, or the like, discrete articles from non-movable magazines in which magazines the articles are stored one vertically above the other
    • G07F11/16Delivery means
    • G07F11/165Delivery means using xyz-picker or multi-dimensional article picking arrangements
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/32Coin-freed apparatus for hiring articles; Coin-freed facilities or services for games, toys, sports, or amusements
    • G07F17/326Game play aspects of gaming systems
    • G07F17/3262Player actions which determine the course of the game, e.g. selecting a prize to be won, outcome to be achieved, game to be played
    • G07F17/3265Influencing the position of stopped moving members to achieve a winning arrangement, e.g. nudging, shuffling, holding

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of method for obtaining grabber model seized condition, comprise the following steps:When getting crawl instruction, control grabber model moves downward;The grabber model includes at least one branch's pawl, and branch's pawl is attached with rigid body component, collision device assembly and at least one trigger assembly;When being collided by impinger component detection to grabber model with the prop model in game, branch's pawl of the grabber model is controlled to close up;The prop model is attached with rigid body component and collision device assembly;The state of the prop model is captured during closing up by branch's pawl of trigger assembly acquisition grabber model;The motion of the grabber model is controlled according to the state of the prop model of crawl.Present invention also offers a kind of device, equipment and storage medium for obtaining grabber model seized condition, the accurate seized condition for obtaining grabber model, efficiently judge whether grabber model catches prop model.

Description

Obtain method, apparatus, equipment and the storage medium of grabber model seized condition
Technical field
The present invention relates to computer game field, more particularly to a kind of method for obtaining grabber model seized condition, dress Put, equipment and storage medium.
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 obtain the seized condition of grabber model, how to determine that grabber model catches doll, this All it is urgent problem to be solved.
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 for obtaining grabber model seized condition, dress Put, equipment and storage medium, can accurately obtain the seized condition of grabber model, efficiently judge whether grabber model is caught Has model.
The invention provides a kind of method for obtaining grabber model seized condition, comprise the following steps:
When getting crawl instruction, the grabber model in control game moves downward;Wherein, the grabber model Including at least one branch's pawl, branch's pawl is attached with rigid body component, collision device assembly and at least one trigger assembly;
When being collided by the impinger component detection to the grabber model with the prop model in game, Branch's pawl of the grabber model is controlled to close up;Wherein, the prop model is attached with rigid body component and collision device assembly;
Branch's pawl that the grabber model is obtained by the trigger assembly captures the stage property during closing up The state of model;
The motion of the grabber model is controlled according to the state of the prop model of crawl.
Preferably, the grabber model also includes center column and center piston connector;
The center column is attached with rigid body component and configurable joint assembly, and the center piston connector is attached with just Body component, configurable joint assembly and trigger assembly, branch's pawl are also attached with configurable joint assembly;
The center column connects the center piston connector, the center piston connection by configurable joint assembly Body connects branch's pawl by configurable joint assembly.
Preferably, by setting the configurable joint assembly of the center piston connector to make the center piston connector It can be moved up and down along the Y-axis of a default three-dimensional system of coordinate;
By setting the configurable joint assembly of branch's pawl to enable branch's pawl along a default three-dimensional system of coordinate X-axis rotated for rotary shaft.
Preferably, described when getting crawl instruction, the grabber model in control game moves downward, specific bag Include:
When getting crawl instruction, the grabber model in control game moves downward;
The center piston connector is controlled to move down and control branch's pawl to open.
Preferably, branch's pawl that the grabber model is obtained by the trigger assembly is grabbed during closing up The state of the prop model is taken, is specifically included:
Branch's pawl that the grabber model is detected by the trigger assembly of the center piston connector was closing up Whether the prop model is grabbed in journey;
If so, the branch closed up by the trigger assembly detection prop model of branch's pawl in the grabber model Position in pawl;
When the quantity for detecting the prop model in the grabber model is more than or equal to 2, the grabber is controlled Branch's pawl of model opens and is moved to initial position;
If it is not, the grabber model is controlled to be moved to initial position.
Present invention also offers a kind of device for obtaining grabber model seized condition, including:
Instruction acquisition module, for when getting crawl instruction, the grabber model in control game to move downward;Its In, the grabber model includes at least one branch's pawl, and branch's pawl is attached with rigid body component, collision device assembly and at least One trigger assembly;
Module is closed up in collision, for the road in passing through the impinger component detection to the grabber model and playing When tool model collides, branch's pawl of the grabber model is controlled to close up;Wherein, the prop model is attached with rigid body group Part and collision device assembly;
State acquisition module, branch's pawl for obtaining the grabber model by the trigger assembly were closing up The state of the prop model is captured in journey;
Motion-control module, the state for the prop model according to crawl control the fortune of the grabber model It is dynamic.
Preferably, the grabber model also includes center column and center piston connector;
The center column is attached with rigid body component and configurable joint assembly, and the center piston connector is attached with just Body component, configurable joint assembly and trigger assembly, branch's pawl are also attached with configurable joint assembly;
The center column connects the center piston connector, the center piston connection by configurable joint assembly Body connects branch's pawl by configurable joint assembly.
Preferably, by setting the configurable joint assembly of the center piston connector to make the center piston connector It can be moved up and down along the Y-axis of a default three-dimensional system of coordinate;
By setting the configurable joint assembly of branch's pawl to enable branch's pawl along a default three-dimensional system of coordinate X-axis rotated for rotary shaft.
Preferably, the instruction acquisition module specifically includes:
First control unit, for when getting crawl instruction, the grabber model in control game to move downward;
Second control unit, for controlling the center piston connector to move down and control branch's pawl to open.
Preferably, the state acquisition module specifically includes:
Judging unit is captured, for detecting the grabber model by the trigger assembly of the center piston connector Branch's pawl the prop model whether is grabbed during closing up;
Position acquisition unit, for being grabbed if so, detecting the prop model by the trigger assembly of branch's pawl described Take the position in branch's pawl that device model closes up;
Quantity detection unit, for being more than or equal to 2 when the quantity for detecting the prop model in the grabber model When, control branch's pawl of the grabber model to open and be moved to initial position;
Playback unit, for if it is not, controlling the grabber model to be moved to initial position.
Present invention also offers it is a kind of obtain grabber model seized condition equipment, including processor, memory and It is stored in the memory and is configured as by the computer program of the computing device, meter described in the computing device The method that the acquisition grabber model seized condition described in above-mentioned middle any one is realized during calculation machine 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 of acquisition grabber model seized condition described in above-mentioned middle any one.
The embodiments of the invention provide a kind of method, apparatus for obtaining grabber model seized condition, equipment and storage to be situated between Matter, have the advantages that:
The embodiment of the present invention is by controlling the grabber model in playing to move downward;The grabber model is included at least One branch's pawl, branch's pawl are attached with rigid body component, collision device assembly and at least one trigger assembly, then by described Impinger component detection to the grabber model with game in prop model collide when, control the grabber model Branch's pawl close up;The prop model is attached with rigid body component and collision device assembly, is obtained finally by the trigger assembly Branch's pawl of the grabber model is taken to capture the state of the prop model during closing up with the road according to crawl The state for having model controls the motion of the grabber model, the accurate seized condition for obtaining grabber model, efficiently judges institute State whether grabber model grabs the prop model, the efficient deterministic process that detects effectively is avoided as grabbed multiple stage properties The generation of the abnormal conditions such as model, the grabber model normal work is controlled, lift user's game experiencing.
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 of the method for the acquisition grabber model seized condition that first embodiment of the invention provides.
Fig. 2 is the schematic diagram that branch's pawl rigid body attribute that first embodiment of the invention provides is set.
Fig. 3 is the schematic diagram for 3 branch's pawls that first embodiment of the invention provides.
Fig. 4 is the schematic diagram for the center column that first embodiment of the invention provides.
Fig. 5 is the schematic diagram for the center piston body that first embodiment of the invention provides.
Fig. 6 is the schematic diagram that the configurable joint assembly attribute for the center column that first embodiment of the invention provides is set.
Fig. 7 is that the trigger attribute that first embodiment of the invention provides sets schematic diagram.
Fig. 8 is the distribution schematic diagram of trigger in the grabber model that first embodiment of the invention provides.
Fig. 9 is showing for the configurable joint assembly attribute setting for the center piston connector that first embodiment of the invention provides It is intended to.
Figure 10 is that the center piston connector that first embodiment of the invention provides is preset along one in the Y-axis of three-dimensional system of coordinate The schematic diagram of motion.
Figure 11 is that the center piston connector that first embodiment of the invention provides is preset along one under the Y-axis of three-dimensional system of coordinate The schematic diagram of motion.
Figure 12 is the schematic diagram that the configurable joint assembly attribute for branch's pawl that first embodiment of the invention provides is set.
Figure 13 is that branch's pawl that first embodiment of the invention provides does rotation fortune along under an X axis for presetting three-dimensional system of coordinate Dynamic schematic diagram.
Figure 14 is that branch's pawl that first embodiment of the invention provides does rotation fortune along an X axis for presetting three-dimensional system of coordinate Dynamic schematic diagram.
Figure 15 is the schematic diagram that the grabber model that first embodiment of the invention provides opens.
Figure 16 is the schematic diagram that the grabber model that first embodiment of the invention provides closes up.
Figure 17 is the structural representation of the device for the acquisition grabber model seized condition that second 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 for obtaining grabber model seized condition, it can Performed, and comprised the following steps by acquisition grabber model seized condition equipment:
S11, when getting crawl instruction, the grabber model in control game moves downward;Wherein, the grabber Model includes at least one branch's pawl, and branch's pawl is attached with rigid body component, collision device assembly and at least one trigger group Part.
In embodiments of the present invention, the grabber model includes at least one branch's pawl, the acquisition grabber model Seized condition equipment is that branch's pawl adds rigid body component, and rigid body enables object to be moved under physical control, and rigid body can pass through Capacity and moment of torsion, object is set to be moved as reality mode, any object is wanted to be affected by gravity, the power applied by script Effect, or interacted by NVIDIA PhysX physical engines with other objects, it is necessary to comprising a rigid body component, refer to Fig. 2, in embodiments of the present invention, acquisition grabber model seized condition equipment setting branch's pawl quality (Mass) is 0.01, while whether be kinematics (Is Kinematic) option, branch's pawl is no longer driven by physical engine if activating, and Operation can only be brought by becoming, and the motion to branch's pawl rigid body is constrained, and sets branch's pawl default one X-axis, Z axis in three-dimensional system of coordinate move;Preferably, referring to Fig. 3, the grabber model includes 3 branch's pawls, institute State branch's pawl and be separated by 120 degree with the default center of circle and placed.Fig. 4 and Fig. 5 is referred to, the grabber model also includes newel Body and center piston connector, cylinder schematic diagram centered on Fig. 4, piston connector schematic diagram centered on Fig. 5 are described to obtain crawl Device model seized condition equipment is the additional rigid body component of the center column and the center piston connector;It is meanwhile described It is that branch's pawl, the center column and the center piston connector are additional can to obtain grabber model seized condition equipment Configure joint assembly so that the center column connects the center piston connector by configurable joint assembly, in described Plug connector of being indecisive and changeable connects branch's pawl by configurable joint assembly, and there is the main function of two classes in configurable joint:Mobile/ It is rotationally constrained and move/spin up, can be each rotary shaft and each type of sports specifies constraint, X-axis translates (XMotion), Y-axis translation (YMotion) and Z axis translation (ZMotion) allow definition to be translated along out-of-alignment, X-axis angular movement (Angular XMotion), Y-axis angular movement (Angular YMotion) and Z axis angular movement (Angular ZMotion) allow Definition rotates along out-of-alignment, and these attributes can be configured to free (unrestricted), restricted (to be limited to user's definition Constraint) or locking (not moving), referring to Fig. 6, Fig. 6 be the center column configurable joint attribute set signal Figure, in embodiments of the present invention, the acquisition grabber model seized condition equipment translate to X-axis translation, Y-axis translation and Z axis Locking setting is carried out, X-axis angular movement, Y-axis angular movement and Z axis angle are carried out being restricted setting;The configurable joint also includes Bounce (Bouncyness), spring force (Spring) and damping (Damper), bounce, spring force and damping define object Behavior during its border is moved to, what these parameters were just as on all limited translation shafts, if these three parameters Value both is set to 0, object after border is reached can stop motion immediately, bounce cause object reach rebound behind border it is remote Object is retracted border by border, spring force and damping using the strength of spring.These parameters can soften border so that object energy It is enough rather than to reach border and just stop immediately through being pulled to come again behind border, X-axis driving (XDrive), Y-axis driving (YDrive) and Z axis driving (ZDrive) attribute can be such that object is moved along specific axle.The pattern each driven specifies thing Body is to be moved towards target location or be all towards target velocity motion or both.For example, if the pattern for setting X-axis to drive is Position, object can towards target location->X is moved, and when the pattern of driving is position, its position spring numerical value defines thing How body moves to target location.Likewise, when the pattern of driving is speed, how its maximum intensity numerical value defines object Moved to target velocity.There is rotary acceleration attribute in the configurable joint:X-axis angle driving (Angular XDrive), YZ Shaft angle drives (Angular YZDrive) and interpolation driving (Slerp Drive), function and the driven in translation function of these drivings It is essentially identical.Difference is that interpolation driving is different from the function of showing of angle driving.Can be with rotation driving pattern Selection is driven using angle or driven using interpolation, and both can not be used simultaneously.The acquisition grabber model seized condition Equipment is also branch's pawl addition collision device assembly, and the rigid body component and collision device assembly of branch's pawl are branch's pawls The basis that can be collided, impinger and rigid body together, to make collision.If two rigid bodies are hit together, physics draws Collision will not be calculated unless they include a collision device assembly by holding up.There is no the rigid body of impinger, meeting phase in physical analogy Mutually penetrate.Impinger (Collider) includes following several types:1st, Box Collider (box impinger) --- profile is One cube;2nd, Sphere Collider (spherical impinger) --- profile is a spheroid;3、Cupsule Collider (capsule body impinger) --- profile is a capsule body;4th, Mesh Collider (grid impinger) --- grid impinger In have a Mesh attribute, shape of the object of different models as grid impinger can be quoted to him.It is described to obtain crawl Device model seized condition equipment also adds at least one trigger assembly for branch's pawl, and is the center piston connector Additional triggers device assembly, the trigger assembly can detect crash response, but not produce collision effect, referring to Fig. 7, institute Trigger assembly is stated to choose the acquisition of IsTrigger Attributions selections frame in the impinger component property panel, impinger is tactile The carrier of device is sent out, and trigger is an attribute with impinger, it is preferable that referring to Fig. 8, the acquisition grabber mould Type seized condition equipment is that the center piston connector adds a trigger assembly, is that branch's pawl additional 2 touches respectively Device assembly is sent out, 7 trigger assemblies work together effectively avoids the appearance of abnormal conditions, controls the normal work of grabber model Make.
In embodiments of the present invention, referring to Fig. 9, the acquisition grabber model seized condition equipment passes through described in setting The attribute of the configurable joint assembly of center piston connector, it is described acquisition grabber model seized condition equipment to X-axis translation, Z axis translation, X-axis angular movement, Y-axis angular movement and Z axis angle carry out locking setting, and Y-axis translation is carried out being restricted setting, referred to Figure 10 and Figure 11 so that the center piston connector can move up and down along the y-axis of a default three-dimensional system of coordinate;Refer to Figure 12, the grabber model seized condition equipment that obtains by setting the attribute of the configurable joint assembly of branch's pawl, The acquisition grabber model seized condition equipment is carried out to X-axis translation, Y-axis translation, Z axis translation, Y-axis angular movement and Z axis angle Locking is set, and X-axis angular movement is carried out to be restricted setting, refers to Figure 13 and Figure 14 so that branch's pawl can be pre- along one If the X-axis of three-dimensional system of coordinate rotates for rotary shaft, it is preferable that the grabber model includes 3 branch's pawls, described point Holding dog is separated by 120 degree as the center of circle using the center piston connector and placed.
In embodiments of the present invention, the grabber model seized condition equipment that obtains is obtaining the crawl of controller transmission During instruction, the grabber model in control game moves downward, and is controlled while controlling the grabber model to move downward Make the center piston connector to move downward, refer to Figure 15, and control branch's pawl upwards about default three-dimensional system of coordinate X-axis rotate to reach opening purpose, so far, it is described obtain grabber model seized condition equipment grasping movement it is accurate It is standby to finish into seized condition.
S12, touched when by the impinger component detection to the grabber model and the prop model in game When hitting, branch's pawl of the grabber model is controlled to close up;Wherein, the prop model is attached with rigid body component and impinger group Part.
In embodiments of the present invention, 16 are referred to, the acquisition grabber model seized condition equipment passes through the collision Device assembly detects whether the grabber model collides with the prop model in game, when either branch pawl and the stage property When model collides, collision information is sent to branch's pawl by the collision device assembly of branch's pawl, so as to which described obtain captures Device model seized condition equipment obtains the collision information, controls X-axis of the branch's pawl downwards around default three-dimensional system of coordinate to do The purpose that rotary motion is closed up with reaching.
S13, by the trigger assembly obtain the grabber model branch's pawl captured during closing up described in The state of prop model.
In embodiments of the present invention, the acquisition grabber model seized condition equipment passes through the center piston connector Trigger assembly detect branch's pawl of the grabber model prop model whether grabbed during closing up;It is described The trigger assembly of center piston connector can cover all spaces in grabber model when branch's pawl closes up, inspection Survey whether the grabber model catches prop model, if catching prop model, detect the prop model caught Quantity, and give the feedback of the information of detection to the center piston connector, so that the acquisition grabber model seized condition Equipment obtains information, if the acquisition grabber model seized condition equipment gets the prop model in the grabber model Quantity when being more than or equal to 2, the branch for obtaining grabber model seized condition equipment and controlling the grabber model Pawl opens and is moved to initial position, so as to avoid grabbing the generation of the abnormal conditions of multiple prop models;If the acquisition When the quantity that grabber model seized condition equipment gets the prop model in the grabber model is 1, the acquisition Grabber model seized condition equipment continues next process, that is, controls the motion of the grabber model;If the center piston The trigger assembly of connector detects that the grabber model grabs prop model, then the acquisition grabber model crawl Status devices detect the prop model in branch's pawl that the grabber model closes up by the trigger assembly of branch's pawl Position, the grabber model is controlled with facilitating;If the trigger assembly of the center piston connector is not examined Measure the grabber model and grab prop model, then the acquisition grabber model seized condition equipment controls the crawl Device model is moved to initial position.
S14, the motion of the grabber model is controlled according to the state of the prop model of crawl.
In embodiments of the present invention, when the acquisition grabber model seized condition equipment is detected by trigger assembly When the grabber model grabs 1 prop model, according to the grip of the grabber model and the weight of the prop model Power controls the grabber model to capture the prop model movement.
In summary, the embodiments of the invention provide a kind of method for obtaining grabber model seized condition, control is passed through Grabber model in game is moved downward, and the grabber model includes at least one branch's pawl, and branch's pawl is attached with Rigid body component, collision device assembly and at least one trigger assembly, then pass through the impinger component detection to the grabber When model collides with the prop model in game, branch's pawl of the grabber model is controlled to close up, the prop model It is attached with rigid body component and collision device assembly;Branch's pawl that the grabber model is obtained finally by the trigger assembly exists The state that the prop model is captured during closing up controls the grabber with the state of the prop model according to crawl The motion of model, the accurate seized condition for obtaining grabber model, it is described efficiently to judge whether the grabber model grabs Prop model, the efficient generation for detecting deterministic process and effectively avoiding such as grabbing multiple prop model abnormal conditions, control The grabber model normal work, lift user's game experiencing.
Figure 17 is referred to, second embodiment of the invention additionally provides a kind of device for obtaining grabber model seized condition, Including:
Instruction acquisition module 11, for when getting crawl instruction, the grabber model in control game to move downward; Wherein, the grabber model includes at least one branch's pawl, and branch's pawl is attached with rigid body component, collision device assembly and extremely A few trigger assembly.
Module 12 is closed up in collision, in by the impinger component detection to the grabber model and game When prop model collides, branch's pawl of the grabber model is controlled to close up;Wherein, the prop model is attached with rigid body Component and collision device assembly.
State acquisition module 13, branch's pawl for obtaining the grabber model by the trigger assembly are closing up During capture the state of the prop model.
Motion-control module 14, the state for the prop model according to crawl control the fortune of the grabber model It is dynamic.
Preferably, the grabber model also includes center column and center piston connector.
The center column is attached with rigid body component and configurable joint assembly, and the center piston connector is attached with just Body component, configurable joint assembly and trigger assembly, branch's pawl are also attached with configurable joint assembly.
The center column connects the center piston connector, the center piston connection by configurable joint assembly Body connects branch's pawl by configurable joint assembly.
Preferably, by setting the configurable joint assembly of the center piston connector to make the center piston connector It can be moved up and down along the y-axis of a default three-dimensional system of coordinate.
By setting the configurable joint assembly of branch's pawl to enable branch's pawl along a default three-dimensional system of coordinate Z-axis rotated for rotary shaft.
Preferably, the instruction acquisition module specifically includes:
First control unit, for when getting crawl instruction, the grabber model in control game to move downward.
Second control unit, for controlling the center piston connector to move down and control branch's pawl to open.
Preferably, the state acquisition module specifically includes:
Judging unit is captured, for detecting the grabber model by the trigger assembly of the center piston connector Branch's pawl the prop model whether is grabbed during closing up.
Position acquisition unit, for being grabbed if so, detecting the prop model by the trigger assembly of branch's pawl described Take the position in branch's pawl that device model closes up.
Quantity detection unit, for being more than or equal to 2 when the quantity for detecting the prop model in the grabber model When, control branch's pawl of the grabber model to open and be moved to initial position.
Playback unit, for if it is not, controlling the grabber model to be moved to initial position.
The equipment for the acquisition grabber model seized condition that third embodiment of the invention provides.The acquisition crawl of the embodiment The equipment of device model seized condition includes:Processor, memory and it is stored in the memory and can be in the processor The computer program of upper operation, such as obtain the program of grabber model seized condition.Computer described in the computing device The step in above-mentioned each embodiment of the method for obtaining grabber model seized condition, such as the step shown in Fig. 1 are realized during program Rapid S11.Or each module/unit in above-mentioned each device embodiment is realized described in the computing device during computer program Module 12 is closed up in function, such as collision.
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 equipment of the acquisition grabber model seized condition.
It is described obtain grabber model seized condition equipment can be desktop PC, notebook, palm PC and The computing devices such as cloud server.The equipment for obtaining grabber model seized condition may include, but be not limited only to, and handle Device, memory.It will be understood by those skilled in the art that some parts or not can be either combined with more or less parts Same part, such as the equipment for obtaining grabber model seized condition can also include input-output equipment, network insertion 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 It is the control centre of the equipment of the acquisition grabber model seized condition Deng, the processor, utilizes various interfaces and circuit The various pieces of the whole equipment for obtaining grabber model seized condition of connection.
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 Obtain the various functions of the equipment of grabber model seized condition.The memory can mainly include storing program area and storage number According to area, wherein, storing program area can storage program area, (for example sound plays work(to the application program needed at least one function Energy, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as voice data, Phone directory etc.) etc..In addition, memory can include high-speed random access memory, nonvolatile memory, example 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 module/unit of the integration of equipments for obtaining grabber model seized condition is with software function list The form of member is realized and is used as independent production marketing or in use, can be stored in a computer read/write memory medium In.Based on such understanding, the present invention realizes all or part of flow in above-described embodiment method, can also pass through computer Program instructs the hardware of correlation to complete, and described computer program can be stored in a computer-readable recording medium, should Computer program when being executed by processor, can be achieved above-mentioned each embodiment of the method the step of.Wherein, the computer program Including computer program code, the computer program code can be source code form, object identification code form, executable file Or some intermediate forms etc..The computer-readable medium can include:Any of the computer program code can be carried 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 the computer-readable medium includes can be according in jurisdiction Legislation and the requirement of patent practice carry out appropriate increase and decrease, such as in some jurisdictions, according to legislation and patent practice, meter Calculation machine 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. A kind of 1. method for obtaining grabber model seized condition, it is characterised in that comprise the following steps:
    When getting crawl instruction, the grabber model in control game moves downward;Wherein, the grabber model includes At least one branch's pawl, branch's pawl are attached with rigid body component, collision device assembly and at least one trigger assembly;
    When being collided by the impinger component detection to the grabber model with the prop model in game, control Branch's pawl of the grabber model closes up;Wherein, the prop model is attached with rigid body component and collision device assembly;
    Branch's pawl that the grabber model is obtained by the trigger assembly captures the prop model during closing up State;
    The motion of the grabber model is controlled according to the state of the prop model of crawl.
  2. 2. the method according to claim 1 for obtaining grabber model seized condition, it is characterised in that the grabber mould Type also includes center column and center piston connector;
    The center column is attached with rigid body component and configurable joint assembly, and the center piston connector is attached with rigid body group Part, configurable joint assembly and trigger assembly, branch's pawl are also attached with configurable joint assembly;
    The center column connects the center piston connector by configurable joint assembly, and the center piston connector leads to Cross configurable joint assembly and connect branch's pawl.
  3. 3. the method according to claim 2 for obtaining grabber model seized condition, it is characterised in that by described in setting The configurable joint assembly of center piston connector enables Y-axis of the center piston connector along a default three-dimensional system of coordinate Move up and down;
    By setting the configurable joint assembly of branch's pawl to enable X-axis of the branch's pawl along a default three-dimensional system of coordinate Rotated for rotary shaft.
  4. 4. the method according to claim 3 for obtaining grabber model seized condition, it is characterised in that described to get During crawl instruction, the grabber model in control game moves downward, and specifically includes:
    When getting crawl instruction, the grabber model in control game moves downward;
    The center piston connector is controlled to move down and control branch's pawl to open.
  5. 5. the method according to claim 4 for obtaining grabber model seized condition, it is characterised in that described by described Branch's pawl of the trigger assembly acquisition grabber model captures the state of the prop model, specific bag during closing up Include:
    Branch's pawl of the grabber model is detected during closing up by the trigger assembly of the center piston connector Whether the prop model is grabbed;
    If so, the prop model is detected in branch's pawl that the grabber model closes up by the trigger assembly of branch's pawl Position and the prop model in the grabber model quantity;
    When the quantity for detecting the prop model in the grabber model is more than or equal to 2, the grabber model is controlled Branch's pawl open and be moved to initial position;
    If it is not, the grabber model is controlled to be moved to initial position.
  6. A kind of 6. device for obtaining grabber model seized condition, it is characterised in that including:
    Instruction acquisition module, for when getting crawl instruction, the grabber model in control game to move downward;Wherein, The grabber model includes at least one branch's pawl, and branch's pawl is attached with rigid body component, collision device assembly and at least one Individual trigger assembly;
    Module is closed up in collision, for the stage property mould in passing through the impinger component detection to the grabber model and playing When type collides, branch's pawl of the grabber model is controlled to close up;Wherein, the prop model be attached with rigid body component and Collide device assembly;
    State acquisition module, for obtaining branch's pawl of the grabber model by the trigger assembly during closing up Capture the state of the prop model;
    Motion-control module, the state for the prop model according to crawl control the motion of the grabber model.
  7. 7. the device according to claim 6 for obtaining grabber model seized condition, it is characterised in that the grabber mould Type also includes center column and center piston connector;
    The center column is attached with rigid body component and configurable joint assembly, and the center piston connector is attached with rigid body group Part, configurable joint assembly and trigger assembly, branch's pawl are also attached with configurable joint assembly;
    The center column connects the center piston connector by configurable joint assembly, and the center piston connector leads to Cross configurable joint assembly and connect branch's pawl.
  8. 8. the device according to claim 7 for obtaining grabber model seized condition, it is characterised in that by described in setting The configurable joint assembly of center piston connector enables Y-axis of the center piston connector along a default three-dimensional system of coordinate Move up and down;
    By setting the configurable joint assembly of branch's pawl to enable X-axis of the branch's pawl along a default three-dimensional system of coordinate Rotated for rotary shaft.
  9. 9. a kind of equipment for obtaining grabber model seized condition, it is characterised in that including processor, memory and be stored in In the memory and it is configured as by the computer program of the computing device, computer journey described in the computing device The method that the acquisition grabber model seized condition as described in any one in claim 1 to 5 is realized during sequence.
  10. 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 The method that profit requires the acquisition grabber model seized condition described in any one in 1 to 5.
CN201711038037.3A 2017-10-26 2017-10-26 Method, device and equipment for acquiring grabbing state of grabber model and storage medium Active CN107895441B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711038037.3A CN107895441B (en) 2017-10-26 2017-10-26 Method, device and equipment for acquiring grabbing state of grabber model and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711038037.3A CN107895441B (en) 2017-10-26 2017-10-26 Method, device and equipment for acquiring grabbing state of grabber model and storage medium

Publications (2)

Publication Number Publication Date
CN107895441A true CN107895441A (en) 2018-04-10
CN107895441B CN107895441B (en) 2021-01-05

Family

ID=61803204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711038037.3A Active CN107895441B (en) 2017-10-26 2017-10-26 Method, device and equipment for acquiring grabbing state of grabber model and storage medium

Country Status (1)

Country Link
CN (1) CN107895441B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
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
CN110379240A (en) * 2019-06-24 2019-10-25 南方电网调峰调频发电有限公司 A kind of power station maintenance simulation training system based on virtual reality technology
CN111569407A (en) * 2019-02-15 2020-08-25 株式会社万代南梦宫游艺 Accessory and prize acquisition device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004026415A2 (en) * 2002-09-18 2004-04-01 Benchmark Entertainment Lc Crane amusement game with vertically adjustable play field
CN101118652A (en) * 2007-09-06 2008-02-06 上海交通大学 Three-dimensional model building of bicycle impact accidents and optimizing reappearance method
CN102663808A (en) * 2012-02-29 2012-09-12 中山大学 Method for establishing rigid body model based on three-dimensional model in digital home entertainment
CN204973017U (en) * 2015-09-23 2016-01-20 广州市希力电子科技有限公司 Mechanical gripper of gift game machine
US20160073584A1 (en) * 2014-09-12 2016-03-17 Washington State University Robotic systems, methods, and end-effectors for harvesting produce
CN105930588A (en) * 2016-04-21 2016-09-07 奇弩(北京)科技有限公司 Physical engine-based robot action generation method
CN205621178U (en) * 2016-04-18 2016-10-05 广州龙赢动漫科技有限公司 VR virtual reality present machine
CN106861178A (en) * 2017-03-06 2017-06-20 张新 A kind of doll machine three claw robot
KR20170090833A (en) * 2016-01-29 2017-08-08 테크빌교육 주식회사 Method and apparatus for performing three dimensional modeling by the surfacing of assembled brick

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004026415A2 (en) * 2002-09-18 2004-04-01 Benchmark Entertainment Lc Crane amusement game with vertically adjustable play field
CN101118652A (en) * 2007-09-06 2008-02-06 上海交通大学 Three-dimensional model building of bicycle impact accidents and optimizing reappearance method
CN102663808A (en) * 2012-02-29 2012-09-12 中山大学 Method for establishing rigid body model based on three-dimensional model in digital home entertainment
US20160073584A1 (en) * 2014-09-12 2016-03-17 Washington State University Robotic systems, methods, and end-effectors for harvesting produce
CN204973017U (en) * 2015-09-23 2016-01-20 广州市希力电子科技有限公司 Mechanical gripper of gift game machine
KR20170090833A (en) * 2016-01-29 2017-08-08 테크빌교육 주식회사 Method and apparatus for performing three dimensional modeling by the surfacing of assembled brick
CN205621178U (en) * 2016-04-18 2016-10-05 广州龙赢动漫科技有限公司 VR virtual reality present machine
CN105930588A (en) * 2016-04-21 2016-09-07 奇弩(北京)科技有限公司 Physical engine-based robot action generation method
CN106861178A (en) * 2017-03-06 2017-06-20 张新 A kind of doll machine three claw robot

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
未公开: "第五章 物理引擎(U3D)", 《HTTP://M.BAIDU.COM/SF_EDU_WENKU/VIEW/8172E25EF18583D049645991》 *
罗捷: "基于Unity3D的搬运机械手仿真", 《大众科技》 *

Cited By (4)

* Cited by examiner, † Cited by third party
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
CN111569407A (en) * 2019-02-15 2020-08-25 株式会社万代南梦宫游艺 Accessory and prize acquisition device
CN110379240A (en) * 2019-06-24 2019-10-25 南方电网调峰调频发电有限公司 A kind of power station maintenance simulation training system based on virtual reality technology

Also Published As

Publication number Publication date
CN107895441B (en) 2021-01-05

Similar Documents

Publication Publication Date Title
Bideau et al. Real handball goalkeeper vs. virtual handball thrower
CN107895441A (en) Obtain method, apparatus, equipment and the storage medium of grabber model seized condition
CN112001989B (en) Virtual object control method and device, storage medium and electronic device
CN103530495B (en) Augmented reality simulation continuum
CN105765488B (en) The motion control of virtual environment
CN107773978A (en) Method, apparatus, terminal device and the storage medium of control crawl prop model
US8957858B2 (en) Multi-platform motion-based computer interactions
CN105797319B (en) A kind of badminton data processing method and device
US20020123812A1 (en) Virtual assembly design environment (VADE)
CN107694093A (en) Prop model grasping means, device, equipment and storage medium are controlled in gaming
JP2005507722A5 (en)
CN107661629A (en) A kind of pull rope weave control method, apparatus, terminal device and storage medium
CN106621320A (en) Data processing method of virtual reality terminal and virtual reality terminal
CN107875631A (en) Control method, apparatus, terminal device and the readable storage medium storing program for executing of grabber movement
CN107292955A (en) The methods of exhibiting and system of a kind of industrial equipment operation health status
CN100419796C (en) Movement of a virtual articulated object in a virtual environment by preventing collisions between the articulated object and the environment
CN106960475A (en) Click on processing method and processing device, storage medium and processor in the position of threedimensional model
CN108229678A (en) Network training method, method of controlling operation thereof, device, storage medium and equipment
CN107807813A (en) A kind of information processing method and terminal
CN108614637A (en) Intelligent terminal and its sensing control method, the device with store function
CN107172136A (en) The synchronous method and device of voxel data
US8842120B2 (en) Physics rules based animation engine
CN107688389A (en) The optimization method and device of VR grasping movements
CN112181139B (en) Cooperative control interaction method for virtual reality and mixed reality
CN107895067A (en) Realize method, apparatus, terminal device and storage medium that doll model drops

Legal Events

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