I'm testing various things with stacked sectors (using 57: Sector_SetPortal), and I came across a weird bug.
Basically what I did:
- Create three stacked sectors (one below, one in the middle and one above)
- Put an ActorHitsFloor thing in the bottom sector, with a Teleport (silent) action which teleports the player in the top sector
-> Player should fall indefinitely between the three sectors
It works fine on my test map, but : when I try to increase sectors size, player gets automatically killed.
I attached a test wad :
- Map01 has a sector length of 2304 units
- Map02 has a sector length of 2560 units
Map01 works fine, while Map02 gets the player killed.
I can't explain why, so does anyone have a clue here ? I initially intended to make it work with much bigger and complex sectors, so I hope someone knows a solution about this.
Thanks.
P.s : Also, I can't find a way to get teleported in the same x-y position. The only thing I found (which is used in the test) is to keep player's angle correct ; it doesn't match position nor does it normalize velocity...
