• 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] Problem with Point with polar offset

Status
Not open for further replies.
Level 11
Joined
Oct 16, 2013
Messages
246
The image says it all. Missile (Vexorian's dummy) spawns at 'My Unit offset by 15.00 towards ((Facing of My Unit) - 90.00) degrees). Thanks in advance.
 

Attachments

  • p.jpg
    p.jpg
    74.9 KB · Views: 271

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,285
Ever considered that the units origin point (location of My Unit) might not be in the centre of the unit? It is also possible that the dummy unit is being offset on creation (try moving it with SetUnitX/Y natives).

SC2 avoids issues like this by interpolating missiles between attachment points. Unfortunately WC3 lacks such functionality.
 
Status
Not open for further replies.
Top