Hololens具有太空意识的角色 [英] space-conscious character for Hololens

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

问题描述

我想在3:09分钟内做与视频类似的操作 https://www.youtube.com/watch?v=aYdB2xBNFek

I'd like to do something like to that of the video in minute 3:09 https://www.youtube.com/watch?v=aYdB2xBNFek

我认为我需要空间映射和空间理解,但是我不明白如何创建空间conscius字符.我希望这个角色可以像我之前放过的视频一样在沙发上以及其他场所使用.

I think that I need the Spatial Mapping and Spatial Understanding, but I can't understand how can I create a space conscius character. I'd like that this character could go on the sofà, and on to other fornitures as in the video that i put before.

有人可以帮助我吗?

非常感谢!

推荐答案

如果已启用空间感知系统(默认启用),您只需要在该游戏对象上添加一个对撞机组件,它将与生成的空间网格物体进行物理交互.

If you have enabled the Spatial Awareness System in MRTK (it is enabled by default), you only need to add a Collider component on this game object, it will have physical interaction with the generated Spatial Mesh.

但是,我认为您真正需要的是点击放置".要在MRTKv2.3中实现它, Solver 将是一个很好的选择方向. SurfaceMagnetism Solver 可以向世界的表面投射光线,并将对象与该表面对齐.此外,在即将发布的MRTKv2.4中, TapToPlace 将作为MRTK的一项新功能,使您可以轻松地将对象放置在场景中.

However, I think what you really need is the "Tap To Place". To implement it in MRTKv2.3, the Solver would be a good direction. The SurfaceMagnetism Solver can cast rays to surfaces in the world, and align the object to that surface. Besides, in the upcoming MRTKv2.4 , TapToPlace will be released as a new function of MRTK, which allows you to easily place the object in the scene.

这篇关于Hololens具有太空意识的角色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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