Malex21 / CreateBigCannons-BallisticCalculator

A python program that will give you the right orientations in order for your cannon to hit a target
GNU General Public License v3.0
9 stars 3 forks source link

Direction of cannon problem #5

Open Artkhubba37 opened 1 month ago

Artkhubba37 commented 1 month ago

Hello. Firstly, thank you for your work, it is amazing. Now about issue: I dont know why, but in version 1.2.0 directions (north, south, etc.) are inverted. For example, if I want to shoot and my cannon is facing north when not activated, in the calculator I must use the south direction. Is this right or not? Thank you for your response.

Malex21 commented 1 month ago

Hello, I'm sorry for taking so long to answer, I have been busy (and will be for the next year probably) Thank you for your kind words !

If I remember correctly, I had trouble with the yaw ; I think it was something like it being offset by 180 degrees, or maybe the result ranges from 0 to 360 degrees while Minecraft's yaw ranges between -180 to 180 I figured at the start of the project that yaw wasn't the most important thing, so I released it without fixing that (bad decision really) Fixing it now doesn't seem difficult, what's a bit time consuming is relearning how to make the executable, as customtkinter (the UI library I use) has issues with pyinstaller (what I use to make the .exe). That's the main thing preventing me from making small fixes/changes. This, and I need to test such changes (launch minecraft, shoot a couple times...)

In the next couple of weeks I might be able to fix it hopefully, if I get the time to do it