Is there an ACS function that translates coordinates by portal delta?
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Is there an ACS function that translates coordinates by portal delta?
Is there a function in ACS to translate X, Y (maybe also Z?) coordinates from a given portal layer, by accumulated portal deltas (and angle rotations, if possible) until they become relative to another portal layer which contains a reference actor? This would help compute distances and angles between actors across portals (since by default, as drawn in the map, they appear at arbitrary distances). I would add this to Eternity if available, or propose one to add to ACS if wished as a feature.