Lets do more with 3D Models

VR Guide Animation For Training and Education

Create a VR Guide for training and education in SimLab Composer.

In the Animated Characters and Organic Models Blog post we talked about Skeletal Animation and Flexible bodies. We also talked about sources that would provide you with those models.

In this post we will go in depth on how to use flexible bodies to create VR Guides in SimLab Composer.

How can Flexible Bodies improve VR Training experiences

In real life, whether you are training or even working on something, having someone with you to guide you or assist you will surely encourage you and improve your performance. This principle gave birth to the idea of having human characters in VR experiences.

human characters usage in VR

Human characters can serve the purpose of simulating a crowd around the user, making the experience more lively. In addition to that, they can be a part of the experience itself through aiding, guiding and assisting the user, which is what we are calling a VR Guide.

Importing VR Guide models to SimLab Composer

Once you are ready to import the flexible body to SimLab Composer, from the file menu select “Import“, then select the 3D file.

(Click here to learn more about flexible body sources ).

Importing a Flexible Body in SimLab Composer.

In the Import File dialogue, make sure you “Toggle on” the “Import flex object animation” option.

If you were to click on the Animation Sequences tab in the bottom panel, you will find a new group that contains the animation clips that SimLab Composer imported along with the 3D model.

Animation Sequences groups in SimLab Composer.

Each imported flexible body will have a unique animation sequences group in SimLab Composer.

To preview an Animation Sequence, hover over the sequence to reveal the play icon, then press the play button.


If you intend to edit the Animation Sequence, you need to send it to the Animation Timeline by either :

  • Clicking the “Send to Timeline” button.
  • Dragging the Sequence into the 3D area.
Sending Animation Sequences to the Timeline.

When importing FBX files Containing an Animation without a model, you can attach them to a model using the “Attach Sequence” option.

Attach Sequence Steps :

  1. Select the Animation Sequence that you intent to attach.
  2. Select the Model which you intend to attach the sequence to.
  3. Press the “Attach Sequence to object” button in the animation sequences panel.

Creating a path for the VR Guide to follow

You need to create a path in SimLab Composer to have the VR Guide follow it instead of manually moving the VR guide in the Scene.

To Create a path in SimLab Composer, follow these steps :

  1. From the Create menu, select “Paths” then “Create Path”.
  2. Select “Pick points on a plane” if you want the VR Guide to move on a single level, otherwise select “Pick in 3D space”.
  3. Set the Path type to “B-Spiline”.
  4. Start drawing the path by picking points with the left click.
  5. Click “Finish” to complete the path creation process.

To create an animation of the character following the path, do the following:

  1. Select the VR Guide 3D model.
  2. From the Object Animation menu select “Follow Path”.
  3. In the path motion dialogue, set the frame range where you want the animation to start and stop.
  4. From the same dialogue select “Pick Path”.
  5. Select the Path that you have created eariler.
  6. Rotate the VR Guide model to have it oriented with the path’s direction.
  7. Click the “Check Mark” to finish the path animation process.

Combining multiple Animation Sequences

Now that we have created a path animation for the VR Guide, we can add the imported Animation Sequences to the Timline.

As we have previously explained Drag and Drop any initial Sequences you want for the Guide to play before moving on the path. Lets say we need the VR Guide to wave his hand before starting to move then when he gets to the end of the path he gives us a “Thumbs up”, what we have to do in this case is:

  1. Set the waving sequence’s position in the Timeline at frame “0”.
  2. Slide the path animation to the frame where the waving hand animation stops.
  3. Set the Current keyframe slider to where the path animation starts.
  4. Drag and Drop the walk cycle animation sequence to the 3D area to add it to the Timeline.
  5. In the send to timeline dialogue you need to enable blending and set the repition of the walking cycle. The repetition number depends on the distance the model crosses in each cycle, as well as the length of the path.
  6. You can add “Thumbs up” Animation sequence at the end of the walking animation to denote the end of the animation.
  7. Feel free to slide the animation sequences in the timeline to finely tune the animation to your liking.
  8. Select all the keyframes from frame “0” to the frame where the walk cycle ends and click on “Create Animation Sequence”.
  9. Type a name for the Animation Sequence and click “OK”.
  10. Select the keyframes after the walk cycle ends (the thumbs up animation with the transition) and click “Create Animation Sequence” again.
  11. type in a name for the Animation Sequence and click “OK”.
Arranging Animation Sequences in the animation Timeline.

Implementing the Created Animation Sequences through The Training Builder

Now we need to use the “Training Builder” to set the conditions that when met, the new Animation Sequences play in VR.

First Sequence Implementation

Implementing the first sequence which is the walking Animation Sequence is pretty simple, in the Training Builder :

  1. Create a “Scene start” event.
  2. Add a “Play Sequence” response.
  3. Attach the event’s execute channel to the response’s execute channel.
  4. Select the “Play Sequence” response then click on the walking animation sequence that you have created earlier to attach it.
Implementing the first Animation Sequence in The Training Builder.

Second Sequence Implementation

We want the second Animation Sequence (The thumbs up sequence) to play when the user arrives at at the end of the path. So if the user followed the VR guide all the way to the end he gets a thumbs up!

The steps:

  1. Create a Cylinder by going to the Create Menu, then selecting shapes, then Cylinder.
  2. Place the cylinder at the end of the Animation Path, make sure it has a reasonable size.
  3. Set the alpha of the cylinder’s material to “0” since we do not want it to appear in the VR experience.
  4. In the Training Builder add a “Node Entered Node” event.
  5. Select the Viewer Start position and set it as SceneNode A.
  6. Select the Cylinder and set it as SceneNode B.
  7. Add a “Play Sequence” response then click on the second sequence (The Thumbs up Sequence) to attach it.
  8. Attach the response to event.
Implementing the second Animation Sequence in The Training Builder.

What we have Created is a VR experience where once it starts, the VR guide Waves at you then starts walking along the path. Once you (the User) follow him till the end of the path, then the VR Guide will give you a thumbs up.


Watch This tutorial to learn how to create a simple Guided experience for VR.

You can Also check out this Blog post on how to create a fireball throwing character in SimLab Composer, or this one on Importing an animated Human Heart.


Comments to VR Guide Animation For Training and Education

Leave a Reply

Your email address will not be published. Required fields are marked *