Critical Mass :: 3D Action Puzzle Game

Don't Like Ad's?
Click Here


Forum Index - Rigging - Afect pivot only script

There are 13 replies to this topic
This topic is solved
ShareIt! Text-To-Speech





-Altopais
Member
Altopais

3 years ago
I'm no good at scripting and to lazy to press Hierarchy/Affect Pivot Only/Center to Object 300 times an hour, also i was unable to google the script for doing that in one click.
Is anyone here any good at scripting or knows where can i find a script to move the selected object's pivot to center?
I tried macro recorder and no good tongue.gif

Thanks


The secret of creativity is knowing how to hide your sources.
-Albert Einstein

+Jamie
Admin
Jamie

3 years ago
Im all out of answers I would have just used macro record... haha tongue.gif
Please support us and post a [Link to www.digitalartsfront.com] on your website.


+VarnishedOtter
Admin
VarnishedOtter

3 years ago
Oh man I hate doing that too, are you rigging / animating the model?
Please support us and post a [Link to www.digitalartsfront.com] on your website.

--Matt

+Steve Martin
Moderator
Steve Martin

3 years ago
*Moved to rigging
[Link to www.3dprevis.com]

-Altopais
Member
Altopais

3 years ago
at this point i'm just modeling, but also preparing pivots for rigging,i'm doing a matrix apu mech with milion parts and pipes and leverages and don't know how to name all the parts haha
i accidently stumbled upon a 3d palace apu modeling dvd and wanted to try and make my own version grin.gif
but that center pivot is annoying to press every 10 - 20 minutes grin.gif
The secret of creativity is knowing how to hide your sources.
-Albert Einstein

-Tyson
Senior Member
Tyson

3 years ago
If all you want to do is move the pivot point of each object to the centre. just select all the objects and do it to them all at once.

-Altopais
Member
Altopais

3 years ago
yeah but i don't have all the objects yet.
Here's an example, i'm currently working on foot and leg hydraulics, and i create one object model it and then affect pivot for easy moving and manipulation, then i model another part and do the same again and again, and it's really complex model with lots of parts small and large, it's annoying to do 3-4 mouse clicks to center the pivot for all of the objects one at the time.
The secret of creativity is knowing how to hide your sources.
-Albert Einstein

-Tyson
Senior Member
Tyson

3 years ago
Oh ok. well, I havent tried these out but there is a script here that would do the trick. and maybe some others that are helpfull aswell.
let us know if they are good yeah?.

[Link to www.jimjagger.com]

-Altopais
Member
Altopais

3 years ago
I tried an older version of jjtools and it didn't work, but this 2009 version works like a charm, thanks Tyson, affect pivot works wheeee grin.gifgrin.gifgrin.gifgrin.gif
and there's lots of biped rigging scripts too grin.gif
The secret of creativity is knowing how to hide your sources.
-Albert Einstein

-Tyson
Senior Member
Tyson

3 years ago
Awesome. I'll have to try them out myself when I get back to work.

-griffinax
Member
griffinax

3 years ago
Open New Script
Paste this :

selection[1].pivot = selection[1].center

and select the whole code and drag drop on the toolbar along with move tool etc, it will create a single icon for it, I use it alot, one click centr pivot grin.gif
"I'm like a rookie paramedic to a siren, praying for an accident.."
Cute Is What We Aim For

-Altopais
Member
Altopais

3 years ago
thanks man, but i already found a script in jjtools.
The secret of creativity is knowing how to hide your sources.
-Albert Einstein

-griffinax
Member
griffinax

3 years ago
Ah, didnt see the inbetween posts haha, no worries ^^
"I'm like a rookie paramedic to a siren, praying for an accident.."
Cute Is What We Aim For

-Altopais
Member
Altopais

3 years ago
nah thanks anyway grin.gif
The secret of creativity is knowing how to hide your sources.
-Albert Einstein

Top

Critical Mass :: 3D Action Puzzle Game

Don't Like Ad's?
Click Here