Loading model as Node

Hello

I’m using code from tutorial: https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:walking_character

But i get errors:
[java]
cannot find symbol
symbol: variable physicsCharacter
location: class sourceGame.MainGame[/java]
etc.

[java]// Add a physics character to the world
physicsCharacter = new CharacterControl(new CapsuleCollisionShape(0.5f, 1.8f), .1f);
physicsCharacter.setPhysicsLocation(new Vector3f(0, 1, 0));
characterNode = new Node(“character node”);
Spatial model = assetManager.loadModel(“Models/Sinbad/Sinbad.mesh.xml”);
model.scale(0.25f);
characterNode.addControl(physicsCharacter);
getPhysicsSpace().add(physicsCharacter);
rootNode.attachChild(characterNode);
characterNode.attachChild(model);[/java]

What’s wrong?

you haven’t created a variable physicsCharacter