mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 02:25:56 +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");
|
||||
var pitchingMachine = null;
|
||||
this.startNearGrab = function() {
|
||||
print("Started near grab!");
|
||||
if (!pitchingMachine) {
|
||||
getPitchingMachine();
|
||||
pitchingMachine = getPitchingMachine();
|
||||
Script.update.connect(function(dt) { pitchingMachine.update(dt); });
|
||||
}
|
||||
print("Started near grab!");
|
||||
pitchingMachine.start();
|
||||
MyAvatar.shouldRenderLocally = false;
|
||||
};
|
||||
this.continueNearGrab = function() {
|
||||
MyAvatar.shouldRenderLocally = false;
|
||||
}
|
||||
this.releaseGrab = function() {
|
||||
print("Stopped near grab!");
|
||||
if (pitchingMachine) {
|
||||
|
|
Loading…
Reference in a new issue