Using the Rotate Pivot tool in layout.

dranos

New member
Ok I know this should be very simple but I cant seem to figure out this tool. I have created a model with multiple objects on different layers at various angles to each other.
In Modeler I gave each object layer its proper pivot point. Now I get into Layout and click on the layers only to find they have wierd rotation angles. This I expected, but then I use the Rotate Pivot Tool to get the pivot just right but it just wont apply. Once I rotate it, hit the Record Pivot Rotation button which seems logical then try to go back to the Rotate tool, the pivot just snaps back to its original ackward angle.

How can I give an object a new pivot rotation angle in Layout and make it stick?

I really need help with this one quick. The project is due today!
Thanks in advance.
 

Ma3rk

Curmudgeon in Training
Yes, it should be simpler, but it isn't. This stuff is all written by people who might be geniuses when it comes to code and such, but when it comes to dealing 'splaining things visually or in human terms, generally that's just not gonna happen. And it's not just Lightwave; it's an industry wide affliction.

Anyway, part of your issue stems from this very thing. "You named that tool What?" and that sort of thing.

The Rotate Pivot tool is a bit of Rub your Tummy, Pat your Head. BUT, the Record Pivot Rotation tool is just for Bones. I think what you need to do once you've roatated to where you want is HIT THE SPACEBAR. Enter doesn't do it like you'd think for some tools.

Anyway, once you've dropped the tool you can test the new rotation setting.

Hope that helps.
 

Axis3d

Lightwave User Since 1990
Record Pivot Rotation is for bones if I'm not mistaken.

I've done something like this in my past by using bones in the object. In Modeler, I put all objects into one layer. I made a weight map for each object and added a bone, positioned and oriented correctly for each object. Each object gets its own unique weight map and a bone that corresponds to it.

In Layout, convert all skeletons to bones. In the Bones properties panel, make sure each bone is using its correct weight map so it only moves the correct object.

Now, if there are any bones whose angles aren't correct, you can use the Align Pitch and Record Pivot Rotations. You just have to Rest each bone after doing so.
 
Last edited:

Shabazzy

LightWave Fan Boi
Ok, so assuming that you are not trying to affect bones but have created geometry in Modeler with different parts that rotate independently of each other (like a car door for example). The correct way is to ensure that the component (the car door in this example) is aligned with the positive Z.

It's important to remember that LightWave's rotation prioritises the positive Z axis and therefore all global rotation is based on the pitch rotating inline with the positive Z axis.

This is important because when you create any geometry in Modeler that will be rotated in Layout, the pivot point will always have the pitch pointing toward positive z when it initially loads into Layout. All rotations will be calculated in relation to this global rotational value. If you press y after loading the geometry into Layout, and look at the info display in the bottom left, you'll see that the HPB all have a value of zero. This means that the object is set to Layout's default rotation position and the object's pivot point is now aligned in accordance with LightWave's preferred global rotation system.

So knowing this means that when you build your model you have to think very carefully about how any parts that rotate should be built and aligned in the Modeler workspace.

A model's parts that rotate should generally be on a separate layer in Modeler and aligned in the workspace in accordance to how they will rotate. For example a house door will usually rotate on only one rotational axis. That usually being the heading axis. But a car bonnet (hood for our American friends) will generally only rotate on the pitch.

Knowing this means that you would build the car bonnet in line with the z axis, and where you'd want the hinge to be would be in line with the x axis and the edge of the geometry that would have the hinge to be in contact with the origin.

The house door would have the hinge on the left or right edge and would be in line with the y axis and in contact with the origin in modeler, and normally (although it probably wouldn't really matter much in this case) be facing the positive z axis as it runs along the x axis.

When loaded into layout you would then position the objects that rotate where you needed them and they would rotate properly.

That's the correct way.

If, on the other hand, like so many users do, you create your model in modeler with parts that rotate separately cut from the original layer and pasted in place on other layers, then the pivot point moved in position using the Layers>Pivot>Pivot Tool. When you load the model into layout you'll most likely have rotational problems.

So how to fix this?

Well, the answer that I know of is to use nulls.

You create a null and give it a name. Put it in the position of your rotating object's pivot point or close to it. Ensure Parent In Place is activated. Rotate the null to your liking. Select the rotating object and open its motion options. Parent it to the null and rotate the null. The rotating object should now rotate the way you want. If not, repeat unparenting and adjusting the null until it does. The null will be the controller you use for rotating the object.

As a precaution I would then open up the scene editor and lock the rotating object so that you cannot select it by accident, as well as deactivating the null's rotation channels that you will not be using by clicking the H,P or B buttons of the info display in the bottom left of Layout.

This is a method that works well, but not necessarily the preferred LightWave way.

I hope this information helps or that someone finds it useful.
 
Last edited:

Ma3rk

Curmudgeon in Training
I for one saved this off as I'm always fumbling for a bit if I haven't worked with this sort of thing for awhile, which is often.

I might add that one of the OD Tools that really speeds up this sort of thing is the OD Layer Panel Pro tool.


Here's a recent item where it came in hand. Ape-hanger style handlebars, that go to a worm-gear which in turn drives the angled fork. Turned out being much simpler that I thought, although I haven't set up the worm gear rotating following fully as ya can just barely see it it most cases.
 

Attachments

  • Steering Pivots.jpg
    Steering Pivots.jpg
    143.5 KB · Views: 61
  • Steam MotorBike-NotTurned.jpg
    Steam MotorBike-NotTurned.jpg
    372.3 KB · Views: 62
  • Steam MotorBike-Turned.jpg
    Steam MotorBike-Turned.jpg
    337.5 KB · Views: 63
Top Bottom