Bug #1208

Not possible to crawl close to wall and objects

Added by Spyhawk about 1 year ago. Updated about 1 month ago.

Status:Feedback% Done:

70%

Priority:Normal
Assignee:-
Category:Mod generic
Target version:2.77
OS: Arch:

Description

It’s not possible to crawl close to objects or walls, unlike vanilla. It is still possible to get close by crawling sideways, after which crawling forward directly towards the wall will push the player backward.
This might be related to fixed realHead box (very wild guess).

2019-03-16-153341-oasis.jpg - RealHead code (182 KB) Spyhawk, 16.03.2019 15:42

2019-03-16-153420-oasis.jpg - Crawl from side (no headbox) (124 KB) Spyhawk, 16.03.2019 15:44

2019-03-16-153430-oasis.jpg - Crawl from side (no headbox) (237 KB) Spyhawk, 16.03.2019 15:44

2019-03-16-153504-oasis.jpg - RealHead code (285 KB) Spyhawk, 16.03.2019 15:45

1063
1068
1069
1070

Related issues

Related to ET: Legacy Development - Bug #1115: proning & touching solid material let the view stutter New 09.10.2018
Related to ET: Legacy Development - Bug #503: Fix dead player hitbox direction and bb height New 01.02.2014
Duplicated by ET: Legacy Development - Bug #1360: Can't get closer to the wall while in prone Invalid 13.11.2019

Associated revisions

Revision 8c5b0c59
Added by Aranud about 1 month ago

game: prevent rotation while proning if head go solid, refs #1208

Revision 991c32d9
Added by Aranud about 1 month ago

game: add g_debugPlayerHitboxes 4 to display hitboxes head collision , refs #1208

Revision 683e7e73
Added by Aranud about 1 month ago

cgame: forward view origin when prone to match head position, refs #1208

Revision b2b08a5a
Added by Aranud about 1 month ago

cgame: don’t play prone transition view when crouching, refs #1208

Revision a4ab1a39
Added by Aranud about 1 month ago

game: improve debug players hitboxes collision, refs #1208

Revision 8f306555
Added by Aranud about 1 month ago

game: adjust collision detection on prone, refs #1208

Revision b22f27eb
Added by Aranud about 1 month ago

game: adjust Z hitbox collision on prone, refs #1208

Revision 164b964c
Added by Spyhawk about 1 month ago

game: removed unused variable

Revision 3083f98b
Added by Aranud about 1 month ago

mod: fix head/legs collision on steppable elements, refs #1208

Revision 76bfcaae
Added by Aranud 24 days ago

mod: better prone move collision, refs #1208

Smoother movement and on view rotation check for stepping

Revision cf16f245
Added by Aranud 21 days ago

mod: cleanup and adjust prone collision, refs #1208

Revision 2b10f97c
Added by Spyhawk 10 days ago

mod: fixed a few compiler warnings, refs #1208

See also be5568137ae3d3f10612a242051fce3292e5fbd1

Revision d5fc8c0a
Added by Spyhawk 6 days ago

game: adjusted visual collision boxes for prone and dead, refs #1208

Use a single color so it’s easier to distinguish hitboxes (client/server
sides)

See also:
  • 006fef57b98ff1a8108e722151aa9ab9890aad7b
  • 7ca95c7b18d2c9935f20d8346da1ff56294214a2

Revision 8fcacbcd
Added by Aranud 3 days ago

mod: cleanup and adjust dead collision, refs #1208

History

#1 Updated by keMoN about 1 year ago

  • Related to Bug #1115: proning & touching solid material let the view stutter added

#2 Updated by Spyhawk about 1 year ago

I can reproduce as far as 2.72. This is much likely due to the readhead code, which was introduced in 2.71. Can also reproduce on 2.71rc3, the issue might be even older.

And the current behaviour is correct, the player shouldn’t be allowed to crawl too far... because the model then crawl inside the wall/objects.
It is however possible to crawl "from the side" (since the headbot doesn’t interfere) and then rotate the body. See screenshot below.

Might be a good idea to prevent that rotation somehow.

#3 Updated by Spyhawk about 1 year ago

  • File deleted (2019-03-16-153504-oasis.jpg)

#5 Updated by Spyhawk about 1 year ago

  • Target version changed from 2.77 to 2.78

#6 Updated by Spyhawk 5 months ago

  • Duplicated by Bug #1360: Can't get closer to the wall while in prone added

#7 Updated by Spyhawk 5 months ago

  • Target version changed from 2.78 to 2.77

It feels like the head point of view is not at the correct place when crawling. You can see the headbox in front of you, basically. The coordinate of player pov might be adjusted vertically only, but not horizontally.

#8 Updated by Spyhawk 3 months ago

  • Description updated (diff)

#9 Updated by Spyhawk 3 months ago

  • Description updated (diff)

#11 Updated by Spyhawk about 1 month ago

  • Related to Bug #503: Fix dead player hitbox direction and bb height added

#12 Updated by Spyhawk about 1 month ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 70

Also available in: Atom PDF