Converter (Unit Facer values To Modpack Math blocks)
by Leontierchen
This Mod adds a logic Part, that translates the world Coordinates of the target (X, Y, Z in blocks) and more from Fant´s Unit Facer to Durf´s Number Logic Values. It also can manipulate them in different ways so you dont have to do as much complicated math afterwards. Current fuctions are: - Target coordinates in X Y Z - relative to World - relative to Unit facer - relative to Unit facer and also relative to its rotation (Front = Y+, Right = X+, Up = Z+) - Distance from the Unit Facer to the Target in Blocks - Rotation between Unitfacer and Target (Wrap around 180, -180) (only on X and Y) - relative to world grid (Y+ = 0°, X+ = 90°, x- = -90°) - relative to unit facer rotation on X and Y (front = 0°, right = 90°) Thanks To Fant for the impressive help on some of the code If you experience any bugs, please report them on my discord https://discord.gg/5waTZYpC26 For Bugreports, please include tha latest game log file and also a video, how to reproduce it
Comments
0 total- No comments yet. Be first.
