}
Box b = new Box(.5f,1f,.5f);
Geometry walker = new Geometry("wakler", b);
Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
mat.setColor("Color", ColorRGBA.Red);
walker.setMaterial(mat);
Entity e = placeObject(new Vector3f(257f,2.2f,0f), new Vector3f(389f,0f,0f));
if(e != null){
e.attachChild(walker);
rootNode.attachChild(e);
this.walker = e;
}
Box b2 = new Box(.6f, .3f, .6f);
Geometry g2 = new Geometry("tgt", b2);
Material mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
mat2.setColor("Color", ColorRGBA.Green);
g2.setMaterial(mat2);
Vector3f p = new Vector3f(256f,2.2f,0f);
enm.snapToGround(p);
g2.setLocalTranslation(p);
rootNode.attachChild(g2);