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

[Solved] From 2D to 3D Triggering

Status
Not open for further replies.
Level 3
Joined
Oct 28, 2011
Messages
23
Hi there guys. This is my first post here in Hive =)

Actually I really have the ability to solve 3D functions but even though i have somewhat "above average" GUI triggering and know the fundamentals of jass, I still find it hard on getting to the right point.

I use Coordinates instead of Locations because i have heard that it's much faster...but, bang... I just can't get it right...
What does wc3 use in computing angles? i try converting Atan2(b,a) to radians or degree(same converting Sin(a)*c and Cos(a)*c) but to no avail. In GUI they're doing just fine but I need it in jass...I already mess up un 2D and that's why i can't move on triggering 3D functions...

...anyways, I really need this because I am doing a Race Game with real Physics. Thanks much. :goblin_yeah:

-nyks078
 
Level 3
Joined
Oct 28, 2011
Messages
23
http://warcraft.ingame.de/maps/mappedia/Pi

Below are the functions that use radians, maybe SetSoundConeAngles uses it too, do not know what this function does/how to distinguish it.

Although, as noted there, GetCameraField returns radians for roll, pitch and yaw, SetCameraField takes degree.

..wOw, i've been looking for this for a while! Thanks



Thank you guys..oh man this is awesome. Problem solved, not anymore confused now
ha,ha!!
 
Status
Not open for further replies.
Top