iamgreaser / iceball

Open-source rewrite of the VOXLAP version of Ace of Spades.
http://iceball.build
GNU General Public License v3.0
113 stars 32 forks source link

Pivot points on KV6 model are broken. #215

Open 10se1ucgo opened 9 years ago

10se1ucgo commented 9 years ago

For example, I have a 1x1x1 KV6 cube, set as the tent (blue), which is scaled to 1.0/3.0 in order to make it exactly 1 world block. The model is standing on top of the red and white pillar.

ingame screenshot

Pivot X and Y is smack in the center, as shown here

model screenshot

Also, the model seems to have spawned at half a block below the surface, which I believe can be fixed by changing

~~this.y = y at lines 170 and 182 for obj_tent to this.y = y + 0.5~~ Caused by the pivot Z being at 0.5 instead of 1.0

Note: After this issue is fixed everything will look very weird with the models I've made because with all of them I've compensated for it, but it's very ugly and hard to make accurate.

NotAFile commented 8 years ago

is this fixed? It looks fixed to me.

iamgreaser commented 8 years ago

I think I remember a bug involving net_unpack converting floats to ints which was fixed, so it might be fixed, but you'll have to retry it just to check.

10se1ucgo commented 8 years ago

Still appear broken to me (slightly more broken...).