360 lookaround camera
Sample showing how to move the camera with mouse and touch to look around
Sample showing how to move the camera with mouse and touch to look around
Tutorial demonstrating basic touch input in PlayCanvas. Touch the box and move it around the screen!
Double click on the screen to move the camera
Sample showing how to detect a double tap on a touch screen.
Sample showing how to detect a long press/touch to perform an action.
A sample showing how to use the physics raycast to pick entities
Sample showing how to pick at objects without using the physics system (extra 1MB to published project) or the frame buffer.
Example project that extends the First Person Camera tutorial to move and jump around a 3D level
Sample with a fireball that moves with the mouse
Sample showing information hotspots on a scene.
A sample showing how to lock the mouse upon clicking.
Sample that draws lines between all the current touches on the screen.
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.
An example shows how to focus a camera on target location
Sample showing how to pick an entity by tag using raycastAll
A sample showing how to place objects in the world by using physics. Click on ground to place a box.
A sample showing how to place objects in the world without using physics. Click on the ground to place boxes.
Sample showing a simple point and click system to move an object where you user has clicked
Raycasting with multiple camera viewports. Click on the shapes in each view
Sample showing how to rotate an object using the mouse in screen space
Sample showing how to pick at an entity
A simple third person controller.
Example of how to raycast in the PlayCanvas scene when using WebXR AR.
Sample application with WebXR controller/hand models loaded based on input source profile. Models sourced from//github.com/immersive-web/webxr-input-profiles
Sample application with WebXR Hands Tracking.
Realistic hands in VR!
A sample application with boilerplate code for WebXR support with tracked controllers using PlayCanvas.
VR/AR対応のデバイスやヘッドセットがある場合は、VR/ARボタンをクリックしてください。
A living project built by the PlayCanvas team to help developers learn about creating scalable and responsive WebXR VR applications for all devices
フォーカスしてから左矢印キー、右矢印キー、スペースバーを押して立方体を回転させます。 'a' キーを押してリリースすると色が変わります。
プロジェクトのリンクをクリックしてください。
このアプリケーションは、ファーストパーソンでのキャラクター移動を実装しています。
マウスを動かしてキューブを動かし、マウスのボタンを押してキューブの色を変えることができます。