mirror of
https://github.com/overte-org/overte.git
synced 2025-08-13 07:28:09 +02:00
Merge branch 'baseball' of github.com:birarda/hifi into baseball
This commit is contained in:
commit
3228ca6033
2 changed files with 4 additions and 1 deletions
|
@ -15,6 +15,9 @@ Script.include("pitching.js");
|
|||
var pitchingMachine = null;
|
||||
|
||||
this.startNearGrab = this.continueNearGrab = function() {
|
||||
// send the avatar to the baseball location so that they're ready to bat
|
||||
MyAvatar.location = "/baseball"
|
||||
|
||||
if (!pitchingMachine) {
|
||||
pitchingMachine = getOrCreatePitchingMachine();
|
||||
Script.update.connect(function(dt) { pitchingMachine.update(dt); });
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
var BAT_MODEL = "atp:c47deaae09cca927f6bc9cca0e8bbe77fc618f8c3f2b49899406a63a59f885cb.fbx";
|
||||
var BAT_COLLISION_HULL = "atp:9eafceb7510c41d50661130090de7e0632aa4da236ebda84a0059a4be2130e0c.obj";
|
||||
var SCRIPT_URL = "http://rawgit.com/huffman/hifi/baseball/examples/baseball/bat.js"
|
||||
var SCRIPT_URL = "http://rawgit.com/birarda/hifi/baseball/examples/baseball/bat.js"
|
||||
|
||||
var batUserData = {
|
||||
grabbableKey: {
|
||||
|
|
Loading…
Reference in a new issue