With certain units I have made in the galaxy editor, when some ranged units with a beam or missile are in melee range it will launch/impact with some kind of offset.

I have a unit based on preserver model who uses a missile based attack. When he is in melee range or near it, the missile will be thrown to the ground surrounding the target but quite the target.

I also have a unit based on the siege breaker who fires a beam. If the target is in melee range or near it the beam will launch from behind the launch site. Depending on how close the target is, the beam can launch up to approximately -1.5 from the Y axis.

I have encountered similar problems, and it is always when a ranged type of unit is shooting a missile or beam in melee proximity, if anyone knows why this is happening or how I can fix it I would greatly appreciate it. Thanks.