Box2D的 [英] Box2d

查看:163
本文介绍了Box2D的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 

我可以将Box2d或类似物理库与Kinect SDK集成吗?如果是,怎么做?

Can I integrate the Physics library like Box2d or similar with Kinect SDK? if yes, how?

推荐答案

查看Box2D文档,它与渲染或输入技术无关:它只管理一组具有质量,速度和约束的物体。因此,如果您使用Kinect SDK作为输入设备来控制其中一个变量
或物理模型的约束,那么它应该可以正常工作。我不熟悉Box2D的细节,所以我不能为你写一个样本,但是如果你经历单独学习Box2D和Kinect SDK的工作,然后创建你自己的原型,我可以给你
你更直接的帮助,让Kinect集成在您的原型上工作。

Looking at the Box2D documentation, it is agnostic of rendering or input technologies: it just manages a set of bodies with mass, velocity and constraints. So, if you use the Kinect SDK as an input device that is used to control one of the variables or constraints of the physics model, then it should work fine. I'm not familiar with Box2D details, so I can't write a sample for you, but if you go through the work of separately learning Box2D and Kinect SDK, and then create your own prototype, I could give you more directed help to get Kinect integration working on your prototype.

Eddy


这篇关于Box2D的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆