Animating in Blender

Animation in Blender

Animating in Blender differs slightly depending on what’s being animated and how complicated the animation needs to be. Most furniture and rooms for example use very simple skeletal structures that don’t require complex articulation whereas avatars, and some accessories, do. In practice this means that although all animation is generally created the same way, changes in behaviour have to be accounted for to ensure an expected outcome.

For more help making animated items click here.

Animation layout showing some of the different animation editors in Blender
Which one?!

Blender has a number of Editors, (show above using the ‘Animation‘ layout) that can be used to generate animations; Dope Sheet (upper left), Graph Editor (middle-left), Timeline (bottom) and the NLA Editor (not shown).

FPS

Animation works by playing through a sequence, a collection of individual frames, as a given rate. In Blender this rate or FPS is set to 24 frames per second. In IMVU this same rate is 30 frames per second, an extra six frames. If the two rates don’t match it tends to mean Blender animations rending faster than expected in IMVU. To solve this both rates need to be identical. In Blender this is changed in the Frame Rate setting under Render Properties, click the selector and choose 30 instead of the default 24. This will then mean Blender and IMVU are fully synchronized.

IMPORTANT

The default 24 can be used but may mean animation playback is slightly faster than expected in IMVU (lower rate increase the speed at which objects appear to move, higher slow things down).

Setting the frame rate of an animation
Frame rate

IMVU uses a frame rate, the speed at which animations play, of 30. To match this change the Frame Rate setting in Blenders Render Properties to match, i.e. 30.

Sequence duration

Generally speaking the length or duration of a sequence is determined by the start and end keyframes marked to the timeline, this determines how long the sequence plays. Whilst working on a sequence however, it can be advantageous to set different start/end points, something that helps with cycling animation [link animation – looping-cycling], which can then be utilised in IMVU to force uninterrupted playback, especially for looped sequences.

To do this in Blender, in Render Properties and under Frame Range, set Start Frame: and End Frame: to appropriate values corresponding to the range required – if an entire sequence is 160 frames long but only frames 30 to 150 were needed, Start Frame would be set to 30, End Frame to 150.

IMPORTANT

On export Blender will include the full frame range ignoring the parameters set for Start/End.

Setting the start and end frames of a sequence
Frame range

The duration of an animation, how long it lasts, is defined by the number of keyframes it contains but also where its adjustable start and stop point are, which can be changed in Render Properties.

Auto-insert keyframes

By default Blender does not automatically insert keyframes when animating anything, it has to be enabled. And all though it might be active and usable, its properties are not be available other animation related editors, e.g. Dope Sheet, Action Editor, Graph Editor, NLA Editor etc.

To enable, access the Timeline Editor and click the red Automatic keyframe insertion for Objects and Bones button;

Automatic keyframe insertion using active Keying Set only button; set Type of keyframe to create when inserting keyframes to Keyframe;

Finally… set LocRot as the Action Keying Set used to insert/delete keyframes.

IMPORTANT

When active everything in the Scene has the potential to be marked with a keyframe, meshes included.

Enabling auto-insert of keyframe
Auto-insert keyframes

Blender can automatically insert keyframes immediately upon manipulating objects (bones. nodes, meshes etc.). Enable/disable in the Timeline Editor.

Action Editor

Blenders flexibility means a number of different editors can be used to create animated sequences. Whichever is used however, the results need to resolve to an Action, the active data that’s exported to FBX and Cal3D.

To display the associated Action Editor switch any available area to the Dope Sheet – click the Current editor type for this area button –

Then select Action Editor as the context from the Editing context being displayed menu – if a sequence has been generated using another editor the results will typically be shown in the timeline.

If not, scrub the timeline slider back and forth confirming the objects move as expected, then at specific frames in the timeline insert the LocRot data for the selected objects at that point (click Object » Animation » Insert Keyframe, LocRot).

For more help inserting keyframes click here.

IMPORTANT

It’s possible to create animation without an Action being generated so the Action Editor timeline may appear blank when initially accessed.

The Action Editor where most animation typically should be generated
Action Editor

All animations need an Action. The Action Editor is generally where animation is managed prior to export regardless as to what editor was actually used to generate the sequence.

Looping

Static poses aside (click here for more), most animated sequences will need to loop so when played or triggered in IMVU they repeat without there being any sudden jumps or hiccups as playback crosses the start/end threshold.

The way this is generally done is to make the start and end frames of a sequence identical to one another. With that said, looping is not just as simple as copying one to other, but doing so being mindful to allow for the transition from the start frame to the middle, and again from middle in to the end frame – something has to occur between the two, a transition, else objects, poses, appear to change abruptly, breaking the actions immersion and realism (think a dance animation that reset mid-pose).

For more help with looping animations click here [link animation – looping-cycling].

IMPORTANT

In this context looping is not simply about setting the #Loops value in IMVU, rather it refers to a smooth transitioning across a sequences start/end point as though playback is one long uninterrupted animation.

Looping animation generally means the start and end frames being the same
Looping

Animations that loop or cycle need to be set up so the start and end frames of the sequences are the same (identical duplicates) and frames in between properly transition in to, and out from, them.

Playback

Once a sequence has been created it can be previewed using Blenders playback controls or by using the Alt+A shortcut. To use the playback controls switch to the Timeline Editor and click the playback buttons to start/stop playback, skip to start/end and skip to next/previous keyframe. Alternatively Alt+A can be used to perform a quick start/stop.

IMPORTANT

The playback control buttons are only displayed in the Timeline Editor.

Using the Timeline Editor for animation playback control
Playback controls

Animations can be live previewed at any point using Blender playback controls available in the Timeline Editor or by using the Alt+A shortcut.

Updated on July 21, 2023

Was this article helpful?

Related Articles

Discuss this!
Ask questions and get answers in our Creator Discussions.
BROWSE DISCUSSIONS