adjusting group's local rotation axis


#1

Hi,

Is there a way to adjust a group’s local rotation axis?

I did a search online and I can only find solution for adjusting local rotation axis for an object. But what if I group a bunch of objects and freeze the group’s transformation, how can I then adjust the group’s local rotation axis so that the group can be rotate in way different from the now identical World and Local rotation axis.

If not, is there a workaround?

Thanks,
Jason


#2

A lot of times if you want to use a rotation that is different you can parent under a empty group. This is a good technique for keeping controllers flat (as opposed to gimbal locked/ or off balance)

Set the controller to 0,0,0 World space and align the controller to the axis that you want, freeze the transforms. Select the Object(s) and create a group, You can then use that group node to move things around while preserving your core rotation.

A good example of this can be seen with most well setup Foot Controls.


#3

Thank you for the tip, David. I’ll try that for sure. :slight_smile:


#4

i am not sure if u r asking this…but if u want to freeze controllers, try this…

  1. If your controller is parented to world:
//select the controller and run the command.
  
string $select[] = `ls -sl`;
 
string $tempgrp = ("freeze_" + $select[0]);
group -em -name $tempgrp;

parent $tempgrp $select[0];
move -ls 0 0 0 $tempgrp;
rotate -os 0 0 0 $tempgrp;
scale 1 1 1 $tempgrp;

parent -w $tempgrp;
parent $select[0] $tempgrp;

  1. If your controller is parented to some other node…
//select the controller and run the command.
  string $select[] = `ls -sl`;
print $select[0];
 
string $tempgrp = ("freeze_" + $select[0]);
group -em -name $tempgrp;
string $getParent[] = `listRelatives -parent $select[0]`;
print $getParent;

parent $tempgrp $select[0];
move -ls 0 0 0 $tempgrp;
rotate -os 0 0 0 $tempgrp;
scale 1 1 1 $tempgrp;

parent $tempgrp $getParent;
parent $select[0] $tempgrp;

let me know if some lines explode. hope it will not.
and if that was it, don,t forget to mark it useful.


#5

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.