CN107008006A - 一种在vr中物体触碰的方法 - Google Patents
一种在vr中物体触碰的方法 Download PDFInfo
- Publication number
- CN107008006A CN107008006A CN201710243991.XA CN201710243991A CN107008006A CN 107008006 A CN107008006 A CN 107008006A CN 201710243991 A CN201710243991 A CN 201710243991A CN 107008006 A CN107008006 A CN 107008006A
- Authority
- CN
- China
- Prior art keywords
- touching
- component
- instruction
- functional modules
- present
- 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.)
- Withdrawn
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
- A63F13/57—Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
- A63F13/577—Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using determination of contact between game characters or objects, e.g. to avoid collision between virtual racing cars
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04815—Interaction with a metaphor-based environment or interaction object displayed as three-dimensional, e.g. changing the user viewpoint with respect to the environment or object
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/60—Methods for processing data by generating or executing the game program
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/80—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
- A63F2300/8082—Virtual reality
Abstract
一种在VR中物体触碰的方法,包括步骤:(1)在VR场景中创建物体,并挂载触碰组件;(2)查询触碰组件,向触碰组件发出触碰指令;(3)对触碰指令进行处理,并上发触碰指令给物体;(4)物体通过表现模块表达触碰行为。本发明的在VR中物体触碰的方法,可以对游戏场景中的任意物体挂载触碰组件,场景中的物体对于触碰组件接收到的碰触指令,通过表现模块做出自定义的表现形式。
Description
技术领域
本发明涉及虚拟现实技术领域,特别是涉及一种在VR中物体触碰的方法。
背景技术
现有的游戏中,玩家在拾取、打击及吓唬动物NPC时,仅能通过对话框或者场景视频的形式,向玩家体现上述相关过程的实现,十分单一及枯燥,很难使玩家产生身临其境的感觉。
为此,提出一种新的在VR中物体触碰的方法,能够真实的体现触碰物体的过程,使玩家身临其境的体验游戏,成为亟待解决的问题。
发明内容
为了解决现有技术存在的不足,本发明的目的在于提供一种在VR中物体触碰的方法,能够真实的体现触碰物体的过程,使玩家身临其境的体验游戏。
为实现上述目的,本发明提供的在VR中物体触碰的方法,包括以下步骤:
(1)在VR场景中创建物体,并挂载触碰组件;(2)查询触碰组件,向触碰组件发出触碰指令;(3)对触碰指令进行处理,并上发触碰指令给物体;(4)物体通过表现模块表达触碰行为。
所述步骤(2)进一步包括:查询预设范围内是否具有触碰组件,如查询到触碰组件,则向触碰组件发出触碰指令。
所述步骤(3)进一步包括:所述触碰指令,包括拾取、打击或吓唬动物NPC指令。
所述步骤(4)进一步包括:表现模块根据触碰指令,实现物体的拾取、打击或吓唬动物NPC的表现方式。
所述步骤(4)进一步包括:表现模块表现为人机交互界面。
本发明的在VR中物体触碰的方法,可以对游戏场景中的任意物体挂载触碰组件,场景中的物体对于触碰组件接收到的碰触指令,通过表现模块做出自定义的表现形式。
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。
附图说明
附图用来提供对本发明的进一步理解,并且构成说明书的一部分,并与本发明的实施例一起,用于解释本发明,并不构成对本发明的限制。在附图中:
图1为根据本发明的在VR中物体触碰的方法流程图;
图2为根据本发明的手柄控制器查询到物体的界面截图;
图3为根据本发明的手柄控制器抓起物体的界面截图;
图4为根据本发明的表现模块表现出来的用户交互界面的截图。
具体实施方式
以下结合附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。
图1为根据本发明的在VR中物体触碰的方法流程图,下面将参考图1,对本发明的在VR中物体触碰的方法进行详细描述。
在步骤101,在VR场景中创建物体,并在该物体上挂载触碰组件,触碰组件用以等待玩家的触碰指令;
该步骤中,可以在VR场景中创建任意物件,为任意物体挂载触碰组件,可使该物体成为可触碰物体。
在步骤102,玩家的手柄控制器查询预设范围内是否具有触碰组件,如查询到触碰组件,则向触碰组件发出触碰指令;
该步骤中,玩家的手柄控制器不停地查询预设范围内的物体是否挂载有触碰组件,从而查询到预设范围内的可触碰物体。
图2为根据本发明的手柄控制器查询到物体的界面截图,如图2所示,玩家的手柄控制器,查询到载有触碰组件的可触碰物体为一只青蛙。
玩家的手柄控制器获取到预设范围内的可触碰物体后,向可触碰物体挂载的触碰组件发出触碰指令。
在步骤103,触碰组件处理触碰指令并上发给挂载该触碰组件的物体;
该步骤中,触碰组件可扩展触碰指令,以实现手柄控制器的不同操作指令。例如,当触碰指令为拾取、打击及吓唬动物NPC指令时,触碰组件对上述指令处理后发送给挂载该触碰组件的物体。
在步骤104,物体接收到触碰指令后,通过表现模块表达触碰行为。
该步骤中,触碰物体根据触碰指令做出相应的反应,并上发到表现模块,表现模块根据触碰指令做出任意的表现。
不同的物体接收到触碰组件上发的触碰指令后,通过表现模块处理触碰指令,实现拾取、打击及吓唬动物NPC等多样化的表现方式。
图3为根据本发明的手柄控制器抓起物体的界面截图,如图3所示,可触碰物体青蛙通过表现模块表达了被手柄抓起的触碰行为。
在一种实施方式中,物体的表现模块表现为UI(用户交互界面),用以实现在VR游戏中的UI操作,例如,通过表现模块实现UI的按钮选择等交互操作。
图4为根据本发明的表现模块表现出来的用户交互界面的截图。如图4所示,表现模块表现为具有按钮选择等交互操作的用户交互界面。
本发明的在VR中物体触碰的方法,可以对游戏场景中的任意物体挂载触碰组件,场景中的物体对于触碰组件接收到的碰触指令,通过表现模块做出自定义的表现形式。
本领域普通技术人员可以理解:以上所述仅为本发明的优选实施例而已,并不用于限制本发明,尽管参照前述实施例对本发明进行了详细的说明,对于本领域的技术人员来说,其依然可以对前述各实施例记载的技术方案进行修改,或者对其中部分技术特征进行等同替换。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
Claims (5)
1.一种在VR中物体触碰的方法,其特征在于,包括以下步骤:
(1)在VR场景中创建物体,并挂载触碰组件;
(2)查询触碰组件,向触碰组件发出触碰指令;
(3)对触碰指令进行处理,并上发触碰指令给物体;
(4)物体通过表现模块表达触碰行为。
2.根据权利要求1所述在VR中物体触碰的方法,其特征在于,所述步骤(2)进一步包括:查询预设范围内是否具有触碰组件,如查询到触碰组件,则向触碰组件发出触碰指令。
3.根据权利要求1所述在VR中物体触碰的方法,其特征在于,所述步骤(3)进一步包括:所述触碰指令,包括拾取、打击或吓唬动物NPC指令。
4.根据权利要求1所述在VR中物体触碰的方法,其特征在于,所述步骤(4)进一步包括:表现模块根据触碰指令,实现物体的拾取、打击或吓唬动物NPC的表现方式。
5.根据权利要求1所述在VR中物体触碰的方法,其特征在于,所述步骤(4)进一步包括:表现模块表现为人机交互界面。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710243991.XA CN107008006A (zh) | 2017-04-14 | 2017-04-14 | 一种在vr中物体触碰的方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710243991.XA CN107008006A (zh) | 2017-04-14 | 2017-04-14 | 一种在vr中物体触碰的方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107008006A true CN107008006A (zh) | 2017-08-04 |
Family
ID=59446108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710243991.XA Withdrawn CN107008006A (zh) | 2017-04-14 | 2017-04-14 | 一种在vr中物体触碰的方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107008006A (zh) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150302660A1 (en) * | 2014-04-18 | 2015-10-22 | Magic Leap, Inc. | Systems and methods for using image based light solutions for augmented or virtual reality |
CN106139587A (zh) * | 2016-08-05 | 2016-11-23 | 惠州Tcl移动通信有限公司 | 一种基于vr游戏用来规避现实环境障碍物的方法及系统 |
US20170038830A1 (en) * | 2015-08-04 | 2017-02-09 | Google Inc. | Context sensitive hand collisions in virtual reality |
-
2017
- 2017-04-14 CN CN201710243991.XA patent/CN107008006A/zh not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150302660A1 (en) * | 2014-04-18 | 2015-10-22 | Magic Leap, Inc. | Systems and methods for using image based light solutions for augmented or virtual reality |
US20170038830A1 (en) * | 2015-08-04 | 2017-02-09 | Google Inc. | Context sensitive hand collisions in virtual reality |
CN106139587A (zh) * | 2016-08-05 | 2016-11-23 | 惠州Tcl移动通信有限公司 | 一种基于vr游戏用来规避现实环境障碍物的方法及系统 |
Non-Patent Citations (2)
Title |
---|
夜空划过的流星: "Unity3D单机物体弹出GUI窗口", 《HTTPS://BLOG.CSDN.NET/XGX198831/ARTICLE/DETAILS/7407716》 * |
窗间风月: "Unity开发HTC vive(五):拾取和触碰", 《 HTTPS://GAMEINSTITUTE.QQ.COM/COMMUNITY/DETAIL/112902》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10864441B2 (en) | Information processing method, terminal, and computer storage medium | |
US10620706B2 (en) | Haptic trigger modification system | |
US11809685B2 (en) | Information interaction method and apparatus, storage medium, and electronic apparatus | |
JP6908242B2 (ja) | ハプティック出力デバイスに関連するユーザ入力エレメントのフィードバック減少 | |
KR102398252B1 (ko) | 오디오 트랙들을 통해 햅틱 효과들을 제공하는 햅틱 디바이스들 및 방법들 | |
KR101996978B1 (ko) | 정보 처리 방법, 단말 및 컴퓨터 저장 매체 | |
JP6576697B2 (ja) | 視野および/または近接度に基づいて触覚強度を変更するためのプログラマブル触覚デバイスおよび方法 | |
EP3217255B1 (en) | Peripheral device with haptic diminishment prevention component | |
JP2023502583A (ja) | 仮想アイテムの処理方法及び装置 | |
CN107741819A (zh) | 信息处理方法、装置、电子设备及存储介质 | |
KR101640043B1 (ko) | 가상 세계 처리 장치 및 방법 | |
CN108446063B (zh) | 对象的处理方法、装置、存储介质和电子装置 | |
US20230101933A1 (en) | Method and apparatus for generating virtual equipment, storage medium, and electronic device | |
WO2022142622A1 (zh) | 虚拟对象互动模式的选择方法、装置、设备、介质及产品 | |
CN107008006A (zh) | 一种在vr中物体触碰的方法 | |
US10983602B2 (en) | Identifying an input device | |
WO2023160585A1 (zh) | 信息传递方法、装置、电子设备及可读介质 | |
KR101573593B1 (ko) | 선택적 맵 이탈 방지 방식의 게임 운영 방법 및 시스템 | |
JP2018117867A (ja) | プログラム及びゲームシステム | |
CN113413595A (zh) | 一种信息提示方法、装置、电子设备和存储介质 | |
JP7408685B2 (ja) | アプリケーションプログラム内のコントロールの位置調整方法、装置、機器及び記憶媒体 | |
CN116251344A (zh) | 游戏的控制方法、装置和电子装置 | |
CN108459793A (zh) | 对象的处理方法、装置、存储介质和电子装置 |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170804 |
|
WW01 | Invention patent application withdrawn after publication |