fixes in ActionSkewBy.cs
This commit is contained in:
@@ -42,10 +42,10 @@ namespace coa4u
|
|||||||
public override void Step(float dt)
|
public override void Step(float dt)
|
||||||
{
|
{
|
||||||
float d = dt / duration;
|
float d = dt / duration;
|
||||||
Vector3 target = skewAngles1 * d;
|
Vector3 vTarget = skewAngles1 * d;
|
||||||
((Actor)target).skewAngles1 += target;
|
((Actor)target).skewAngles1 += vTarget;
|
||||||
target = skewAngles2 * d;
|
vTarget = skewAngles2 * d;
|
||||||
((Actor)target).skewAngles2 += target;
|
((Actor)target).skewAngles2 += vTarget;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user