Providing Input on… Input

An accurate representation of my skill level and feelings toward art that I make.
Photo by ThisisEngineering RAEng on Unsplash
Photo by blurrystock on Unsplash
// Example that you've probably seen in the Playground
camera.attachControl(canvas, true);
Photo by 🇨🇭 Claudio Schwarz | @purzlbaum on Unsplash
gamepadManager.onGamepadConnectedObservable.add((gamepad, state)=>{     // If this is a 360 gamepad, do something on a button press     if (gamepad instanceof BABYLON.Xbox360Pad) {          //Xbox button down observable          gamepad.onButtonDownObservable.add((button, state)=>{               // Do Something          });
}
});
A basic layout for how I plan on the new input system working, designed in my expertly crafted art style.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Babylon.js

Babylon.js

Babylon.js: Powerful, Beautiful, Simple, Open — Web-Based 3D At Its Best. https://www.babylonjs.com/