Quote:
Originally Posted by Joe Ross
ekovacs example above is using the following form of ArcadeDrive.
Code:
void ArcadeDrive(float moveValue, float rotateValue, bool squaredInputs = true);
It doesn't matter where the moveValue and rotateValue come from. You could read from a second joystick, or a sensor, or anything else.
|
This is the form that we used, with the moveValue coming from a the left thumb stick/dpad on a controller and the rotateValue coming from the right thumb stick. But as Joe said, the values can come from anywhere.