• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[General] non-rotating unit

Status
Not open for further replies.
Level 12
Joined
Mar 13, 2012
Messages
1,121
Has the unit to be actually looking in one fixed direction (for casting or attacking) or is it enough if the unit appears to look in one direction?

Actually looking in one direction:
I can only think of disabling turning and maybe setting animation speed to 0 and trigger the movement.

Only appear to look in one direction:
A nice solution is to edit the model and use billboarding for the required fixed axis.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,202
Disable turning by making it's Animation speed to 0%-> Actually looking in one direction
Since animation state is discarded/not processed when a model is not in view this could bug if the player is not looking at it when it gets set up. Or at least I think it would (maybe it does not, but generally animation stuff is not that reliable).
 
Status
Not open for further replies.
Top