Blender modelling questions (animation & scale)

User avatar
Kalabasa
Member
 
Posts: 34
Joined: Tue Jan 06, 2015 17:36
GitHub: Kalabasa
IRC: Kalabasa
In-game: Kalabasa

Blender modelling questions (animation & scale)

by Kalabasa » Tue Jan 13, 2015 17:10

I'm trying to make a new mesh model for a new mob I'm making.
The tutorial at the wiki says I should join all the objects together to make the texture. I did that and the object now has a texture png.

Here comes the animating part, the skeleton was detached because of the join operation, and I can't move parts of the model (arms, legs) because they are joined into one. How do I move them separately? Do I unjoin them? The animation part of the tutorial did not help in this case.

Second, how do I trigger animations in Lua? I see a set_animation function, but that seems to be for spritesheet (2D) animation.

Also, how do models scale in the game? How large in-game is a 1x1x1 cube in Blender, and what does the visual_size property do?

Thanks!
insert signature here
 

User avatar
Kalabasa
Member
 
Posts: 34
Joined: Tue Jan 06, 2015 17:36
GitHub: Kalabasa
IRC: Kalabasa
In-game: Kalabasa

Re: Blender modelling questions (animation & scale)

by Kalabasa » Tue Jan 13, 2015 20:35

Ok, I managed to solve part of the problem by using the Armature modifier instead of using bone parents for objects (which was my initial attempt). The objects are really supposed to be joined into one. Then vertex groups + bones are used for animation. The Animation part of the Using Blender tutorial was not specific enough/vague/incomplete (for noobs like me!). Can someone please edit that page to be more noob-friendly?

Edit:
The visual_size property sets the size of the object in-game. It does not matter if the Blender object is 100x100x100 or 1x1x1, the game rescales it to fit visual_size. But I wonder why visual_size only has x and y, and not z; and I can't fully figure out how it works.

The last problem I have now is animation. I set the all animations in one continuous timeline (as said by someone in the forum). I still don't know how to trigger animations.
insert signature here
 

User avatar
Nathan.S
Member
 
Posts: 913
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Blender modelling questions (animation & scale)

by Nathan.S » Wed Jan 14, 2015 23:12

I'd check out the simplemobs mod, as I know that has animation for the animals. I don't know how to trigger them myself, but I did create a goat and animated it, and everything worked with that.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 


Return to Modding Discussion



Who is online

Users browsing this forum: Google [Bot] and 4 guests