@esotericsoftware/spine-core 4.2.69 → 4.2.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PhysicsConstraint.js +2 -2
- package/dist/esm/spine-core.min.mjs +1 -1
- package/dist/esm/spine-core.mjs +1 -1
- package/dist/esm/spine-core.mjs.map +2 -2
- package/dist/iife/spine-core.js +1 -1
- package/dist/iife/spine-core.js.map +2 -2
- package/dist/iife/spine-core.min.js +1 -1
- package/package.json +1 -1
package/dist/iife/spine-core.js
CHANGED
|
@@ -7134,7 +7134,7 @@ var spine = (() => {
|
|
|
7134
7134
|
}
|
|
7135
7135
|
if (a >= t) {
|
|
7136
7136
|
d = Math.pow(this.damping, 60 * t);
|
|
7137
|
-
const m = this.massInverse * t, e = this.strength, w = this.wind * f, g = (Skeleton.yDown ? -this.gravity : this.gravity) * f;
|
|
7137
|
+
const m = this.massInverse * t, e = this.strength, w = this.wind * f * skeleton.scaleX, g = (Skeleton.yDown ? -this.gravity : this.gravity) * f * skeleton.scaleY;
|
|
7138
7138
|
do {
|
|
7139
7139
|
if (x) {
|
|
7140
7140
|
this.xVelocity += (w - this.xOffset * e) * m;
|