抓取物体
leapmotion吧
全部回复
仅看楼主
level 11
se78906 楼主
有没有大神开发过Leap motion?能给我一个Leap Motion 抓取物体的代码吗?Java Scripe 就行,直接在网页跑就好。谢谢谢谢!
2015年03月27日 04点03分 1
level 13
路过帮顶
2015年03月27日 07点03分 2
level 3
你好,您实现了通过LeapMotion抓取物体了吗?
2015年11月09日 01点11分 3
早已实现,没人帮我只好自己研究很久弄出来了
2015年11月09日 18点11分
@se78906 好厉害![大拇指]
2015年11月12日 10点11分
@se78906 我也是被这个问题困扰很久了,前辈能不能给我分享一下,我邮箱是[email protected],实在不方便的话可以讲一下实现思路也行,谢谢啦[呵呵]
2015年11月12日 11点11分
大神,能否教我如何实现抓取物体?
2016年08月13日 09点08分
level 1
using UnityEngine;
using System.Collections.Generic;
using Leap;
using Leap.Unity;
public class floot : MonoBehaviour {
LeapProvider provider;
void Start ()
{
provider = FindObjectOfType<LeapProvider>() as LeapProvider;
}
void Update ()
{
Frame frame = provider.CurrentFrame;
foreach (Hand hand in frame.Hands)
{
if (hand.IsLeft)
{
transform.position = hand.PalmPosition.ToVector3() +
hand.PalmNormal.ToVector3() *
(transform.localScale.y * .5f + .02f);
transform.rotation = hand.Basis.CalculateRotation(); }
}
}
}
qq1278263100欢迎一起学习
2017年03月16日 07点03分 4
可以加qq吗~你用的unity版本和leapmotion是什么版本啊。我的程序在里面编译不成功。
2017年04月25日 16点04分
level 6
有没有c++的?
2017年03月20日 06点03分 5
level 1
unity里有
2017年03月20日 12点03分 6
1