HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Dash Dummy Position... Inaccurate?

03-03-2009, 10:59 AM#1
azlier
Well, I have a nice little dash spell. With the whole fading dummy behind the caster as he's dashing deal. Now, everything works absolutely perfectly... except that the dummy is slightly offset from the caster. Here are some stats about my dummy:
  • Flying unit
  • No movement type
  • No collision size
  • Locusted
  • Invulnerable
I don't know what causes him to stand at an offset. I even tried spawning him somewhere else and moving him to the correct location with SetUnitX/Y. Nothing's working.

Expand JASS:
Yes, yes, I know. The real variable names I use for the polar projection are horrendous.
03-03-2009, 12:53 PM#2
Captain Griffen
Units with no movement type can be moved fine by triggers, but the model won't move.
03-03-2009, 06:28 PM#3
azlier
Hmm. I changed the movement type to Foot, that caused more of an offset. Now, I'm spawning the dummy and moving him to the correct location. And... same effect. A nice straight line, but at an offset.

Click image for larger version

Name:	DashDummy.PNG
Views:	25
Size:	132.5 KB
ID:	40881

Also, I'm unsure why I said the dummy flies and has no movement type.
Attached Images
File type: pngDashDummy.PNG (132.5 KB)
03-03-2009, 11:49 PM#4
DioD
This is not problem of dummy unit.

All units with collusion not equal to 32 or 0 have missmach in model and real position.

Missmach equal to collusion size or 32, there is some wierd way to calculate i dont remember.

This can be corrected by two functions.

1) Detect collusion size
2) Ajust effect position

you can to it self or wait for solution, first way is much more effective.
03-04-2009, 12:02 AM#5
xombie
Try turning the unit's collision off?
03-04-2009, 03:14 AM#6
azlier
Hmm. DioD is on the right track.

I just had to change the dummy unit's pathing to its original value of 16. That did that trick. Rep for all.