VR Interaction Framework – How to fix Tiptoes

The VR player controller with the Full body tends to walk around their toes. You can fix this adjusting the character controller y off under the BNG Player component. I found “-0.15” works perfect. The problem is character scaling might kick this out. You can keep this with the following script. Attach this to the character controller.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using BNG;
public class AdjustYOffset : MonoBehaviour
	public float yOffset = -0.15f;
	BNGPlayerController bpc;
    // Start is called before the first frame update
    void Start()
		bpc = GetComponent<BNGPlayerController>();
	public void AdjustY(){
		bpc.CharacterControllerYOffset = yOffset;
    // Update is called once per frame
    void Update()
	    if(bpc.CharacterControllerYOffset != yOffset){

Unity Wireless Quest 2 Script

This script will allow you to connect the Quest 2 and sideload across the network. Note, there’s a space after C:\Program, not a carriage return.

@echo off
echo Connect Device via USB and accept connection inside of device
set /p UnityVersion=What version of Unity? 
cd C:\Program Files\Unity\Hub\Editor\%UnityVersion%\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\ && adb devices && adb shell ip addr show wlan0
set /p IpAddress=What is the devices IP address? 
adb tcpip 5555
adb connect %IpAddress%:5555
echo You can now disconnect the USB
cmd /k

Real Money vs Sims: What I Learned about Zenbot

Sims are a very optimistic view of a trade strategy. The first serious problem I encountered was that my bot didn’t reliably buy with real money. I made my strategy keep track of when my bot wants to buy and sell through files, and I simply watched the attempted trades pile up as files. I used Autohotkey to keep track of the files and follow through with the orders by issuing manual trade commands on behalf of zenbot. I also realized it’s a terrible time to sell when the crypto peaks. Which is why my bot now sells before peak; pigs get slaughtered. I noticed no difference in the sims, but it did fix my leak with real money.

Zenbot sim and Brute Force

@echo off
set _endPct=10
set _crypto=OXT-USD
set _strategy=dip
set _dipPct=3
ECHO Simulating dip 3 to 10 percent for %_crypto%
set _zen_cmd=zenbot sim –strategy=%_strategy% gdax.%_crypto% –dip_pct=%_dipPct%
FOR /f “tokens=2 delims=^()^” %%H IN (‘%_zen_cmd% ^|find “end balance”‘) DO set _roi=%%H
ECHO Spread: %_dipPct% percent  ROI: %_roi%
set /A _dipPct=%_dipPct%+1
IF %_dipPct% LEQ %_endPct% goto loop

I made this batch script to execute zenbot sim with 3 parameters. You can see how I placed those values into the string that will be the zenbot command. FOR is a bit of black magic; it sets the _roi variable using the output from the sim command where it finds “end balance”. It loops while incrementing _dipPct variable that gets used in each zenbot sim execution until it reaches _endPct.

Now I shifted this loop to be done in Autohotkey, and I only use the batch script to execute zenbot commands and close itself, (which AHK has trouble with for some odd reason).