brianzinn / react-babylonjs

React for Babylon 3D engine
https://brianzinn.github.io/react-babylonjs/
812 stars 102 forks source link

how to use VirtualJoystick #208

Closed GzxNydia closed 2 years ago

brianzinn commented 2 years ago

hi Nydia,

I do not have a component for this. You will need to do so imperatively. Like:

const leftJoystick = new VirtualJoystick(true);
const rightJoystick = new VirtualJoystick(false);
...

If you can present a case for needing declarative then I will look at adding.

brianzinn commented 2 years ago

Please re-open if you would like declarative support added.