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

[Suggestion] Flagging issues with wrong Molang #2011

Closed
TaisenSchettler opened this issue Aug 25, 2023 · 0 comments
Closed

[Suggestion] Flagging issues with wrong Molang #2011

TaisenSchettler opened this issue Aug 25, 2023 · 0 comments

Comments

@TaisenSchettler
Copy link

Detailed description of your suggestion

It would be nice to get a warning/error when Molang formulas used in keyframes are not resolvable. Currently Blockbench defaults to 0, but Minecraft Bedrock creates a content log error for this.
grafik

This was the used Molang that threw an error:
-62.5(math.cos(query.anim_time480)50)

The problem here is that the -62.5 never gets properly combined with the cos function.

The result is that the game throws this error:
-62.5(math.cos(query.anim_time480)50) | found multiple operations without a combining operation between them

Would be amazing to get that added, to rule out another possible user error with Molang.

@TaisenSchettler TaisenSchettler changed the title Flagging issues with wrong Molang [Suggestion] Flagging issues with wrong Molang Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants