Locking Position & Orientation

Sometimes, an Animation calls for a bit more control than what you normally find in the base MAX files that IMVU supplies you. In these instances, it makes sense to Lock the Position and Orientation of a Bone or set of Bones in the Avatar Skeleton.

This makes it really easy to do things like Push-Ups or anything where the Avatar Body moves but the Hands stay fixed. Although we will focus on Hands in this tutorial, you can apply the same idea to any Bone(s) in any Skeleton.

Make your Pose

Even if you know in advance that an Animation is going to require a Pos/Ori Lock, you should build the basic Pose first. This allows you to figure out some of the nuances of the Pose before deciding on where to Lock the Bones.

In the Pose on the left, we want to have the Avatar Pushing Against a Solid Wall. You will note that, without the Hands Locked in place, the Animation looks more like some kind of defensive Tai Chi than Pushing against something of substance.

Create Dummy Node

Once the basic Pose is made, create a Dummy Node for every Bone or controller to be Locked.

Open the 'Create' tab on the right side of MAX and click the 'Helpers' icon (tape measure). Then choose the 'Dummy' button and click/drag inside the viewport. When you let go, you have created a new Dummy Node. You can name the Dummies whatever you want if you find that helpful.

Align Dummy Node

Dummy Nodes can be snapped to the exact location and rotation as any other object in the scene.

First, select the object that you want to Align. In this case, it is your new Dummy Node. Then, click on the Align tool on the top right of MAX. You will see your cursor change. Next, click on the object that you want to Align to. In this case, you choose the left Wrist controller.
Align Dialog Box

When you click on the left Wrist controller, the Align Selection dialog box appears. You then make sure that these three options are selected:

1. X, Y and Z Position - This moves the Dummy Node to the exact location of the Wrist.
2. Pivot Point- You know that the Pivot point for both objects is dead center on both.
3. X, Y and Z Orientation - This rotates the Dummy to the exact same rotation as the Wrist.
Node Aligned

After you click OK on the Align Selection dialog box, you can see that my Dummy Node is now in the exact same place and rotation as the Wrist Bone.

Assign Pos/Ori

Select the Wrist Bone and assign a Position Constraint and an Orientation Constraint.

Go to Animation/Constraints and choose Position. Then select the Dummy Node. The Dummy Node Blinks to indicate the constraint has been applied.

Next you choose the Orientation Constraint option, and then click on the Dummy Node agian. It Blinks again to let you know the constraint has been applied.

With Pos/Ori Locks on the Wrists, you can check out the Animation.

As you can see on the right, the Hands now stay in one place. The illusion that the Avatar is Pushing Up against something solid is achieved.
Only the Pelvis is being Animated in this shot. This means that your final Animation looks compelling and is a very small file size.

If necessary: Delete Pos/Ori

But what if you want to delete those Position and Orientation Constraints?

You can easily delete Constraints by going into the 'Motion' tab. With the 'Parameters' button selected, you can choose to see what constraints have been applied to Position and Rotation. If you want to delete the Position Constraint, just click on its name in the Position list. This will activate the Delete option below it. Click Delete and the Constraint is gone.
You can follow the same process for the Orientation Constraint.
© 2017 IMVU All rights reserved