We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PhysicsConstraint are not currently considering skeleton.scaleX and skeleton.scaleY wind and gravity during update.
PhysicsConstraint
skeleton.scaleX
skeleton.scaleY
update
This line of code should be modified.
From:
float m = massInverse * t, e = strength, w = wind * f, g = gravity * f;
To:
float m = massInverse * t, e = strength, w = wind * f * skeleton.scaleX, g = gravity * f * skeleton.scaleY;
We don't need to do that here.
To test the effectivness of the fix, just run cloud-pot example with rain animation and change skeleton.scaleX and skeleton.scaleY to 0.5.
cloud-pot
rain
The text was updated successfully, but these errors were encountered:
No branches or pull requests
PhysicsConstraint
are not currently consideringskeleton.scaleX
andskeleton.scaleY
wind and gravity duringupdate
.This line of code should be modified.
From:
To:
We don't need to do that here.
To test the effectivness of the fix, just run
cloud-pot
example withrain
animation and changeskeleton.scaleX
andskeleton.scaleY
to 0.5.The text was updated successfully, but these errors were encountered: