Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[469b] Bigger collision size on actor sometimes produce hit invisible walls #866

Open
SeriousBuggie opened this issue Jun 14, 2022 · 3 comments
Labels
internal-pf physics This issue affects in-game movement or actor physics

Comments

@SeriousBuggie
Copy link
Collaborator

SeriousBuggie commented Jun 14, 2022

Reproduce:

  1. Start map MH-XV-GiranTown2021v1_dbg.zip (All assets for it you can find in full map: https://ut99.org/viewtopic.php?f=5&t=15020 )
  2. After exit from start house, on left side exists way:
    img
  3. You can go here forward to left house and not see any invisible wall.
  4. Now enter in console: set playerpawn collisionradius 135.

Expected result: You able walk here as before.
Actual result: You stuck into invisible wall.
img

If you use smaller values, like 40, invisible wall be smaller in width:
img

If you use bigger values like 200, invisible wall prevent walk you even on bright road far away from building:
img

Practical meaning of this issue:
Player able run where jeep or tank hit invisible wall.

@SeriousBarbie
Copy link

Typical BSP cut obstacle
MH-XV-GiranTown2021v2-BSP_cut
That map exists in various versions:

  • Parent of all: MH-(dU)Giranbeta.unr (without monster, with brushes, without BSP error)
  • Version of Red_Fist: MH-GiranTown.unr (with monster, with brushes, without BSP error)
  • My fixed version of Red_Fist's version: MH-GiranTown+SBFix1.unr (with monster, with brushes, BSP error not tested)
  • Thunderbolts version: MH-(dU)GiranTown(2021)V16.unr (with monster, without brushes, with BSP error)
  • (unknown)'s version: MH-XV-GiranTown2021v2.unr (with monster, without brushes, with BSP error)

Sadly brushes were remove in map version in question, so a rebuild is not possible.
Also this is no answer to the question why smaller collision radii are not affected by the BSP cut. :-o

@NeonKnightOA
Copy link
Contributor

This looks less a problem of the game and more a problem of the map itself.

@SeriousBuggie
Copy link
Collaborator Author

Game must be consistent. If there bad spot on map, there must be invisible wall for all size actors. And width must be same for any CollisionRadius.

@stijn-volckaert stijn-volckaert added the physics This issue affects in-game movement or actor physics label Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal-pf physics This issue affects in-game movement or actor physics
Projects
None yet
Development

No branches or pull requests

4 participants