-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
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
LoopRepeat executes an action once too many #13011
Comments
This is documented under AnimationAction.repetitions:
|
^I've been surprised by that as well. Not sure if there's another way to configure the action that would feel more intuitive, or if this is derived from another tool like Unity? |
This is confusing. We should just change the behavior to be what everyone
expects.
Best regards,
Ben Houston
http://Clara.io Online 3d modeling and rendering
…On Jan 1, 2018 11:43 AM, "Don McCurdy" ***@***.***> wrote:
^I've been surprised by that as well. Not sure if there's another way to
phrase the API that would feel more intuitive.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13011 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAj6_cxgg6NPY_4Ed9ZISd6eUDz1LSKJks5tGQsYgaJpZM4RQDqZ>
.
|
I agree. |
Description of the problem
When I was writing the unit test of AnimationAction, I noticed something I didn't expect. When asking to LoopRepeat a action 3 times, it executes the action 4 times, I think.
Example: https://jsfiddle.net/wqoLka39/3/
Three.js version
Browser
OS
Hardware Requirements (graphics card, VR Device, ...)
The text was updated successfully, but these errors were encountered: