leapmotion 导入 unity 3D 教程

软件版本:

                 unity 3D :2018.1.9f1

                 leapmotion :Leap_Motion_Core_Assets_ 4.4.0

                 handmoudle : Leap_Motion_Hands_Module_2.1.4

前提:安装好leapmotion驱动

1、导入模块

      新建一个工程项目,将Leap_Motion_Core_Assets_ 4.4.0模块和Leap_Motion_Hands_Module_2.1.4模块导入工程项目

2、将leapmotion\core\Prefabs\LeapHandController预制体拖进Hierarchy,

3、创建一个空物体,GameObject-CreatEmpty,命名为leaphands(名字可以自己取)

4、将leapmotion\core\Prefabs\HandModelsNonHuman下的Capsule Hand Left和Capsule Hand Right拖到刚才的leaphands下面

5、同样,将leapmotion\core\Prefabs\HandModelsPhysical下的RigidRoundHand_L和RigidRoundHand_R拖到刚才的leaphands      下面

6、选中LeapHandController,在Inspector中,Model Pool下的size改为2,会出现两组,组名可以自己取,

6.1、将leaphand下面的Capsule Hand Left和Capsule Hand Right拖到第一组的Left /Right Model,

6.2、将leaphand下面的RigidRoundHand_L和RigidRoundHand_R拖到第二组的Left /Right Model,

6.3、每组的 Is Enable  和Can Duplicate 都勾选上,

7,打开Leap Motion Contral Panel,运行游戏,就可以看见小手手了

 

参考:https://blog.csdn.net/LYROOO/article/details/70667558

 

 

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值