You can send messages to a unit's actor using triggers. If it is possible to change the orientation of the model with actor messages then it most certainly is possible to change it with triggers. I know one can change an actors orientation with actor messages, however this only applies to unit actors that are stationary as if they move they will reset their orientation based on the movement of the mover.
Thanks, Could you be a bit more specific though? I don't seem to find how can you set the orientation anywhere or anyway in the editor. I've only found SetRotationYPR as an actor message, but it seems it doesn't work. Let's say I want to display a bunker upside down, is it possible to do that?
Hi
Is it possible to adjust the 3D orentation of model through triggers?
Regards
You can send messages to a unit's actor using triggers. If it is possible to change the orientation of the model with actor messages then it most certainly is possible to change it with triggers. I know one can change an actors orientation with actor messages, however this only applies to unit actors that are stationary as if they move they will reset their orientation based on the movement of the mover.
In reply to Forge_User_04585675:
Could you be a bit more specific though? I don't seem to find how can you set the orientation anywhere or anyway in the editor. I've only found SetRotationYPR as an actor message, but it seems it doesn't work. Let's say I want to display a bunker upside down, is it possible to do that?
In reply to Forge_User_04585675:
Whatever I do SetRotationYPR doesn't affect my unit at all.
https://www.sc2mapster.com/forums/development/triggers/148784-actor-message-set-rotation
Where you attached an example map: PYR_Rotation_Example.SC2Map
But the link doesn't work, could you reapload it please! Thanks!
Look how the protoss campaign army screen does it. In that they get the selected faction unit to be turned by the mouse.
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
In reply to DrSuperEvil:
It is pstory01 although most of the triggers are in the void (campaign) library.
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