Open Source Platform
for interconnected virtual worlds

How to Use IK Movement Editor

From RexWiki

NOTE: IK movements are not supported in realXtend 0.5 or Taiga servers at the moment (modrex).


IK Movement Editor is an experimental feature for creating your own movement animations. To read more about inverse kinematics, click here. Note: you can move and fly freely while the IK movement is running.

This is a quick tutorial which includes two example movements. To start working on your IK movements choose IK Movement Editor from the View panel. The IK Movement Editor floater should open (Figure 1).

The User Interface

Image:IKMovementEditorFloater.png

Figure 1. The IK Movement Editor Floater.


Here' s a brief explanation for each button:

  • Set L-arm: set the position of the left arm
  • Set R-arm: set the position of the right arm
  • Set L-leg: set the position of the left leg
  • Set R-leg: set the position of the right leg
  • Time: the running time of the movement in seconds
  • X: the X coordinate for the chosen joint
  • Y: the X coordinate for the chosen joint
  • Z: the X coordinate for the chosen joint
  • Add: add the current movement to the movement list
  • Del: delete the most recently added movement from the movement list
  • Load movement: load a movement list from a text file
  • Save movemens: save the current movement list to a text file
  • Run movements: run the current movements in the list

Example 1

Let's start by creating movements which make our avatar to drive an imaginary car. This requires five movements total.

First we have to add the preferred time for the movement. Let's make it 1 second. Next we want to insert the X coordinate for the left arm. Insert 25 to the X coordinate spinner and press Set L-arm. The Current step field should now state "(1) LA 25.00 0.00 0.00". Finally push Add button to add the movement to the list. You can now try running the movement pushing Run movements button.

Next we want to add the movements for the right arm, left leg and right leg. This should be done now easily following the steps for the left arm movement. Time and X, Y and Z values are all the same as in the left arm case.

Finally we want avatar to stand still for few secods so we can admire the results of our work. Insert 5 to the Time spinner, set X, Y and Z spinner to zero and press Add. Now press Run movements and that's it! The movement list should look now like this:

  • (2) LA 25.00 0.00 0.00
  • (2) RA 25.00 0.00 0.00
  • (2) LL 25.00 0.00 0.00
  • (2) RL 25.00 0.00 0.00
  • (5)

The resulting pose is shown in figure 2.

Image:IKMovement2.png

Figure 2. IK Example 1.

Example 2

The next example should now be pretty straightforward. The goal of these movents is to make our avatar pose in X shape. The movement list for this pose should be:

  • (2) LA 0.00 25.00 25.00
  • (2) RA 0.00 -25.00 25.00
  • (2) LL 0.00 2.00 0.00
  • (2) RL 0.00 -2.00 0.00
  • (5)

The resulting pose is shown the figure 3.

Image:IKMovement1.png

Figure 3. IK Example 2.