Skip to content

Commit

Permalink
Fix model animation scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
tigrouind committed Aug 26, 2024
1 parent c8fad9b commit d781fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/Model/ModelLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ void LoadAnim()
break;

case 2: //scale
b.Scale = new Vector3(boneTransform.x / 1024.0f + 1.0f, boneTransform.y / 1024.0f + 1.0f, boneTransform.z / 1024.0f + 1.0f);
b.Scale = new Vector3(boneTransform.x / 256.0f + 1.0f, boneTransform.y / 256.0f + 1.0f, boneTransform.z / 256.0f + 1.0f);
break;
}

Expand Down

0 comments on commit d781fa9

Please sign in to comment.