|
So, i've just started with both programs, so i only know the basics. But i was poking around and I noticed there seemed to be options to animate in both programs. I was wondering if one was better than the other for creating a game animation. Also, when I was using Unity I saw an option to create a ragdoll out of several different parts, such as the torso, arms, ect. Would it be better to make different parts in blender, and then assemble them in unity, or make it all in blender? I just wanted to know the info so i could know the best way to do it and not get caught up in doing it one way and find out that I need to do it another way. Thanks!
(comments are locked)
|
|
In terms of animations, Unity animates things differently than Blender. With Blender, you can create animations for your model, such as "Run", "Walk", "Idle", "Attack", and these will all be executed on a mesh-level. But the animations in Unity are primarily for animating properties on your GameObjects. If you want to animate the transform, scale, or rotation, you can. You can also even animate script variables using the Unity Animator. So it really depends on what you want to do. If you want to create character animations for specific movements that pertain to your character, do them in Blender. If you want to create animations that affect Unity-specific variables, then use the Unity Animator. And (I'm no expert on Ragdolls having never used one before), but I think what you do is assemble the entire thing in Blender, with a bone structure and mesh hierarchy, and then you import your mesh into Unity where you assign each sub-mesh to the Ragdoll component and Unity will create all the proper constraints and joints for you to create the "Ragdoll" effect. I kind of get the idea of what you are saying, but just to comfirm: Are you saying that to use blender for the animations that are on a physical level, and unity animations for in-game animations that have a direct affect on the gameplay?
May 15 '10 at 06:14 AM
Tosha
Basically, yes, though whatever you decide, you should always be consistent. Don't code your "Walk" animation for your character in Blender, and then code the "Run" animation in Unity.
May 15 '10 at 09:30 AM
qJake
Alright. Thanks for the good advice!
May 15 '10 at 04:29 PM
Tosha
(comments are locked)
|
|
Unity will import Blender's armature based animations, that is bone-based, and nothing else. There is a useful script in Blender under the Animation script menu where it will bake constraint based animations for you, ie if you have things in Blender that drive your models bones, and animate it, this script will make the much needed animation sequences that Unity can read. Failing that I think you can animate in either program effectively. I suggest watching JoeRobbins' tutorial on animation here: http://blogs.unity3d.com/2010/05/05/animation-view-video-tutorial/
(comments are locked)
|
|
In our game we use Unity's built-in animations for character movement along paths and FBX-imported animations for the actual character deformations. Just make sure you have both nested, ie. the character (w/ animation) parented to the gameobject that has the path animation. You could use Unity's animation system for simple in-model animations like a box being cracked open and so forth. Unity animations main advantages are:
Good luck!
(comments are locked)
|
