catprisbrey / Godot4-OpenAnimationLibraries

Ready-to-use Animation libraries to retarget to bones in Godot4
http://bonesinthewalls.bandcamp.com
234 stars 37 forks source link

Root Motion? #2

Closed jasonswearingen closed 2 months ago

jasonswearingen commented 3 months ago

Hello, I'm new to Godot/3d game dev.

I've succesfully followed some tutorials for adding root motion to mixamo animations (via a blender plugin) and get that into Godot, and I'm wondering if you think this is practical to do with your library?

If so, could you please outline a process that you'd think would be practical, and if not, please let me know that too. I have had your project bookmarked forever, and now that I'm finally starting gamedev I'd like to figure out how to make use of it!

PS: this is the tutorial I followed for adding root motion: (FinepointCGI's tutorial) https://www.youtube.com/watch?v=1bzHNQJf9CA

catprisbrey commented 3 months ago

In their current state, probably not. You'd want my base blend files to make that easier rather than these animation library files.

I plan to release a root motion controller here soon, and with that will be a bunch of root motion animations similar to these here (I'll probably just use these same animations.)

If you don't mind waiting a bit longer, I'll be working on that soon. I'm just mid Godot Wild Jam this week and won't be able to work on anything else for another week or so.

-Cat

On Fri, May 17, 2024, 8:01 AM JasonS @.***> wrote:

Hello, I'm new to Godot/3d game dev.

I've succesfully followed some tutorials for adding root motion to mixamo animations (via a blender plugin) and get that into Godot, and I'm wondering if you think this is practical to do with your library?

If so, could you please outline a process that you'd think would be practical, and if not, please let me know that too. I have had your project bookmarked forever, and now that I'm finally starting gamedev I'd like to figure out how to make use of it!

— Reply to this email directly, view it on GitHub https://github.com/catprisbrey/Godot4-MixamoLibraries/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKIEENBNMGLP6U3QQ3PXFY3ZCYLS3AVCNFSM6AAAAABH4JWG2SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYDEOJWHEZTCMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jasonswearingen commented 3 months ago

that sounds great, please no rush, I have plenty to keep me busy learning for now :D

feel free to close, or keep open for tracking!

jasonswearingen commented 2 months ago

@catprisbrey fyi dealing with root motion is complicating my game design stuff, so I'm backing up, and going to try experimenting with gameplay WITHOUT root motion

Your anim libs work great with godot 4.3beta1 btw, but when I was importing the mixamo XBot, your default bonemap didn't map properly. I just created a new bone map and it auto-mapped fine.

catprisbrey commented 2 months ago

To be honest about that, this repo here isn't very good, this entire repo is kind of garbage due to some neglect and changing standards of it. A weird mix of old and new stuff that isn't necessarily compatible within itself anymore unfortunately. I'm in the process of straightening things out.

You should know I've made huge progress though on a new root motion controller, you might,... might, want to just wait for that.

On Tue, Jun 4, 2024, 4:08 PM JasonS @.***> wrote:

@catprisbrey https://github.com/catprisbrey fyi dealing with root motion is complicating my game design stuff, so I'm backing up, and going to try experimenting with gameplay WITHOUT root motion

Your anim libs work great with godot 4.3beta1 btw, but when I was importing the mixamo XBot, your default bonemap didn't map properly. I just created a new bone map and it auto-mapped fine.

— Reply to this email directly, view it on GitHub https://github.com/catprisbrey/Godot4-MixamoLibraries/issues/2#issuecomment-2148556840, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKIEENAO5FCQWCHONES2M6LZFZCHLAVCNFSM6AAAAABH4JWG2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBYGU2TMOBUGA . You are receiving this because you were mentioned.Message ID: @.***>

jasonswearingen commented 2 months ago

ahh that sounds wonderful. I'll prototype using your current library, as it is more than enough to keep me busy for a while. But yes I will keep my eyes peeled for your updates! I hope I can learn enough to help contribute in the future.

catprisbrey commented 2 months ago

All right, I just updated the melee library file here. There are now root motion versions of the animations as well in the melee library V2 file.

They haven't been fully tested, I'm still working on the root motion controller that will utilize them, and also act as the test for all of them, so this isn't necessarily the final product.

It's very likely these animations will be tweaked a little bit as I start putting them through the rounds of tests, but even still it's enough to get started if you needed them sooner.

Also, I forgot to mention, when you asked about the openbot file. I stopped worrying about the open bot when I made the repository for the Rigodotify plug-in. It's sort of the solution to all of the problems, and the need for even having a standard file somewhere.

Rigidoify produces a rigify metarig, that has a special button to convert it to a Godot/game dev skeleton. It gives you all the benefits of rigify's great control rig, and the ability to add to the metal rig, while also reducing the skeleton to a proper Game Dev skeleton before you start animating. So basically you can use rigidoify to give any model you have, a Game Dev skeleton that will be compatible with all these animations inside Godot.

jasonswearingen commented 2 months ago

Thank you so much. I will take a look at your root motion stuff after I get a basic controller+camera figured out. I am not an animator/modeler but I think I can ignore blender/rigify if I just focus on prototyping with your+mixamo stuff.

catprisbrey commented 2 months ago

If you haven't explored Godot 4 soulslike template, you may want to take a look. Since it has a character controller and a camera setup that work pretty nicely, it might help you out.

Currently working on the root motion-based branch of that repo. It'll honestly simplify the code significantly being root motion controlled.

I haven't committed anything up yet on that Branch, but you may want to keep an eye on it if you're looking to do root motion primarily.

On Thu, Jun 6, 2024, 11:12 AM JasonS @.***> wrote:

Thank you so much. I will take a look at your root motion stuff after I get a basic controller+camera figured out. I am not an animator/modeler but I think I can ignore blender/rigify if I just focus on prototyping with your+mixamo stuff.

— Reply to this email directly, view it on GitHub https://github.com/catprisbrey/Godot4-OpenAnimationLibraries/issues/2#issuecomment-2153122334, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKIEENGDEKMJQACUVBW6MUDZGCRBXAVCNFSM6AAAAABH4JWG2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGEZDEMZTGQ . You are receiving this because you were mentioned.Message ID: @.***>

jasonswearingen commented 2 months ago

oh wow, I didn't know about your other repos :D I think I better restart, so I'll begin again there.

Again, Thank you so much.

catprisbrey commented 2 months ago

I just published yesterday the new root version of the souls template.

If you haven't checked that project out, it's meant to be a boilerplate project with everything you need to get started on a souls or Zelda like game.

On Sun, Jun 9, 2024, 7:19 AM JasonS @.***> wrote:

oh wow, I didn't know about your other repos :D I think I better restart, so I'll begin again there.

Again, Thank you so much.

— Reply to this email directly, view it on GitHub https://github.com/catprisbrey/Godot4-OpenAnimationLibraries/issues/2#issuecomment-2156628267, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKIEENFE7YABEBMEOSEB6CLZGRQATAVCNFSM6AAAAABH4JWG2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWGYZDQMRWG4 . You are receiving this because you were mentioned.Message ID: @.***>

catprisbrey commented 2 months ago

I think it's time i close this one out. I've started dumping more libraries in here again too and trying to make sure i include root motion versions for any that would benefit.

For now there is a melee/fantasy focused library and a shooter/stealth focused library. Eventually i'll start spinning up some for the animals too (as those needs arise in my own projects).