Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pivot points on KV6 model are broken. #215

Open
10se1ucgo opened this issue May 3, 2015 · 3 comments
Open

Pivot points on KV6 model are broken. #215

10se1ucgo opened this issue May 3, 2015 · 3 comments

Comments

@10se1ucgo
Copy link
Contributor

10se1ucgo commented May 3, 2015

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.

@10se1ucgo 10se1ucgo changed the title Pivot points on KV6 model is broken. Pivot points on KV6 model are broken. Apr 2, 2016
@NotAFile
Copy link
Contributor

is this fixed? It looks fixed to me.

@iamgreaser
Copy link
Owner

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
Copy link
Contributor Author

10se1ucgo commented Jul 1, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants