I try to create an earthquake game with Babylon js.
I want to change createTank(line 24) function’s some properties on keydown and keyup.
If I am able to change the height and speed in keydown and keyup then it’s enough for my work. But I don’t understand how to change it in the right way. And how to show the changes in every keydown and keyup event.
Any help would be ok.
Thank you, everyone.