-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
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
actor.rotateTo and actor.repeatForever behave unexpectedly #635
Labels
Milestone
Comments
eonarheim
added
the
bug
This issue describes undesirable, incorrect, or unexpected behavior
label
Aug 20, 2016
Word of advice: look at the constructor. Might be similar to #512 |
This also applies to |
This issue hasn't had any recent activity lately and is being marked as stale automatically. |
github-actions
bot
added
the
stale
This issue or PR has not had any activity recently
label
Dec 27, 2020
5 tasks
eonarheim
added a commit
that referenced
this issue
May 19, 2021
Closes #1891 Bonus Closes #635 ## Changes: - Changes the repeat/repeatForever api to be more clear (breaking change, no longer introspects the current action queue) ```typescript a.actions .easeTo(10, 100, 1000, EasingFunctions.EaseInCubic) .delay(250) .repeat(repeatBuilder => { // Specific actions to repeat repeatBuilder .easeTo(100, 100, 1000, EasingFunctions.EaseInCubic) .delay(250) .easeTo(10, 100, 1000, EasingFunctions.EaseInCubic) .delay(250) }, 2); // Repeats twice ``` - Light refactoring to actions - Separate action types into separate files - Change ActionContext to only support 1 actor at a time (multi actor unused after groups was deprecated long ago)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to Reproduce
In the physics visual test (in /sandbox/web/tests/physics/physics.ts) if you run the following code
The actor will rotate back and forth slowly as expected once, but then, oscillate back and forth very quickly spinning.
Expected Result
It should rotate back and forth slowly forever
Actual Result
Behaves strangely and osculates quickly back and forth instead of at the pace of the previous actions.
The text was updated successfully, but these errors were encountered: