How can I move the center of an object?
SLoTH_XVX
Posts: 199
I would like to use a randomizing script that I got over at ShareCG but many of the objects i want to make instances of do not have their centers at the base of the object. How can I move the center of the object to the base?
Post edited by SLoTH_XVX on
Comments
Open a tab called "Tool Settings" and dock it somewhere comfortable.
In it, choose "Joint Editor" as your active tool. Select the object you wish to modify in the scene.
If its a figure, make sure you select the root node (not the "hip" bone, but the very first node of the object). In case of props you have only one node to choose anyway.
The "Center Point" is the center of the object. Just change its X/Y/Z position to the center of the object.
Afterwards make sure the "End Point" is the same as the new XYZ position of the center BUT add like 10 units to the YPosition.
Change the Rotation Order to YXZ for this node.
Afterwards Right Click in the Viewport and select Memorize -> Memorize Figure Rigging.
It is done.
Just as an explanation.
The End Point is set 10 units above the center point on the Y axis so that the Node points upwards. You change the Rotation order to YXZ so that the bone is recognized as pointing upwards.
Does this answer your question?
I think so....I will need to give it a try. Thanks TW!
There was also an older script just for moving the origin point, by DeltaX15, and it didn't (doesn't!) need the Joint Editor.
[EDIT: Found it! Delta X15's scripts are to be had at 4shared.com.]
I am in search of Delta X15's scripts. They are no longer available at the above address. I use DS3A, and could use the InjectPMD plug-in. Thank you in advance for any assistance.
With kind appreciation,
Cat