• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Adjusting Z-Angle of a unit via trigger

Status
Not open for further replies.
Level 3
Joined
Apr 16, 2016
Messages
28
Is there anyway to adjust the unit's facing Z-Angle by trigger? So that while the unit is in the air, I could have it "look down"
 
Level 7
Joined
Oct 19, 2015
Messages
286
Not directly. There is a function that lets you lock the orientation of a specific bone to face a point, however it only works on the "head" and "chest" bones of a unit model, so you'd need a custom model where the origin bone is renamed to a chest bone in order to rotate the model around it with this function.

Another way would be to use a dummy unit with the custom model that has a bunch of different animations for different pitch angles (for example the xe dummy). Then you could attach your unit model as a special effect to the dummy unit and then play different animations on the dummy unit to rotate it.
 
Status
Not open for further replies.
Top