MantisBT - Zandronum | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0004212 | Zandronum | [All Projects] Bug | public | 2024-03-22 16:18 | 2024-03-22 16:18 |
Reporter | Fused | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0004212: Weird behavior with ACS `Warp` | ||||
Description | The `Warp` ACS function has very weird behavior where warped actors seemingly move beyond the intended position like extra velocity is being applied to them relative to whatever the target actor's velocity is. I tried fixing this and came across the `WARPF_STOP`, `WARPF_INTERPOLATE`, `WARPF_WARPINTERPOLATION` and `WARPF_COPYINTERPOLATION` flags which can be supplied to the function. These seem to be the most relevant flags to work with judging by what Zandronum supports:'https://zdoom.org/w/index.php?oldid=37981 [^]' (The page for the ACS method did not exist yet so A_Warp can be used instead). However, when using the flags I could not fix it, even though `WARPF_STOP` seemingly reduces the called velocity to 0. The other three flags all seem to do nothing but make the interpolation jittery. I can't figure out what these truly intend to do. For the record, if I were to decrement the velocity of the target actor from the warped actor's velocity, the warped actor almost perfectly moves with the target actor. | ||||
Steps To Reproduce | Included is a minimal example. When you shoot it alternates warping between no flag, `WARPF_STOP`, `WARPF_INTERPOLATE`, `WARPF_WARPINTERPOLATION` and `WARPF_COPYINTERPOLATION`. It's still a bit of code because I wanted the circle in this case to appear slightly in front of the player to make it easier to view it, like Universal Legs also does. I can also get rid of all that and just warp it if this is preferred. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() /tracker/file_download.php?file_id=2942&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2024-03-22 16:18 | Fused | New Issue | |||
2024-03-22 16:18 | Fused | File Added: Project.zip |
There are no notes attached to this issue. |