mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
[spine-csharp] Fixed Skeleton.PhysicsRotate passing r instead of x. Closes #2512.
This commit is contained in:
parent
98706929d0
commit
c65f73e873
@ -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>
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user