• 🏆 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!

Model rotation clockwise/counterclockwise?

Status
Not open for further replies.
Level 12
Joined
Sep 28, 2012
Messages
277
This has bothered me for years... Is there a way to make triggers cause a model to revolve in place continuously? Because there's no way to toggle clockwise or counterclockwise, it seems to just take the shortest way to revolve the model, but that means it can at best just sway back and forth, not turn in a seamless circle. I've also tried doing the rotation in thirds (120 degrees), but there's still a pause when the next trigger fires.

Is it possible to do this without making the revolving model look like crap? If only there was a way to decide which way it rotated. One "hiccup" of animation wouldn't be that bad.
 
Level 15
Joined
Mar 25, 2016
Messages
1,327
You can split the rotation into many small roations. Every 0.03 seconds is enough to have a smooth rotation.

  • Smooth Rotation
    • Events
      • Time - Every 0.03 seconds of game time
    • Conditions
    • Actions
      • Unit - Make Footman 0000 <gen> face ((Facing of Footman 0000 <gen>) + 1.00) over 0.00 seconds
 
Status
Not open for further replies.
Top