2025-07-20 20:20 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004499Spring engineGeneralpublic2014-08-11 14:41
ReporterGoogle_Frog 
Assigned TojK 
PrioritylowSeverityminorReproducibilityalways
StatusresolvedResolutionno change required 
Product Version97.0.1+git 
Target VersionFixed in Version 
Summary0004499: 97.0.1-222 SetUnitMidAndAimPosition is broken.
DescriptionUsing SetUnitMidAndAimPosition to change the horizontal location of midpoint or aim point does not work when the unit has non-0 facing. This commit fixes the problem by removing horizontal changes: https://github.com/ZeroK-RTS/Zero-K/commit/0f2471ca7f4aaf3e4a7427268839d41adbf51948
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0013503

Google_Frog (reporter)

I uploaded a jpg version because the png version is unreasonably large.

The important thing about the preFix screenshot is that the lasers are aiming at a point other than the purple dot (I assume the red aimpos dot is under the purple dot). Also the command queue is coming from somewhere other than the purple dot.

~0013504

jK (developer)

solution: use `relative` arg of SetUnitMidAndAimPosition
+Notes

-Issue History
Date Modified Username Field Change
2014-08-11 14:11 Google_Frog New Issue
2014-08-11 14:14 Google_Frog File Added: preFix.png
2014-08-11 14:15 Google_Frog File Added: preFix.jpg
2014-08-11 14:15 Google_Frog File Added: postFix.jpg
2014-08-11 14:22 Google_Frog Note Added: 0013503
2014-08-11 14:41 jK Note Added: 0013504
2014-08-11 14:41 jK Status new => resolved
2014-08-11 14:41 jK Resolution open => no change required
2014-08-11 14:41 jK Assigned To => jK
+Issue History