-
Notifications
You must be signed in to change notification settings - Fork 6
Navigating Vishva
You can start Vishva with an empty world or an existing world.
To start up with an empty world you will use "world=empty" query parm. Example
http://localhost:8080/index.html?world=empty
In an empty world, you get a avatar, a flat terrain, sky and sun. You can then commence to flesh out that world.
The zip file which you downloaded contains a demo world. You can start that by specifying "world=demo" but you do not have to because the "webapp/config.js" specifies this "demo" as the default world. So just specifying "index.html" will start that up
http://localhost:8080/index.html
You move around in the world using your avatar. You use the standard "wasd" or arrow keys to move your avatar
key | to |
---|---|
w or left arrow | turn left |
d or right arrow | turn right |
w or up arrow | move forward |
s or down arrow | move back |
q | strafe left |
e | strafe right |
While moving you can use your mouse to turn your avatar. To do that press left mouse button and drag mouse left or right to turn your avatar left or right.
While moving or stationary press left mouse button and drag mouse up down, to look up down.
While stationary pressing left mouse button and dragging it left right will rotate the camera around your avatar
At any time use your mouse middle scroll wheel to zoom towards or away from your avatar by scrolling the wheel forward or backward
If you zoom too close to your avatar, your avatar will disappear and you will enter first person view.
Zoom out to go back into third person view.
You can of course move you avatar towards an object to check out the object, maybe in a first person view.
A better way is to select an object and focus the camera on it.
To do that right click the object you are interested in.
When you do this three edit axis will appear on the object.
Press the "F" key or mouse right click the object again. The camera will now shift focus from your avatar to the object.
Pressing mouse left key and dragging the mouse will now move the camera around the object rather than around your avatar. Scrolling your mouse scroll wheel backward and forward will zoom the camera towards or away from the object.
Pressing "CTL" key and dragging your mouse up/down or left/right with left key pressed will pan the camera up/down or left/right. (If this does not happen then you probably forgot to focus on the object, press "F" to do that).
To shift focus back to your avatar either deselect the object or move your avatar.
To deselect the object press the "ESC" key.