2

An open question to the three.js community.

As far as I know, the Three.js framework has different "enhancements" like OrbitControls.js that allow us to use the mouse or a touchscreen to explore a 3D scene.

Now my question:

Is out there another "enhancement" for Three.js that allows the usage of joysticks, gamepads or 3D mouses? If not, how easy or difficult do you think it can be to implement their functionality?

4

2 回答 2

1

以下是有关网络中游戏手柄状态的一些信息。

看起来现在还有一种方法可以等到它得到广泛支持。

玩得开心!

于 2015-10-08T11:56:24.437 回答
1

juagicre 的链接很有用。

这里还有一些

  1. 这一项检查是否接收到来自您连接的游戏手柄的信号:- html5gamepad.com

  2. html5rocks.com 带有图像的游戏手柄测试仪

  3. stemkoski html5 演示

  4. stemkoski THREE.js 演示

  5. html5rocks 教程

我今天刚在一家旧货店买了一个便宜的无品牌 USB 游戏手柄。使用 Firefox 38.0.5 或 Chrome 47.0.2526.58 beta-m),它适用于 (1) 和 (2),但不适用于 (3)、(4)、(5)。

官方 THREE.js 网站示例似乎不包含游戏手柄示例(请参阅 /misc 部分)。

于 2015-11-12T18:30:59.663 回答