• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Special Effects Yaw Not Working?

Status
Not open for further replies.
My understanding is that the new Blz SFX natives the rotation axes change with each rotation so trying to use something like Euler angles doesn't work (they presume 3 fixed axes of rotation until the full rotation around each is finished). Searching on the forums here should turn up some results with workaround functions/libraries; I believe I've seen them recently.
 
It also works with (0 to 2 PI) :). that was just to annouce the difference. this trigo stuf is periodic, a multiple of the angle/radians produces the same result.

To the angle radians conversion.
Use that from blizzard.j
bj_DEGTORAD = bj_PI/180.0​

->
angle * bj_DEGTORAD = wanted radians​
or
angle * PI / 180 = wanted radians​
 
Status
Not open for further replies.
Back
Top