#Position offset when importing model
1 messages · Page 1 of 1 (latest)
In the video when you reset the transform of the pistol, it returns to the center of the gameobject like how you want it to
the problem is, it's still offseted on the y-axis
Thats because the empty gameobject (GameObject in hierarchy) is set to that position
when you child an object to another object, the child will follow the parent
so your pistol is at 0,0,0 of the parent object
you can position the parent object whereever you want it now
my point is
th weapon is offseted in blender
and it's carrying that offset into unity
so when i reset the weapon's transform in unity, it still won't be in the middle of the empty gameobject because the pivot point is different
so is there a way for me to change that pivot when exporting/importing
it's hard to model with the model being too close to the grid
and while yeash, i can just change the pivot within blender
i see pretty much everyone model the same way and somehow export it with a different pivot
One way to get rid of the offset (maybe) is to just reset the position in blender and export it, and you can undo it in blender after the export if you want to
another way would be to make another empty in unity, position it where you want the pivot of the pistol to be, and child this object to the original empty
honestly yeah i might as well just go with your first suggestion
been kinda getting bored looking at the same stuff for like an hour now lol
tried it
it does work
thanks 🙏
Here's the second method if you ever need it elsewhere