Needs a lot of cleanup. Data has been de-duplicated, and where identical copies existed, one of them has been replaced with a symlink. Some files have been excluded, such as binaries, installers and debug dumps. Some of that may still be present.
24 lines
666 B
JavaScript
24 lines
666 B
JavaScript
Agent.isAvatar = true;
|
|
|
|
var clipURL = "http://s3.amazonaws.com/hifi-public/tony/avatarRecordings/walkingDefault.hfr";
|
|
|
|
var playFromCurrentLocation = true;
|
|
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);
|