How to Animate a 3D Animal Model in Unreal Engine Using Predicted Actions and Durations from ML Model?

Sachin Dilhara
Tue, 05 Nov 2024 14:51:52 +0000
Programming & Scripting

I’m working on a project where I developed an ML model that predicts an animal’s next action (e.g., walking, running, idle) and the duration for that action. I’d like to use these predictions to animate my 3D animal model in Unreal Engine based on the action and duration outputs from the model.

I’m familiar with getting model predictions in Python, but I’m looking for guidance on:

1. How to bring the output (action + duration) from my model into Unreal Engine.

2. How to animate the animal model in Blueprints to perform the specified action for the given duration.

Any advice on the best approach or any tutorials for similar cases would be a huge help! Thanks in advance!

2 posts - 2 participants