Zandronum Chat on our Discord Server Get the latest version: 3.2.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004212Zandronum[All Projects] Bugpublic2024-03-22 16:182024-03-22 16:18
ReporterFused 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004212: Weird behavior with ACS `Warp`
DescriptionThe `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 ReproduceIncluded 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.
Attached Fileszip file icon Project.zip [^] (18,993 bytes) 2024-03-22 16:18

- Relationships

-  Notes
There are no notes attached to this issue.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- 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






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker