World Editor help

04/11/2018 17:10 anton1312#1
Thanks for reading it :)
04/11/2018 17:53 [ADM]Acid#2
You can try it with 0.5 / 0.5 , 0.5 / -0.5 , -0.5 / 0.5 or -0.5 / -0.5 on x and z for the diagonally walls, and 1 / 0 or 0 / 1 for the straight ones.. If you want to rotate more, you gotta try around a bit. Atleast that's how i do it.
04/11/2018 18:35 anton1312#3
Quote:
Originally Posted by [ADM]Acid View Post
You can try it with 0.5 / 0.5 , 0.5 / -0.5 , -0.5 / 0.5 or -0.5 / -0.5 on x and z for the diagonally walls, and 1 / 0 or 0 / 1 for the straight ones.. If you want to rotate more, you gotta try around a bit. Atleast that's how i do it.
I need to have normal angles, but I don't understand format of this shaiya rotation :mad:

I'm trying to use acos to get normal angle, but seems something wrong, cos then all objects feel bad xD
04/11/2018 23:24 beetols#4
If l right understood your question i think 1 is 180 (if you rotate of 1 you get the opposite direction) and -1 it's same. 45° should be or 0.25 or -0.25 dipending on direction.
04/12/2018 12:11 anton1312#5
Quote:
Originally Posted by beetols View Post
If l right understood your question i think 1 is 180 (if you rotate of 1 you get the opposite direction) and -1 it's same. 45° should be or 0.25 or -0.25 dipending on direction.
if RotX and RotZ is 0.7071 and -0.7071 (or 5 and -5) then 45° :confused:
04/12/2018 15:03 beetols#6
For example you want move on right side of 45°, than: RotX = 0.25, RotZ = 0 . if you want rotate left side: RotX = 0, RotZ = 0.25.

If you make RotX = 0.5 and RotZ = -0.5 you should get 1 (180°).
04/12/2018 15:23 anton1312#7
Quote:
Originally Posted by beetols View Post
For example you want move on right side of 45°, than: RotX = 0.25, RotZ = 0 . if you want rotate left side: RotX = 0, RotZ = 0.25.

If you make RotX = 0.5 and RotZ = -0.5 you should get 1 (180°).
as you can see RotX is 5, RotZ is -5, so if RotX X and RotZ is -X then you got 45°