I'm still trying to understand attachments, and what i do not get are the forward and up used for rotation. I don't know what numbers to use. I've tried several random numbers, and it either doesn't change at all, or it changes it wildly. I am trying to tilt an adjustment to point slightly up. Can someone please explain how forward and up work and how to configure them?
I still don't really understand, none of the other threads i've searched really helped with my problem. I'm trying to tilt an attachment up. Most threads simply say how to rotate something 90 degrees or such. None have explained how to get a specific rotation and the calculations needed. And i dont understand what Up and Forward is, as the very few definitions are out of my understanding, and only touch on the surface
The wiki explains it quite clearly. Forward is the direction a model faces and up is the axis along which it stands.
Think of a model facing a top down camera. You get your across which is the X axis and the vertical towards the camera which is the Y axis while the remaining third dimension on the plane the camera is looking at is the Z axis. Models looking in the same forwards direction as the camera will look towards the negative Y values as their forward. Models generally stand with their heads in the positive Z values as their up.
I'm still trying to understand attachments, and what i do not get are the forward and up used for rotation. I don't know what numbers to use. I've tried several random numbers, and it either doesn't change at all, or it changes it wildly. I am trying to tilt an adjustment to point slightly up. Can someone please explain how forward and up work and how to configure them?
In reply to omgaboi:
https://www.sc2mapster.com/forums/development/data/233151-values-for-rotation-site-ops
https://www.sc2mapster.com/forums/development/triggers/148784-actor-message-set-rotation
There's many other threads about the subject if you search the forum with "rotation"
In reply to Knalle:
I still don't really understand, none of the other threads i've searched really helped with my problem. I'm trying to tilt an attachment up. Most threads simply say how to rotate something 90 degrees or such. None have explained how to get a specific rotation and the calculations needed. And i dont understand what Up and Forward is, as the very few definitions are out of my understanding, and only touch on the surface
The wiki explains it quite clearly. Forward is the direction a model faces and up is the axis along which it stands.
Think of a model facing a top down camera. You get your across which is the X axis and the vertical towards the camera which is the Y axis while the remaining third dimension on the plane the camera is looking at is the Z axis. Models looking in the same forwards direction as the camera will look towards the negative Y values as their forward. Models generally stand with their heads in the positive Z values as their up.
https://sc2mapster.gamepedia.com/Data/Actors/Site_Operation_(Explicit_Rotation)
As for the exact calculations read the second post of this:
https://www.sc2mapster.com/forums/development/data/233151-values-for-rotation-site-ops
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg