|
| Reporter | silentwings | Assigned To | Kloot | |
|---|
| Priority | normal | Severity | major | Reproducibility | always |
|---|
| Status | resolved | Resolution | fixed | |
|---|
| Product Version | 101.0 | |
|---|
|
| 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. |
|---|
| Attached Files | rotation_is_borked.lua (Attachment missing)
|
|---|
|
| Checked infolog.txt for Errors | |
|---|
|