[spine-csharp] Fixed Skeleton.PhysicsRotate passing r instead of x. Closes #2512.

This commit is contained in:
Harald Csaszar 2024-04-29 17:32:52 +02:00
parent 98706929d0
commit c65f73e873
2 changed files with 2 additions and 2 deletions

View File

@ -489,7 +489,7 @@ namespace Spine {
public void PhysicsRotate (float x, float y, float degrees) {
PhysicsConstraint[] physicsConstraints = this.physicsConstraints.Items;
for (int i = 0, n = this.physicsConstraints.Count; i < n; i++)
physicsConstraints[i].Rotate(r, y, degrees);
physicsConstraints[i].Rotate(x, y, degrees);
}
/// <summary>Increments the skeleton's <see cref="time"/>.</summary>

View File

@ -2,7 +2,7 @@
"name": "com.esotericsoftware.spine.spine-csharp",
"displayName": "spine-csharp Runtime",
"description": "This plugin provides the spine-csharp core runtime.",
"version": "4.2.19",
"version": "4.2.20",
"unity": "2018.3",
"author": {
"name": "Esoteric Software",