Warcraft III resources & community, 2003–2006 · archived

Rotating Models

10 posts
#1

Rotating Models

Does anyone have the jass snippet to rotate a model? say for instance i would like the unit to be upside down?
#2
I think by Rotate you mean to move a unit in a circle? But what do you mean by "upside down"?
#3
im not sure if it is possible to create this effect with jass. However i have seen it done in a spell pack i downloaded from here. basically it creates the effect that the unit is standing on its head. perhaps the person who made the spell used a customized model. Ill see if i can find the spell.
#4
I did never find (or seek) a way to rotate a unit via JASS...
But if you want it to be fixed in a certain state of rotation, modify the value "orientInterp" in the object editor. Try negative values.
(possible by holding "Shift" while clicking on it)
#5
use the maximum Pitch angle and maximum Roll angle ( with dummy units )
#6
Art - Scaling Value: -1.00
#7
Not changable ingame.
#8
only way unless setting size in triggers to -100% works(which I doubt)
#9
hmm thanks guys! Ill try all this and let ya know if it works. Otherwise I think I might just edit the model and flip it upside down :wink:
#10
HAH! ok I figured it out. By changing the units model size via triggers to -100% I was able to make the unit stand upside down. However, he runs backwards (lol) any suggestions?

(Heres a copy of the trigger I made)
Rotate
Events
Player - Player 1 (Red) types a chat message containing rotate as An exact match
Conditions
Actions
Animation - Change Gryphon Rider 0002 <gen>'s size to ((0.00 - 100.00)%, (0.00 - 100.00)%, (0.00 - 100.00)%) of its original size

(I had to use 0-100 because world editor wont let you imput a negetive integer in this trigger (even with it allowed under preferences))