4.2 UE 5.3 Animation without physics
Sorry it was a holiday yesterday (Wednesday) so many of us were busy doing family things. Mario will be here to help you first thing Thursday (likely 4-5 hours from now).
I'll be looking into this today and will report back here.
I was unable to reproduce your issue. What I've done:
- Export your Spine project with Spine Professional version 4.2 to both .json and .skel (also exported the atlas). Generated files are
test-data.json
,test-data-binary.json
,test.atlas
andtest.png
. - Opened our Spine-UE example project
- Dropped the files into the Content Browser
- Created a new level, and a new actor inside the level
- Added a
SpineSkeletonRenderer
andSpineSkeletonAnimation
component to the actor - Set the Atlas property of the
SpineSkeletonAnimation
component totest
- Set the Skeleton Data property of the
SpineSkeletonAnimation
component totest-data
(andtest-data-binary
in another test, to check if binary data has issues) - Set the Preview Animation property of the
SpineSkeletonAnimation
component toTest
This works as intended, just like our celestial circus scene (Getting Started/10-physics
), which also makes use of the physics feature.
Are you sure you are using the latest spine-ue runtime from our 4.2 branch? Are you sure you also copied the latest spine-cpp
runtime over to the plugin as described here:
https://en.esotericsoftware.com/spine-ue#Installation
Created the actor, everything works.
It remains to be seen if this is possible in widgets?
Then you'd have to run somewhere at the actor level, put the camera in and render to texture animation?
- Modifié
Apologies, I didn't gather from your posts that you are using widgets. There was indeed a bug in SpineWidget.cpp which prevented physics from being updated. I've just pushed a commit. Please pull the latest code from the repository.
Everything works great!
Thank you so much for your quick help)
And a little feedback about the physics - it's FANTASTIC!
So user friendly and makes it so much easier to create animations.
Thank you for your work!)