• 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.

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 16
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