Integrating animation

Hello all!

I currently have this demo:
http://turingtester.gitlab.io/babylonjs-intro/demo2/

I need to make the character in the above demo integrate with the keyboard controls like it does in this one:

https://turingtester.gitlab.io/babylonjs-intro/demo/

Suggestions?

Hello can you be more precise? Maybe with a PG so we can focus on the question with simpler code?