Browse Source

Fix Offset Y

Small change to fix the Y value of the layer offset, which was causing it to export in reverse.
pull/259/head
Patrick Dulebohn 4 years ago
parent
commit
050c1bed91
  1. 2
      korman/exporter/animation.py

2
korman/exporter/animation.py

@ -427,7 +427,7 @@ class AnimationConverter:
scale = kwargs[scale_path]
translation = hsVector3(pos[0] - (scale[0] - 1.0) / 2.0,
-pos[1] - (scale[1] - 1.0) / 2.0,
pos[1] - (scale[1] - 1.0) / 2.0,
pos[2] - (scale[2] - 1.0) / 2.0)
matrix = hsMatrix44()
matrix.setTranslate(translation)

Loading…
Cancel
Save