PDA

View Full Version : breaking models - chunks collision problem with the player


Lana-Drumonds
05-23-2007, 09:13 AM
Hi all,

I have made a breaking model. When it has no more lifepoint, it explodes and my breaking models appears, so no problem there.
These chunks can collide between each other, so they are physics.
When I shoot on them they alse move. So yet no problem.
But if walk on them, I pass through. And there is my problem, I'd like them to be solid to the player. I tried many commands in the qc without any result at this time, so of someone has an idea ?

Slackiller
05-23-2007, 06:40 PM
I watched videos on this and it seems to be normal for the gibs not to have collisions.
I'll keep an eye open for something

Angry Beaver
05-23-2007, 10:52 PM
the props are considered "debris" which means they dont collide with the player because thier small tricky shapes. its pretty much the standard I belive, if there was any prop that didn't do it I belive it would be the wood pallete but I cant boot up HL2 to check for you.

Superpiccolo
05-23-2007, 11:45 PM
I'm pretty sure there is the pallet and maybe the plank that have solid debris.

Lana-Drumonds
05-24-2007, 12:42 AM
Tried with the pallet and the planks but same result, they don't collide with player.

So I understand that small shapes don't need to collide with the player and that it should be for performance reasons. But for a big model I'd like to keep a big chunk (so 1 big chunk amongst many other little). And it would be better if this big one collide with the player.

Superpiccolo
05-24-2007, 04:22 AM
Maybe its a DX thing, what level DX card do you have? I'm almost %100 positive I recall being able to pick up the debris, no wait I know you can, I did it with a beer bottle the other day. It has to be a auto scaling thing or something like that on you machine.

lodle
05-24-2007, 05:01 AM
debris are client side only, Thats why they dont colide with players (they are not calculated on the server.)

Superpiccolo
05-24-2007, 07:04 AM
Ah ok, fair enough, so you can interact with them (pick the up, throw), but not collide. Makes sense.

reacheround
05-29-2007, 12:24 PM
never followed this tutorial, but maybe this will help

http://www.hl2world.com/wiki/index.php/Creating_Breakable_Models

Superpiccolo
06-05-2007, 05:54 PM
I actually have to say that with that beer bottle I was talking about, I tested out again and I could interact with it's debris pieces. I could pick them up and walk on them and they would move accordingly.