aframe - Aframe 超级手组件:不会被禁用
问题描述
我正在测试super-hands
组件(https://github.com/wmurphyrd/aframe-super-hands-component)以移动对象。同样,我正在设置grabbable
手势组件。我注意到的是,一旦我移动了对象,我就无法“摆脱”移动的即。它继续处于可抢夺的状态。代码很简单
<a-box ... grabbable></a-box>
..
<a-entity raycaster="objects: .clickable" cursor="rayOrigin:mouse" super-hands="colliderEvent: raycaster-intersection; colliderEventProperty: els; colliderEndEvent: raycaster-intersection-cleared; colliderEndEventProperty: el"></a-entity>
是否需要设置一些东西来禁用可抓取状态?
解决方案
推荐阅读
- c++ - 这个线程消毒剂警告中的比赛在哪里?
- php - 哪个 apache 或 PHP 模块负责在表单提交后将发布的变量分配给相同的名称
- node.js - 为什么 request.app 没有在页面处理程序中设置?
- python-3.x - 什么是字段的替换。烧瓶棉花糖中的方法?
- linux - 覆盖 .txt 文件中的命令行内容
- mysql - RMySQL - 自动从数据库表中读取数据
- r - 正则表达式:匹配同一字符串的部分但不包括特定部分
- sql-server - 处理来自存储过程的数据返回多个表
- java - 我的应用程序图标未在某些设备上显示 - 为什么?
- python - 如何将数组转换为模型输入?