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

[Issue] Exporting "rotation": {"angle": 0, ...} Causes In-game Issues. #2481

Closed
SaltSouls opened this issue Sep 10, 2024 · 1 comment
Closed

Comments

@SaltSouls
Copy link

What are you trying to do, and what do you expect to happen?

Exporting a Minecraft block model should not export the rotation if the angel is 0.

What happens instead?

When exporting a Minecraft block model, it will export the rotation even if the angle is 0. This causes issues with the vanilla lighting pipeline when the game goes to render that model.

Model format in which the issue occurs

Java Block/Item

Blockbench variant

Program

Blockbench version

4.10.4

Operating System

Manjaro Linux x86_64

Installed Blockbench plugins

N/A

@SaltSouls SaltSouls changed the title [Issue] Exporting "rotation": {"angle": 0, ...} causes issues. [Issue] Exporting "rotation": {"angle": 0, ...} Causes In-game Issues. Sep 10, 2024
@JannisX11 JannisX11 moved this to In progress in Blockbench Planning Sep 13, 2024
@JannisX11
Copy link
Owner

The reason that this is exported is to save the pivot points of the cube to the file. If the pivot is at 0,0,0 it won't save the rotation.

I'll add a setting to enable/disable pivot point export.

@JannisX11 JannisX11 moved this from In progress to Unreleased in Blockbench Planning Sep 13, 2024
@github-project-automation github-project-automation bot moved this from Unreleased to Done in Blockbench Planning Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants