Update README.md

Added animation Blender fix reminder
This commit is contained in:
bdnugget 2025-01-25 21:32:29 +00:00
parent 7be859d58f
commit ef3732c53c

View File

@ -122,3 +122,15 @@ The project uses Protocol Buffers for network communication. If you modify the `
```bash ```bash
protoc --go_out=. goonserver/actions/actions.proto protoc --go_out=. goonserver/actions/actions.proto
``` ```
### Fixing the models
This is a note/reminder to myself. The models and animations are generated with [meshy.ai (referral link, give me credits pls)](https://www.meshy.ai/?utm_source=referral-program&utm_medium=link&utm_content=TUZLRK). Somehow the bones armature things are not in the same root as the model and it becomes like a weird pudding when using the animation. I had to manually fix this in Blender by doing:
- Selected the char1 mesh thing
- Alt + P (the right Alt kek) => Clear Parent and Keep Transform
- Tried to do the same for Armature, they should both be in the Scene collection as siblings, so straight from root
- Select char1 and press Ctrl + A => All Transforms
- Repeat for Armature
- Select char1 and make sure it still has the Armature Modifier attached (via purple wrench icon), I remove it and reapply it just to be sure
When exporting it, I make sure Transform +Y is up direction is turned off, otherwise my gooner walks on the walls instead of the floor lmao