mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-10 09:36:27 +02:00
remove continueNearGrab from bat script
This commit is contained in:
parent
73aa016d8c
commit
ea2b9e906b
1 changed files with 2 additions and 5 deletions
|
@ -2,17 +2,14 @@
|
||||||
Script.include("pitching.js");
|
Script.include("pitching.js");
|
||||||
var pitchingMachine = null;
|
var pitchingMachine = null;
|
||||||
this.startNearGrab = function() {
|
this.startNearGrab = function() {
|
||||||
|
print("Started near grab!");
|
||||||
if (!pitchingMachine) {
|
if (!pitchingMachine) {
|
||||||
getPitchingMachine();
|
pitchingMachine = getPitchingMachine();
|
||||||
Script.update.connect(function(dt) { pitchingMachine.update(dt); });
|
Script.update.connect(function(dt) { pitchingMachine.update(dt); });
|
||||||
}
|
}
|
||||||
print("Started near grab!");
|
|
||||||
pitchingMachine.start();
|
pitchingMachine.start();
|
||||||
MyAvatar.shouldRenderLocally = false;
|
MyAvatar.shouldRenderLocally = false;
|
||||||
};
|
};
|
||||||
this.continueNearGrab = function() {
|
|
||||||
MyAvatar.shouldRenderLocally = false;
|
|
||||||
}
|
|
||||||
this.releaseGrab = function() {
|
this.releaseGrab = function() {
|
||||||
print("Stopped near grab!");
|
print("Stopped near grab!");
|
||||||
if (pitchingMachine) {
|
if (pitchingMachine) {
|
||||||
|
|
Loading…
Reference in a new issue