Facepunch / garrysmod-issues

Garry's Mod issue tracker
146 stars 56 forks source link

VPhysics entities fall through displacements #4939

Closed evilpigeonlol closed 3 years ago

evilpigeonlol commented 3 years ago

Details

https://developer.valvesoftware.com/wiki/Entities_fall_through_displacements

This is basically what has been happening to me lately. I normally play on the 64-bit branch of the game, but switching to the dev branch or no branch doesn't make a difference. Verifying the cache does nothing. I've tried to run the game with -noaddons and -noworkshop without any difference. Altering gmod_physiterations does nothing. Regular Half-Life 2 doesn't have this problem at all. Just recently I reinstalled GMOD and it still hasn't fixed the issue.

Steps to reproduce

Load up a map with displacements like d1_canals_03, on that map go to the first civil protection encounter in it. The ragdolls of the npcs, the falling floor grate and any other prop will have no collision with the displacement right below them. gm_construct_3 also has this problem.

evilpigeonlol commented 3 years ago

20210506225347_1 20210506225406_1 example on gm_construct_3 with -noaddons and -noworkshop

MARK2580 commented 3 years ago

Most likely this is a very old map that was compiled when such an error still existed. It was fixed sometime in 2012.

evilpigeonlol commented 3 years ago

Most likely this is a very old map that was compiled when such an error still existed. It was fixed sometime in 2012.

It happens on all maps with displacements. On that note I should mention that it used to be fine about a week ago, on this map and others.

MARK2580 commented 3 years ago

Most likely this is a very old map that was compiled when such an error still existed. It was fixed sometime in 2012.

It happens on all maps with displacements. On that note I should mention that it used to be fine about a week ago, on this map and others.

This was my guess. I just went and checked out a few games. For starters, I checked canals_03, it really does fall through, just like canals_04. Then I loaded one of the Epidose One maps and there the ragdolls fall through the displacement as well. I also loaded the l4d2 and ep2 maps - there is no such problem. Let's see what Rubat answers. In short, I confirm that the problem is real and it is not on one or two maps.

evilpigeonlol commented 3 years ago

Most likely this is a very old map that was compiled when such an error still existed. It was fixed sometime in 2012.

It happens on all maps with displacements. On that note I should mention that it used to be fine about a week ago, on this map and others.

This was my guess. I just went and checked out a few games. For starters, I checked canals_03, it really does fall through, just like canals_04. Then I loaded one of the Epidose One maps and there the ragdolls fall through the displacement as well. I also loaded the l4d2 and ep2 maps - there is no such problem. Let's see what Rubat answers.

Thank you, I was worried it was just on my own end. By the way, I am absolutely certain it used to be fine last month because I played on the canals maps among others with displacements and I didn't notice this issue then.

MARK2580 commented 3 years ago

Here are screenshots from my side. Half-Life 2 and Episode Two. Half Life  Source Screenshot 2021 05 07 - 01 20 50 57 Half Life  Source Screenshot 2021 05 07 - 01 20 55 53 Half Life  Source Screenshot 2021 05 07 - 01 40 35 88

TW1STaL1CKY commented 3 years ago

I've been starting to have this happen on cs_office too, though strangely only cs_office from the other CSS maps I've tested. For example, de_nuke and de_inferno's displacements handle VPhysics objects fine.

robotboy655 commented 3 years ago

It's likely caused directly by the fix for https://github.com/Facepunch/garrysmod-issues/issues/4924

robotboy655 commented 3 years ago

Specifically the problem is that the affected maps do not have the collision data for the displacements in them. (Lump 28)

robotboy655 commented 3 years ago

Should be fixed once it updates.