Answered

API for copying, creating, and modifying keys

Tim 1 year ago updated 1 year ago 2

Hi. I am loving the tool. Thank you!

I have some bulk actions I want to do on a bunch of clips... copy key frames from one bone to another, modify the keyframes with specific values, etc. It would be way easier to write an extension to UMotion that does this with code.

I don't see a way to do this with the API, but I may have missed it. Can I create, copy, and modify keys through a ClipEditor extension?

UMotion Version:
Version 1.29p01
Unity Version:
Unity 2021.3.12f1

Answer

Answer
Answered

Hi Tim,

thank you very much for your support request.

Access to key frames is currently not exposed via the UMotion API. The only methods available are for creating key frames based on a current local/world position/rotation/scale of a bone/transform (see PoseEditor.TrySetFK...).

Here you have a comprehensive list of all available UMotion API methods: https://www.soxware.com/umotion-manual/UMotionAPI.html

I've put your request on my list for future UMotion API extensions, but can't promise on if and when such a feature would be released.

Please let me know in case you have any follow-up questions.

Best regards,
Peter

GOOD, I'M SATISFIED
Satisfaction mark by Tim 1 year ago
Answer
Answered

Hi Tim,

thank you very much for your support request.

Access to key frames is currently not exposed via the UMotion API. The only methods available are for creating key frames based on a current local/world position/rotation/scale of a bone/transform (see PoseEditor.TrySetFK...).

Here you have a comprehensive list of all available UMotion API methods: https://www.soxware.com/umotion-manual/UMotionAPI.html

I've put your request on my list for future UMotion API extensions, but can't promise on if and when such a feature would be released.

Please let me know in case you have any follow-up questions.

Best regards,
Peter

Thanks Peter