Units may go through solid obstacles

Avatar
  • Views 11 450
  • zaktualizowano
  • Completed - Resolved
  • Occasionally units are able to go through doors regardless of their state (allied/enemy, open/closed).
  • I myself got glitched out in some room on the mission to destroy the wenches to draw the drawbridge. I possessed Archtron and flew to the last one and suddenly found myself locked in confined space. I was quite shocked and the only exit was through a door I think I somehow passed through (no enemy was there to open it for me).
Game Version:
Steam Public
Platform:
Windows

How would you rate the customer service you received?

Znak zadowolenia przez ZzZombo 9 lat temu

Nice.

Napisz komentarz o jakości obsługi użytkownika (opcjonalne):

Avatar
Stefan Furcht Programmer

This is a known issue which will be fixed in next patch.
It is only happening on some siege doors in campaign level 13.

Avatar
Jan - Eric Merzel
  • Odrzucone
Avatar
ZzZombo

Well, one more thing I just checked again: there was no Siege Doors, only a Porticulus. I am speaking about this small room leading from the Empire lair to the winch. I actually managed by repeating my route again with Archon to glitch inside through the wall.

Avatar
Jan - Eric Merzel
  • Under Review

Still C13 though. i will double check it

Avatar
Lee "Noontide" Moon Designer & Community Manager
Managed to replicate after possessing an Archon and running myself into every wall. This is a result of the following:

  • Any unit with flying can pass a solid wall
  • This can only occur if the unit with flying is positioned above a chasm
  • I.E. the unit is attempting to push through the wall from the chasm side

Jan has confirmed this occurs on levels other than C13. Tested with Archon & Bafu (Both floating and flying affected)

See videos:

Avatar
Jan - Eric Merzel

thanks for the report, even though the report was kinda misleading since we thought we already reported that one.


your clarification helped tremendously, thanks again its appreciated.

Avatar
Stefan Furcht Programmer
  • Rozpoczęte
Avatar
Stefan Furcht Programmer

Nice find!
When a unit gets too near to an obstacle so it could penetrate it, we check if there is a reason to move it slightly away so it doesn't get stuck.
This method handles also any case where a unit is suddenly overlapping with a solid collider and tries to move it out to a valid location.
(This can happen for example if you place a room above units so that units get stuck in props, or simply when you lock a door while a unit is passing it and the move out method will move them out to a valid place)

However for flying or floating units over chasm this did utterly fail.
To make sure that a unit is not move to an invalid location and not sunken into ground, potential move out points were always positioned on ground height.

Well this was totally wrong for flying objects, because they aren't valid at ground height, but at the height they are flying.
In result all potential move out points were all colliding with the chasm (which is logically a collider with small height and blocks walking minions from passing it).
So the flying unit was considered as utterly stuck based on the wrong assumption it's walking on ground while it wasn't stuck at all.
So the routine to move it back to a valid location did only find collisions with chasm or the wall in every direction it could use and thus found only one way to "rescue" the unit to a valid place: which was behind the wall.

We made these move out checks based on the correct height an object is supposed to be (depending on if the unit is walking, floating or flying) which fixes the problem.

Thanks for pointing to this issue.