Feeding external data into deformer graph
There's two primary ways to feed external data into a deformer graph (other than data accessible from the skinned meshes via bindings). The first is to use the Set Variable methods provided by the Optimus Deformer Instance class:
In this case you would need a "MyFloat" variable inside your deformer graph:
The second way to feed data into deformer graphs is by creating custom Struct Animation Attributes and embedding them into your skinned mesh data via control rig. You can then read the struct members inside deformer graph. This could be useful in a case where you have lots of data coming in whose values will change frequently, you can send it all at once every animation tick instead of relying on blueprint Set Variable calls. For an example on how to set this up, refer to the Epic content examples project.
Last updated