View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0005155 | Spring engine | General | public | 2016-03-08 19:44 | 2016-03-08 21:11 | ||||
Reporter | silentwings | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 101.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0005155: Get/SetUnitRotation don't match | ||||||||
Description | See gadget, which gets rotation, and then sets it, changing only yaw by +0.1. This should result in the unit spinning on its y axis. Instead the unit just vibrates. | ||||||||
Steps To Reproduce | Use the attached gadget and give a unit. | ||||||||
Additional Information | Using Set/GetUnitDirection doesn't work as substitute, because MoveCtrl doesn't have SetUnitDirection. The wiki lists the args for MoveCtrl.SetUnitRotation as (number unitID, number rotX, number rotY, number rotZ), but besides not matching the Get*, this doesn't make sense to me - and trying values for rotX,Y,Z not as rotation but as direction just results in more vibration. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
Notes | |
Kloot (developer) 2016-03-08 20:11 |
Spring.SetUnitRotation works, just MoveCtrl.SetRotation has an issue apparently. |
Anonymous (viewer) 2016-03-08 21:11 |
Fix 9639d24559e496fdbb8d3d5cb3ba2adb4a908d6e committed to develop branch: fix 0005155, repo: spring changeset id: 6797 |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-03-08 19:44 | silentwings | New Issue | |
2016-03-08 19:44 | silentwings | File Added: rotation_is_borked.lua | |
2016-03-08 20:11 | Kloot | Note Added: 0016021 | |
2016-03-08 20:24 | Kloot | Assigned To | => Kloot |
2016-03-08 20:24 | Kloot | Status | new => assigned |
2016-03-08 21:11 | Changeset attached | => spring develop 9639d245 | |
2016-03-08 21:11 | Anonymous | Note Added: 0016022 | |
2016-03-08 21:11 | Anonymous | Status | assigned => resolved |
2016-03-08 21:11 | Anonymous | Resolution | open => fixed |