|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002376||Spring engine||Lua||public||2011-03-13 07:01||2011-03-14 15:44|
|Target Version||Fixed in Version||0.82.7+git|
|Summary||0002376: AddUnitImpulse turns units inside out|
|Description||a unit script that applies an upwards impulse to all near units via Spring.AddUnitImpulse( nearunitid, 0, 0.5, 0) :|
Sometimes it works fine but with a high chance this happens:
the unit flies upwards as expected, shrinks, then gets bigger again but "turned inside out", repeat. its looks like it gets scaled from 100% to -100% and back.
picture shows it best:
the unit is a .s3o with .tga texture.
it is made of many cube shaped pieces but "tradionell" made normal units show the same error.
hitspheres drawn in alt+b change their size with the unit. while in the air the unit can aim&shoot normal.
|Additional Information||maybe related to "Rotated units are turned inside out at certain angles"|
now with music!
|Tags||No tags attached.|
|Checked infolog.txt for Errors|
Spring.AddUnitImpulse( nearunitid, 0, 0.5, 0)
Spring.AddUnitImpulse( nearunitid, 0.01, 0.5, 0.01)
and so after 5 minutes of playing around it has not since happend.
changing to 0 made it happen again.
also if the unit being "impulsed" stands still it seems more likely to happen.
|similar problem indeed (vector degeneracy)|
||Note Added: 0006487|
|2011-03-14 15:44||Kloot||Note Added: 0006493|
|2011-03-14 15:44||Kloot||Status||new => resolved|
|2011-03-14 15:44||Kloot||Fixed in Version||=> 0.82.7+git|
|2011-03-14 15:44||Kloot||Resolution||open => fixed|
|2011-03-14 15:44||Kloot||Assigned To||=> Kloot|