SmashedRockSoftware / Project_MissCrow

Pirate Game Jam, 2024
0 stars 0 forks source link

Figure out the pivot issue in Blender and Unity #52

Closed IllogicalDesigns closed 1 month ago

IllogicalDesigns commented 1 month ago

When exporting from blender to unity. Some items have pivots that are set way off from where the item exists. This is an issue as in Unity the pivot is used to place the object.

Here is an example of a bad pivot. The item is offset by hundreds of units. Rotating or moving the item then must account for this. Which has just led to bugs and bugs and bugs Image

Here is a good pivot from the swingable skull. It might be hard to tell, but this is where the string is. This allows for animations to play properly and for scripts to easily be created to swing the skull or other things. Image

bugmage commented 1 month ago

image

from my perspective, these objects already have good pivot points. Is there something I should do? (Armatures and mesh origin points also match one another) (screenshot from within blender)

bugmage commented 1 month ago

image

image

I tried to put everything at 0 0 0 in blender before exporting to unity. I hope this is the solution, keep me updated. If this is indeed the solution, I will re export everything that would require it