Skip to content

Commit

Permalink
[spine-csharp] Fixed Skeleton.PhysicsRotate passing r instead of x. C…
Browse files Browse the repository at this point in the history
…loses #2512.
  • Loading branch information
HaraldCsaszar committed Apr 29, 2024
1 parent 9870692 commit c65f73e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spine-csharp/src/Skeleton.cs
Expand Up @@ -489,7 +489,7 @@ public class Skeleton {
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>
Expand Down
2 changes: 1 addition & 1 deletion spine-csharp/src/package.json
Expand Up @@ -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",
Expand Down

0 comments on commit c65f73e

Please sign in to comment.