I mean a model with is built of may little objects, for example a house (wand, door, window,…)
If I now want to animate only the door, how can I check which model has animations (with python), and how many it has ??
And if I make a Person which can attack while running, do I have to draw the legs twice ?
Or how would you solve this problem ? Splitting the mesh ??
If you’re after the number of animations it has, you could create a property and set the value to the number of animations it has.
if you have an attack animation that involves only the arms and the walk animation involves only the legs, then they can run simultaneously. If you have keyframes for the arms with your walk animation then I believe you would have to animate the legs during the attack animation as well.
go to the action editor to see how many frames are in any given animation.
if your walk cycle contains no keyframes for the arms and your attack action contains no keyframes for the legs, then they should automatically run simultaneously in the game engine when you activate the sensors that trigger them.
I could be wrong though, I don’t have access to blender at the moment to make sure.
How can I with python get the maximal framenumber for each selected object ?
including Armatures / IPO - Curves …
And how can I check if a object is a mesh ?