Caution
The extension is at it's earliest stage of development and is not ready for use.
Note
Huge thanks to
- Damzic - for help with deep diving into Stride3D's API and some architectiral choices for the animator
- Nicogo - for help with C# and Stride3D API for in-editor executable code
An extensions for Stride3D game engine that provides easy to use powerful tools to create animations inside the engine.
If you want to find out how to use the Stride3D animator, head to project's Wiki
For the first step, you need to add all .dll files from repository's Runtimes folder to the Game Studio's folder. The folder should be located at C:%username%.nuget\packages\stride.gamestudio%stride version%\lib\net%net version%-windows7.0 (tested for Stride 4.2)
First of all, open the game's solution in Visual Studio. Then navigate to Solution Explorer and add animator's .csproj file to the game's solution:
And locate .csproj file from the downloaded repository:
The added animator project should appear in the Solution Explorer with other projects of your game's solution:
After adding the project to the game's solution, create (or simply use an existing one) folder for holding animator script:
And then add Animator.cs from repository's Scripts folder:
Yet we are not finished, the main game project is not connected to the animator project and so we face a lot of errors right out of the box:
Lastly, add project reference to the main game project:
And check the repository's project:
After all completed steps above and reloading game scipts and assemblies the animator component should appear as an option to add to an Entity: