guide

MasterJS2

The one of everything example, this includes Javascript for blendshapes. WARNING: Recommended for JanusVR Native!

https://vesta.janusxr.org/files/guide/javascript/masterjs/blendjs.txt
#javascript

10
1696
03/29/2018

Master Weapons Script

This script loads all the weapons in.

https://vesta.janusxr.org/files/guide/javascript/masterweapons/MasterWeapons.js
Link to assets: http://demos.janusxr.org/JavaScript/Master_Weapon_Script/assets.zip
#javascript

00
1655
03/29/2018

Move Object

Very basic example to have some object move around with Javascript.

https://vesta.janusxr.org/files/guide/javascript/moveobject/MovingSomething.js
#javascript

00
1802
03/29/2018

MasterJS1

WARNING, I do not recommend opening this up in JanusWeb. Use this to stress test attributes in JanusVR.

https://vesta.janusxr.org/files/guide/javascript/masterjs/MasterJS.js
#javascript

00
1482
03/29/2018

JS Keymapping

https://vesta.janusxr.org/files/guide/javascript/jskeymapping/3dControllerKeytest.js
#javascript

00
1694
03/29/2018

JS Performance Timer

https://vesta.janusxr.org/files/guide/javascript/jsfunctionperformance/JSperformanceTimer.js
#javascript

00
1785
03/29/2018

Gaze Teleport

Look at a place and teleport there.

https://vesta.janusxr.org/files/guide/javascript/gazeteleport/GazeTeleport.js
#javascript

00
1594
03/29/2018

Gaze Detection

This simple gaze setup involves checking what object your are seeing and activate an event if the object matches the JS_id.

https://vesta.janusxr.org/files/guide/javascript/gazedetection/gaze_test.js
#javascript

00
1913
03/29/2018

Flashlight

Torch / Flashlight example.

https://vesta.janusxr.org/files/guide/javascript/flashlight/torch.js
#javascript

00
1540
03/29/2018

Door2

Door that opens and closes. This should become a component.

https://vesta.janusxr.org/files/guide/javascript/door/door.js
#javascript

00
1856
03/29/2018

clickball3

Ball sync

https://vesta.janusxr.org/files/guide/javascript/clickball/ballsync.js
#javascript

00
1458
03/29/2018

clickball1

Test using bullet physics and a simple ball.

https://vesta.janusxr.org/files/guide/javascript/clickball/ball.js
#javascript

00
1531
03/29/2018