#Changing the pivot point of an object

1 messages · Page 1 of 1 (latest)

deep cosmos
#

Hello and happy Unite!
So far in Unity, in order to change the pivot point of an object we had to reimport the object to any 3D software and import back a fixed version.

A simple workaround for this was to place the object under a sub-empty-gameobject and easily move the pivot, but that doesn't look nice.

What would be the best way to change the pivot point of a gameobject?
Thanks!

fallen root
#

I don't believe this is currently possible. The work around you proposed is the best way.

deep cosmos
#

Cool, Thank you!

fallow dew
#

An alternative would be to preprocess the meshes essentially moving all vertices by the desired amount. This is a bit more complex but would allow for the same end result without using an additional game object but in the end it would only offset the work from the mesh exporter to the time you're doing the preprocessing (be it in game, or during edit time)

deep cosmos
#

Wow interesting solution!
But yea a re-import would probably be better in most cases.
Thanks!