VRcade Shooter: Fixing My First Animation Problem ToddMitchell, February 3, 2020July 11, 2024 This post should be short and sweet. It’s about an issue that took up just enough time to talk about it. As I mentioned before, I’m happily charging into new territory by creating animations for a character in Blender, importing that animated character into Unity, then utilizing that animated character in my game. Needless to say, getting a feel for that process is going to greatly improve my projects, so I’m embracing the growing pains as I get the first animation or two in place. That first pain appeared suddenly after I showed off the generic enemy armature I put together in recent posts. In fact, the issue was present in this screenshot. Notice anything about that pelvis bone? Here’s how this character got his weird tailbone: As we’ve established, this figure is going to remain dead simple, so his skeleton will be a simplified version of anything you’d normally see assigned to a typical character: no finger bones, a three-bone spine, etc. When I completed my first pass at the armature, the pelvis piece didn’t have a dedicated bone at all. The spine started at the top of the pelvis and extended up thorough the top of the chest piece where the neck began. This would move the chest piece as needed and also serve as the parent bone for the other major bone connections. This setup got me through the basic pose test, but moving the model using that parent bone revealed that the unassigned pelvis piece would be left behind completely without its own connected bone. Figuring I hadn’t seen the end of this problem, I extruded a new bone straight down from the parent bone, connected it with the pelvis vertex group, and moved on, knowing all my pieces were at least attached. As soon as I tried a full-body post, knew I’d made a mistake. Rotating the pelvis bone or the parent bone suddenly had unintended effects on the skeleton and the model. I started to panic. Mistakes in Blender are scary, because at many points in history, they’ve been difficult or impossible to fix. If I had to ditch this armature and start over before renaming each bone again to match its vertex group, I knew I was going to take the kind of frustration break that often puts a project in jeopardy. Much to my surprise, turning the armature I had into the armature I needed was as smooth a process as I could have hoped for. Undoing parent relationships works better in Blender now than at any other time I’ve tried it. Disconnecting the pelvis bone, rotating it in place, then setting the new parent relationships required to use it as the new primary bone for the armature gave me exactly the results I wanted without nearly the time or effort I was concerned about. With the right armature for the model in place, I began working with the basic Dope Sheet and quickly determined that the best animation work was going to require the graph editor (for easing between keyframes) and the most efficient animation would require Blender’s Inverse Kinematic system, both of which I’ll cover in posts this week. Stay tuned! Share this:FacebookXLike this:Like Loading... Game Development rigging
Game Development Treat Your Business Like a Business November 18, 2019July 11, 2024 Are “small content creator” support communities really something we should want? Share this:FacebookXLike this:Like Loading... Read More
Game Development Creating a Prototype November 21, 2019July 11, 2024 This time on GameDev Breakdown, as promised, Todd runs through his prototyping process, start to finish. Share this:FacebookXLike this:Like Loading... Read More
Culture Reach Out and Sue Someone July 2, 2018July 11, 2024 Since we left off, my house was on HGTV for whatever reason, I moved the site to a shiny new server, and I never ended up telling John I was going to go ahead and record this episode without him. Sorry John. Share this:FacebookXLike this:Like Loading... Read More