mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +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) {
|
public void PhysicsRotate (float x, float y, float degrees) {
|
||||||
PhysicsConstraint[] physicsConstraints = this.physicsConstraints.Items;
|
PhysicsConstraint[] physicsConstraints = this.physicsConstraints.Items;
|
||||||
for (int i = 0, n = this.physicsConstraints.Count; i < n; i++)
|
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>
|
/// <summary>Increments the skeleton's <see cref="time"/>.</summary>
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
"name": "com.esotericsoftware.spine.spine-csharp",
|
"name": "com.esotericsoftware.spine.spine-csharp",
|
||||||
"displayName": "spine-csharp Runtime",
|
"displayName": "spine-csharp Runtime",
|
||||||
"description": "This plugin provides the spine-csharp core runtime.",
|
"description": "This plugin provides the spine-csharp core runtime.",
|
||||||
"version": "4.2.19",
|
"version": "4.2.20",
|
||||||
"unity": "2018.3",
|
"unity": "2018.3",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Esoteric Software",
|
"name": "Esoteric Software",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user