|
@@ -103,7 +103,7 @@ public class SB_EventSystem : MonoBehaviour
|
|
|
if (!simulateMouseIsAwaked) return;
|
|
if (!simulateMouseIsAwaked) return;
|
|
|
if (hasAxisQuat) {
|
|
if (hasAxisQuat) {
|
|
|
Vector3 lastAngle = nowAxisQuat.eulerAngles;
|
|
Vector3 lastAngle = nowAxisQuat.eulerAngles;
|
|
|
- nowAxisQuat = Quaternion.Lerp(nowAxisQuat, targetAxisQuat, 0.333f * 8);
|
|
|
|
|
|
|
+ nowAxisQuat = Quaternion.Lerp(nowAxisQuat, targetAxisQuat, 0.033f * 8);
|
|
|
Vector3 curAngle = nowAxisQuat.eulerAngles;
|
|
Vector3 curAngle = nowAxisQuat.eulerAngles;
|
|
|
float dx = FormatDeltaAngleY(curAngle.y - lastAngle.y) / 150f * simulateMouse.GetScaleScreenWidth();
|
|
float dx = FormatDeltaAngleY(curAngle.y - lastAngle.y) / 150f * simulateMouse.GetScaleScreenWidth();
|
|
|
float dy = -FormatDeltaAngleX(curAngle.x - lastAngle.x) / 100f * simulateMouse.GetScaleScreenHeight();
|
|
float dy = -FormatDeltaAngleX(curAngle.x - lastAngle.x) / 100f * simulateMouse.GetScaleScreenHeight();
|