Skip to content
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

Support for AnimationAction sub-animations with startAt and endAt and units of _frames_ along with seconds #11541

Closed
chuckhacker opened this issue Jun 18, 2017 · 5 comments

Comments

@chuckhacker
Copy link

chuckhacker commented Jun 18, 2017

Actually, it looks like there isn't a way of specifying a sub-animation. Right now, Blender Godot Collada exporter only supports 1 animation.

So my artists' solution is to have each animation concatenated like so:
walk goes 0 to 0.933 seconds
idle goes 0.933 to 1.833 seconds

But frames is easier to work with than seconds.

How can I play these sub animations?

@chuckhacker chuckhacker changed the title Support for AnimationAction startAt and endAt using units of _frames_ instead of seconds Support for AnimationAction sub-animations with startAt and endAt and units of _frames_ along with seconds Jun 18, 2017
@chuckhacker
Copy link
Author

Edited issue title and description to be much more clear.

@chuckhacker
Copy link
Author

chuckhacker commented Jun 19, 2017

@mrdoob To be clear, this isn't a Blender Exporter issue. It is a feature request for AnimationAction.

@timmeh4242
Copy link
Contributor

Have had similar issues - I was thinking it would actually just make sense to be able to define your actions or clips this way - ie, by feeding them start and end times (and/or frames) on clip or action creation.

@donmccurdy
Copy link
Collaborator

donmccurdy commented Mar 4, 2018

Related: #13430, adding THREE.AnimationUtils.subclip().

@Mugen87
Copy link
Collaborator

Mugen87 commented Dec 17, 2019

AnimationUtils.subclip() should be sufficient for this use case.

@Mugen87 Mugen87 closed this as completed Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@mrdoob @chuckhacker @donmccurdy @timmeh4242 @Mugen87 and others