The 'Motion Snapshot' node is the most simple yet one of the most important nodes in the entire suite as it is used by all other nodes in Motion Symphony to facilitate transitions.
The Motion Snapshot node captures the character's pose so that other MoSymph nodes can check what the current pose is and match to it even if the pose comes from a completely different state in the graph. This means you could have motion matching in different nodes with continuous fluid transitions between them instead of ugly cross-blends. It also allows seamless matching between all MoSymph nodes as well as seamless transitions from non-MoSymph states.
Placement in the Graph
It is recommended to place this node near the end of your animation graph after any intertialization blending nodes but before any procedural procedural animation. This will ensure that other MoSymph nodes are matching to the most accurate current pose without being adversely affected by IK adjustments.
Details / Settings
The details and settings of the Motion Snapshot node are relatively simple as shown below:
Body Velocity - The current local velocity of the character this frame. This property has been exposed as an input for the node in case the developer wishes to set the velocity manually.
Body Velocity Record Method - The method by which body velocity is recorded
None - The body velocity will not be recorded and will remain as default.
Manual - The body velocity is expected to be updated manually via the 'Body Velocity' input
Retarget Pose - If checked the pose recorded will be retargeted to the native skeleton for the animation. If you are using the same character model as your animation sequences are bound to, leave this unchecked, otherwise keep it checked.
Bone References - A list of bone's to record for the pose snapshot. It is not necessary to record every single bone in the skeleton for motion matching and pose matching, only the bones that are required. Therefore, list the bones here that you intend to match throughout all MoSymph nodes in your entire animation graph. Note that if some references are missing, mosymph nodes will automatically register bone requirements to this list. However, it is recommended to have the list setup properly by default.
Console commands can be used to help to visually debug the 'motion snapshot node'. First open the command by pressing the tilde (`) key and type in the following command replacing the # with a value from 0-2
0 - Turn off debugging
1 - Debug bone positions
2 - Debug bone velocities
The MotionSnapshot node can also be disabled or enabled via a command as follows:
0 - Disabled
1 - Enabled