diff --git a/Plugin.cs b/Plugin.cs index f7d7fa8..3004853 100644 --- a/Plugin.cs +++ b/Plugin.cs @@ -464,19 +464,20 @@ bool ReleaseControl(bool r) { using (PerformanceMonitors.Run($"Calculate Precise Position Offset:{updateIndex}", Config.DetailedPerformanceLogging)) using (PerformanceMonitors.Run("Calculate Precise Position Offset")) { var pos = (Vector3) character->GameObject.Position; - var rot = character->GameObject.Rotation; + //var rot = character->GameObject.Rotation; var emotePos = ipcCharacter.EmotePosition.GetOffset(); - var emoteRot = ipcCharacter.EmotePosition.GetRotation(); + //var emoteRot = ipcCharacter.EmotePosition.GetRotation(); if (Vector3.Distance(pos, emotePos) is > Constants.FloatDelta and < 1f ) { PluginService.Log.Debug($"Apply Precise Position to Object#{updateIndex}"); character->GameObject.SetPosition(emotePos.X, emotePos.Y, emotePos.Z); } - +/* if (MathF.Abs(rot - emoteRot) > Constants.FloatDelta) { PluginService.Log.Debug($"Apply Precise Rotation to Object#{updateIndex}"); character->GameObject.Rotate(emoteRot); } +*/ } } diff --git a/SimpleHeels.csproj b/SimpleHeels.csproj index 8b8a612..649de22 100644 --- a/SimpleHeels.csproj +++ b/SimpleHeels.csproj @@ -9,7 +9,7 @@ false false true - 0.9.3.6 + 0.9.3.7 $(appdata)\XIVLauncher\addon\Hooks\dev\ true