@ELI.MODS: static void JoyFly()
{
Transform* camTransform = GameObject::Find("Main Camera")->GetTransform();
Rigidbody* rigidbody = (Rigidbody *) GameObject::Find("GorillaPlayer")->GetComponent(
Rigidbody::GetType());
if (!camTransform || !rigidbody) return;
Vector2 leftJoy = XRInput::GetVector2Feature(Vector2Feature::Primary2DAxis, Controller::Left);
Vector2 rightJoy = XRInput::GetVector2Feature(Vector2Feature::Primary2DAxis, Controller::Right);
const float deadzone = 0.1f;
if (fabs(leftJoy.x) GetForward() * camTransform->GetRight() * leftJoy.x;
move += Vector3(0.0f, rightJoy.y, 0.0f);
float speed = 10.0f;
rigidbody->SetVelocity(move * speed);
}