- Изменено
[UE4] SpineActor flickers on single frame
I made super simple code: spawn mixandmatch actor randomly.
and on spawn time, it flickers on single frame. (Played in editor)
- 0.25x slower video example.
Did you set bones and slots to setup pose? It looks like the first frame doesn't have its bone transforms calculated. See spine-ue4 Runtime Documentation: Resetting to Setup Pose
Did you wire up the tick event as described here? spine-ue4 Runtime Documentation: Spine widget for UMG UI
That is responsible for calculating all the poses after applying the animation. You can also call it after set animation on the Construct event chain.
Ah, apologies! You can directly call the Update world transform
node: https://github.com/EsotericSoftware/spine-runtimes/blob/4.0/spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Public/SpineSkeletonComponent.h#L80
Mario написалAh, apologies! You can directly call the
Update world transform
node: https://github.com/EsotericSoftware/spine-runtimes/blob/4.0/spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Public/SpineSkeletonComponent.h#L80
It works. thank you.