Last active
December 14, 2015 19:17
-
-
Save cozza13/d2af252359c7b2a4f9a5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//would you like to play a game | |
Agent.isAvatar = true; | |
//Avatar.position = {x: 35.4079, y: 29.3443, z: 354.435 } ; | |
var clipURL = "atp:3fbe82f2153c443f12f9a2b14ce2d7fa2fff81977263746d9e0885ea5aabed62.hfr"; | |
var playFromCurrentLocation = false; | |
var useDisplayName = true; | |
var useAttachments = true; | |
var useAvatarModel = true; | |
Recording.setPlayFromCurrentLocation(playFromCurrentLocation); | |
Recording.setPlayerUseDisplayName(useDisplayName); | |
Recording.setPlayerUseAttachments(useAttachments); | |
Recording.setPlayerUseHeadModel(false); | |
Recording.setPlayerUseSkeletonModel(true); | |
Recording.setPlayerLoop(true); | |
Recording.loadRecording(clipURL); | |
Recording.startPlaying(); | |
function update(deltaTime) { | |
} | |
Script.update.connect(update); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment