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

What affects unit position?

Status
Not open for further replies.
Level 14
Joined
Apr 21, 2007
Messages
1,465
Kind of a weird question, but when you place two or more units close to each other usually they are not exactly where you place them when you load the map. They are in that area, usually very, very near the spot, but not at the exact spot. I'm guessing that because they are so close to the other units they get "pushed" a bit. What stat in the object editor affects this and is it possible to negate this position offset?

I realize that this really isn't a problem in most maps, but it is in cinematics, especially in close up scenes.
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
If you set Collision Size to 0 the unit will still have a Collision size of 1 (which would position the second unit x+1/-1 or y+1/-1) UNLESS you set it's movement type to "None". In that case then you can achieve having several units in the exact same spot.
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
If you set Collision Size to 0 the unit will still have a Collision size of 1 (which would position the second unit x+1/-1 or y+1/-1)

Thats not true. The actual collision of units in wc3 is a shape very similar to a rectangle. Its size is to some degree dependent on the collision size.

@ OP: Spartipilo is correct though that setting movement type to 'None' or turning collision off via triggers will solve your problem
 
Status
Not open for further replies.
Top