Page 1 of 1

Armature animation

PostPosted: 27 May 2011, 23:50
by STKRudy85
As you know I tried to add character with armature animation in Battle Space Track. I stopped my work because of this step we have to pass.

Files on this topic : viewtopic.php?f=18&t=712

I want to use armature animation for Icetrack, in order to animate penguin, seals and bear

Re: Armature animation

PostPosted: 28 May 2011, 00:22
by Auria
Sorry, what is the question?

Re: Armature animation

PostPosted: 28 May 2011, 13:10
by STKRudy85
The armature animation isn't played in the good place and with the good scale in battle space.

it's an obstacle for my next track which will include these features.

Re: Armature animation

PostPosted: 28 May 2011, 18:01
by Auria
Yes, I know about this problem; however this is VERY difficult to fix. The solution for now is to be careful that the armature stays at rotation (0,0,0) and scale (1,1,1). When we finally manage to make the script work in Blender 2.5 it will be easier to fix (because blender 2.5's feature to apply scale and rotation to armatures seems to work much better than in 2.4)

Re: Armature animation

PostPosted: 28 May 2011, 21:33
by STKRudy85
fine

Re: Armature animation

PostPosted: 01 Aug 2011, 02:32
by STKRudy85
http://vimeo.com/27131970

As you can see on video armature can be animated as an object and can be moved in pose mode or in object mode.
And object can be moved , and animate without parent approval

As object both can have a game logic property armature and object

Armature Object mode is better to making the path of animals, robots...
I hope we don't have to "move object and animate armature" "move and animate armature" is more simple

---------------------------------------------------------------------------------------------------

In this example, I tried to give game logic property to object, it didn't work, then I tried to object and armature it didn't work either, at last I tried to give it to armature and it didn't work too :?

Re: Armature animation

PostPosted: 01 Aug 2011, 04:15
by Kinsu
STKRudy85 {l Wrote}:As you can see on video

I'm sorry Rudy, but even though I know how to animate objects in blender, I don't understand your video : it's too fast and there are no explanations.

STKRudy85 {l Wrote}:And object can be moved , and animate without parent approval

It seems normal too me... is it not ?

STKRudy85 {l Wrote}:I hope we don't have to "move object and animate armature" "move and animate armature" is more simple

Are you constrained to move the object to make decor element move ? I would think that the armature only is OK (maybe you can check some animated track as Scotland to see how it's made there ?).

Re: Armature animation

PostPosted: 01 Aug 2011, 09:35
by STKRudy85
What I'm trying to tell is the many possibilities to move an object by animation

1 move object
2 move armature as an object parent of another
3 move main bone which moving other so object

The good solution is the 2, that's signify that game logic property should be on bone.

Kinsu {l Wrote}:I'm sorry Rudy, but even though I know how to animate objects in blender, I don't understand your video : it's too fast and there are no explanations.


Sorry, but it's the vimeo encoding 's fault

Re: Armature animation

PostPosted: 01 Aug 2011, 11:53
by Kinsu
STKRudy85 {l Wrote}:The good solution is the 2, that's signify that game logic property should be on bone.

OK, got it now. But what would it concretely bring to have the bones tagged instead of the mesh ?

Re: Armature animation

PostPosted: 01 Aug 2011, 18:33
by STKRudy85
I don't now how , but animations have to work well and be easy to do with blender

I want to bring "my knowledge" to prevent and solve problem, today armature animation doesn't work in any track :? ?

Re: Armature animation

PostPosted: 02 Aug 2011, 00:01
by Auria
Please post your track, I cannot help you if I don't have the files

Re: Armature animation

PostPosted: 02 Aug 2011, 10:41
by STKRudy85

Re: Armature animation

PostPosted: 03 Aug 2011, 01:11
by Auria
Ok thanks. I don't know why it doesn't work, I will create a ticket and investigate

Re: Armature animation

PostPosted: 03 Aug 2011, 02:04
by Auria
Hi,

I have investigated. I don't know why, but it works just fine in Blender 2.5.

Also I have updated the documentation at http://supertuxkart.sourceforge.net/Tra ... ed_Objects to mention how to animate objects with armatures

Maybe you can move to blender 2.5? it is starting to be reasonably stable

Re: Armature animation

PostPosted: 03 Aug 2011, 20:47
by STKRudy85
Thanks for testing I'm happy of your answer :D

I have to change to 2.5 so

Re: Armature animation

PostPosted: 04 Aug 2011, 00:51
by Auria
In the media repository you can find a script to convert a blender 2.4 track to 2.5 format. It's not 100% automatic so you may need to tweak a few objects but I hope it won't be too painful :)

Re: Armature animation

PostPosted: 04 Aug 2011, 16:05
by STKRudy85
Thanks, I will take an eye on it as soon as I get time, don't worry I'm not afraid ...