BitLegit
Just a couple of kids tryin' to make it on their own.
Balance Board
Balance board functions
Vector4 GetBalanceBoard(int remote)
int remote : the number of the remote(0-15)
- Returns the weight in kilograms on each of the four sensors in the balance board.
The x-value is the top right sensor.
The y-value is the top left sensor.
The z-value is the bottom right sensor.
The w-value is the bottom left sensor.
Vector4 GetRawBalanceBoard(int remote)
int remote : the number of the remote(0-15)
- Returns the raw values generated by the four sensors in the balance board.
The x-value is the top right sensor.
The y-value is the top left sensor.
The z-value is the bottom right sensor.
The w-value is the bottom left sensor.
Vector2 GetCenterOfBalance(int remote)
int remote : the number of the remote(0-15)
- Returns a Vector 2 representing the distribution of weight on the balance board. The x-value
represents the difference in weight between the right and left sides. The y-value represents the
difference in weight between the front and back sides.
- If there is no weight or the weight is evenly distributed, Vector2.zero is returned.
float GetTotalWeight(int remote)
int remote : the number of the remote(0-15)
- Returns the total weight on the balance board in kilograms.