CanCollideWith and teleporting stuff
Posted: Mon Sep 11, 2017 2:32 pm
I have a setup where the player teleports (ACS special 70) to a TeleportDestination, and very close by is a ZScript actor that overrides CanCollideWith for some custom touching/not-touching logic. When the player enters and exits the actor's radius by walking its CanCollideWith logic operates as intended, but when the player teleports into its radius as described, CanCollideWith only begins to fire once the player begins moving within its radius - if the player doesn't move after teleporting, they'll never trip the actor's CanCollideWith logic.
This seems like a bug rather than intended behavior... if it is, feel free to move this to the bugs forum. If not I'd be curious as to what the rationale is. There's probably a way I can work around this (manually nudge-moving the player a bit right after the teleport maybe?) but if it's a bug I'll let the fix save me that work.
This seems like a bug rather than intended behavior... if it is, feel free to move this to the bugs forum. If not I'd be curious as to what the rationale is. There's probably a way I can work around this (manually nudge-moving the player a bit right after the teleport maybe?) but if it's a bug I'll let the fix save me that work.