- Joined
- Apr 22, 2015
- Messages
- 21
- Thread Author
- #1
I am trying to do some simple walking with the default web right now. I have read over the tutorials that cloud has posted about adding vertexs and stuff, but I am still a bit confused and my code does not seem to work right. I am simply trying to walk from Edgeville out into the wilderness. However to do so, there is the wall you have to jump over. This is the code I have so far:
However this doesn't work when I use the builder to get my path. It doesn't go anywhere close to the new object. I think I have to add a direct edge maybe, but I don't know how to go about doing that.
Thanks for reading and helping
Code:
Coordinate wildernessWallPosition = new Coordinate(3103, 3522, 0);
BasicObjectVertex wildernessWall = new BasicObjectVertex(wildernessWallPosition, "Wilderness wall", "Cross");
Traversal.getDefaultWeb().addVertices(wildernessWall);
However this doesn't work when I use the builder to get my path. It doesn't go anywhere close to the new object. I think I have to add a direct edge maybe, but I don't know how to go about doing that.
Thanks for reading and helping