guide

MasterJS2

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

https://vesta.janusvr.com/files/guide/javascript/masterjs/blendjs.txt
#javascript

00
367
03/29/2018

Master Weapons Script

This script loads all the weapons in.

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

00
347
03/29/2018

Move Object

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

https://vesta.janusvr.com/files/guide/javascript/moveobject/MovingSomething.js
#javascript

00
379
03/29/2018

MasterJS1

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

https://vesta.janusvr.com/files/guide/javascript/masterjs/MasterJS.js
#javascript

00
376
03/29/2018

JS Keymapping

https://vesta.janusvr.com/files/guide/javascript/jskeymapping/3dControllerKeytest.js
#javascript

00
348
03/29/2018

JS Performance Timer

https://vesta.janusvr.com/files/guide/javascript/jsfunctionperformance/JSperformanceTimer.js
#javascript

00
385
03/29/2018

Gaze Teleport

Look at a place and teleport there.

https://vesta.janusvr.com/files/guide/javascript/gazeteleport/GazeTeleport.js
#javascript

00
363
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.janusvr.com/files/guide/javascript/gazedetection/gaze_test.js
#javascript

00
371
03/29/2018

Flashlight

Torch / Flashlight example.

https://vesta.janusvr.com/files/guide/javascript/flashlight/torch.js
#javascript

00
365
03/29/2018

Door2

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

https://vesta.janusvr.com/files/guide/javascript/door/door.js
#javascript

00
370
03/29/2018

clickball3

Ball sync

https://vesta.janusvr.com/files/guide/javascript/clickball/ballsync.js
#javascript

00
320
03/29/2018

clickball1

Test using bullet physics and a simple ball.

https://vesta.janusvr.com/files/guide/javascript/clickball/ball.js
#javascript

00
342
03/29/2018