メインコンテンツまでスキップ

「input」タグのついた33記事

全てのタグを見る

Basic touch input

Tutorial demonstrating basic touch input in PlayCanvas. Touch the box and move it around the screen!

Entity picking without physics

Sample showing how to pick at objects without using the physics system (extra 1MB to published project) or the frame buffer.

Multitouch input

Sample that draws lines between all the current touches on the screen.

Orbit camera

Sample with an orbit camera around an entity with both mouse and touch. Scroll wheel and 'pinch to zoom' is used to zoom in and out.

WebXR Controller/Hand Models

Sample application with WebXR controller/hand models loaded based on input source profile. Models sourced from//github.com/immersive-web/webxr-input-profiles

WebXR Hands

Sample application with WebXR Hands Tracking.

WebXR Tracked Controllers

A sample application with boilerplate code for WebXR support with tracked controllers using PlayCanvas.

WebXR VR Lab

A living project built by the PlayCanvas team to help developers learn about creating scalable and responsive WebXR VR applications for all devices

キーボード入力の基礎

フォーカスしてから左矢印キー、右矢印キー、スペースバーを押して立方体を回転させます。 'a' キーを押してリリースすると色が変わります。

基本的なマウス入力

マウスを動かしてキューブを動かし、マウスのボタンを押してキューブの色を変えることができます。