Request: Mesh importing and Origin formula.
Posted: Mon Dec 17, 2018 12:00 am
The story:
My original entry for AMC was to build a Domination map with a single Control Point guarded by a quadrupedal, gun heavy mech that would change team to whichever team owned said Control Point. The map itself is built, the code for the quadruped is in late beta, the meshes for the quadruped are done and... Shit... in the wrong place...
Extra info:
The meshes were all built in-Ed and converted using Mesh Maker, I know I can fix the mesh origins in the Exec code while importing. The problem is in finding the correct values. I can't figure out for the life of me how to calculate the correct values to have the Origin placed in the correct location.
I'm thinking some kind of formula must exist. Using the known values of the mesh (Scale etc) and the number of uu in-Ed per Axis the origin needs to be shifted.
The request:
Can some one please help me out with said formula. How do I work out the offsets to shift the Origin X-uu, Y-uu and Z-uu?
My original entry for AMC was to build a Domination map with a single Control Point guarded by a quadrupedal, gun heavy mech that would change team to whichever team owned said Control Point. The map itself is built, the code for the quadruped is in late beta, the meshes for the quadruped are done and... Shit... in the wrong place...
Extra info:
The meshes were all built in-Ed and converted using Mesh Maker, I know I can fix the mesh origins in the Exec code while importing. The problem is in finding the correct values. I can't figure out for the life of me how to calculate the correct values to have the Origin placed in the correct location.
I'm thinking some kind of formula must exist. Using the known values of the mesh (Scale etc) and the number of uu in-Ed per Axis the origin needs to be shifted.
The request:
Can some one please help me out with said formula. How do I work out the offsets to shift the Origin X-uu, Y-uu and Z-uu?