Crowbar icon indicating copy to clipboard operation
Crowbar copied to clipboard

Another weird physics issue

Open Species3259 opened this issue 2 years ago • 0 comments

Model : item_dropper_128 (props_ingame in portal2_dlc2 VPK)

BEFORE : decompile AFTER : rename - compile - decompile

I like my cubes to drop from above the dropper model instead of spawning them in plain sight in the dropper. No problem with the ingame model. Iris opens, cube spawns and drops all the way down. You can see from the physics model that this poses no issues.

image

Then i rename the model (item_dropperxx_128) and compile and try to use it ingame.

image

You can see from the (decompiled) item_dropperxx_128 model that NOW i have a problem.

Clearly the cube cant fall through the dropper any longer. It stays on the top. Workaround is to make the model non-solid, create a func_clip_vphysics and use triggers to disable/enable in order to mimic solidity of the dropper.

And there is some weird stuff in the QC when decompiling.

This is after decompiling the item_dropper_128 👍

image

Although it is possible that this is the name Valve used it seems a bit sus :-)

And then this after renaming the model (item_dropperxx_128), then compile and decompile.

image

Now i know there is something not right...

Species3259 avatar Apr 28 '22 18:04 Species3259