Mocap Switcher
- export a scene animation from a Person atom into a file
- import the animation from the exported file into any Person atom
- autoplay on load
- load with trigger LoadPresetWithPath
In addition to being a useful tool for people who just want to watch or use someone's mocap in a different scene, it can duplicate the same mocap to multiple person atoms in the same scene. It can also be used by mocap animation creators to share their animations as resources independent of scene files.
The LoadMocapWithPath trigger allows you to choose the path to the mocap file from any trigger menu, similar to how LoadPresetWithPath works for presets. Combined with autoplay, you can load a new mocap and play it as part of the scene's structure in play mode.
Triggers menu (e.g. Scene Animation)
Known Issues
- loaded mocap doesn't start at the position where the person is currently standing, which can lead to collision issues; however you can just move the root node after loading the mocap
- does not support loading animations of different length onto different person atoms in the same scene (currently, the scene animation length comes directly from the latest loaded mocap)
- the person's root node rotation is not saved in the mocap file, which can leads to issues like horizontal walking if the rotation of the atom being loaded to is different from the rotation of the atom the mocap was saved from
- only works with Person atoms
Credits
- @ReignMocap for feedback
- @VamTimbo for the cartwheel animation (used in the v1.0 demo video) and some feedback