Need animation tutorial

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
User avatar
vanblam
Posts: 243
Joined: Sun Nov 09, 2014 12:15 am

Re: Need animation tutorial

Post by vanblam »

Well I made a quick test door lol. Now I wan't to animate all the things!!

Little video lol
https://dl.dropboxusercontent.com/s/2dj ... 1.mp4?dl=0
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: Need animation tutorial

Post by minmay »

vanblam wrote:Ahh I see, the only problem is, you can really only get the exact location. Rotation and scale are hard to match if your bones are in an odd positions.
Sorry, I typed that part from memory and of course it was wrong :/ Back on my home computer now so I can give a more complete explanation.
When you export the model, the bone in the rig will adopt the transformation of the node object. You can see this by importing a rigged model, moving/rotating a node, and exporting the model (to a different filename please!) then importing the exported model again; the bone will have changed its location/rotation to match the moved node. This makes sense, since in Grimrock model files a bone is just a node - but you might expect it to work the other way around. Unfortunately, the exporter won't create the node for you: you have to make it yourself and give it the same origin as the bone yourself. And I can't remember how I did that last time...

I should just make the exporter create bone nodes automatically if they're missing.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Post Reply