Skip to content

Commit 716512d

Browse files
author
flyingrub
committed
update
1 parent f9e5365 commit 716512d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Assets/HandHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ public void OnFrame(object sender, FrameEventArgs args)
4242
Instanciate.singleton.pinch(hand.PinchStrength);
4343
Debug.Log("pinch");
4444
}
45-
if (-60 < roll && roll < 60 && handSpeed.z < - 500)
45+
if (-60 < roll && roll < 60 && handSpeed.z < - 700)
4646
{
4747
timeSinceLastCall = System.DateTime.Now;
4848
Debug.Log("Hand Up");
4949
Instanciate.singleton.gravityOff();
50-
} else if (-120 < roll && roll > 70 && handSpeed.z > 500)
50+
} else if (-120 < roll && roll > 70 && handSpeed.z > 700)
5151
{
5252
timeSinceLastCall = System.DateTime.Now;
5353
Debug.Log("Hand down");

Assets/Instanciate.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,10 @@ float map(float val, float min, float high, float nMin, float nHigh)
3636

3737
void Start()
3838
{
39+
CubeData.globalColor = Color.red;
3940
dsps = new List<FMOD.DSP>();
4041
singleton = this;
4142
playerState = FMODUnity.RuntimeManager.CreateInstance(PlayerStateEvent);
42-
playerState.setTimelinePosition(100000);
43-
4443
lowlevelSystem = FMODUnity.RuntimeManager.LowlevelSystem;
4544
if (!masterDSP.hasHandle())
4645
{

0 commit comments

Comments
 (0)