pmndrs / ecctrl

🕹️ A floating rigibody character controller
MIT License
465 stars 49 forks source link

Is it possible to implement this additionally for phones and tablets outside the keyboard controls? #45

Closed Dukeyeboah closed 2 months ago

Dukeyeboah commented 2 months ago

I have been able to implement this to my component, and it works brilliantly. I'm very grateful for this! I have a question though, since my current implementation works only with keyboard controls.

is there a way to implement it for phones and other touchscreen devices that don't use keyboardcontrols ? I hope my question makes sense.

ErdongChen-Andrew commented 2 months ago

Check the documentation EcctrlJoystick section: https://github.com/pmndrs/ecctrl?tab=readme-ov-file#ecctrljoystick-and-touch-buttons You could also use your own joystick with Ecctrl.

Dukeyeboah commented 2 months ago

Thank you very much. Worked like a charm