2020-07-12 09:40 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002222Spring engineLuapublic2010-11-20 00:51
Assigned ToKloot 
Product Version0.82.6.1 
Target VersionFixed in Version0.82.7 
Summary0002222: Rotated units are turned inside out at certain angles
DescriptionThis code slowly spins a commander when placed in a gadget. It will reproduce the problem (tested with an s3o unit).

local testUnitName = "corcom"

function gadget:GameFrame(n)
  for _, unitID in ipairs(Spring.GetAllUnits()) do
    local unitDefID = Spring.GetUnitDefID(unitID)
    local unitDef = UnitDefs[unitDefID]
    if unitDef.name == testUnitName then
      local rotation = n/100
      Spring.SetUnitRotation(unitID, 0, rotation, 0)
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files


There are no notes attached to this issue.

-Issue History
Date Modified Username Field Change
2010-11-14 00:45 quantum New Issue
2010-11-20 00:51 Kloot Status new => resolved
2010-11-20 00:51 Kloot Fixed in Version =>
2010-11-20 00:51 Kloot Resolution open => fixed
2010-11-20 00:51 Kloot Assigned To => Kloot
+Issue History