diff --git a/Platforms/Android/AndroidManifest.xml b/Platforms/Android/AndroidManifest.xml index 7bd76ee..e1e641e 100644 --- a/Platforms/Android/AndroidManifest.xml +++ b/Platforms/Android/AndroidManifest.xml @@ -2,8 +2,8 @@ diff --git a/src/Rig.cs b/src/Rig.cs index 058080e..155174e 100644 --- a/src/Rig.cs +++ b/src/Rig.cs @@ -55,9 +55,9 @@ static class Rig Vec2 stick = r_con.stick; Quat stick_rot = Quat.FromAngles(stick.y * -90, 0, stick.x * +90); float stick_sign = r_con.IsStickClicked ? -1 : +1; - r_con_stick = r_con.pose; - r_con_stick.position += r_con_stick.orientation * V.XYZ(0.0065f, -0.012f, -0.05f); - r_con_stick.orientation *= Quat.FromAngles(-50, 0, 0); + r_con_stick = r_con.aim; + // r_con_stick.position += r_con_stick.orientation * V.XYZ(0.0065f, -0.012f, -0.05f); + // r_con_stick.orientation *= Quat.FromAngles(-50, 0, 0); fullstick = r_con_stick.orientation * stick_rot * Vec3.Up * stick_sign; // Vec3 fullstick = r_hand.palm.orientation * Vec3.Up;