Gmod-vphysics icon indicating copy to clipboard operation
Gmod-vphysics copied to clipboard

Constraints are too strong in HL2 maps

Open birkett opened this issue 11 years ago • 4 comments

Testing with HL2 Single Player, the turnstile on d1_trainstation_01 cannot be walked through, Also, cans cannot be picked up.

I propose using the HL2 SP campaign as a feature test against Havok.

birkett avatar Mar 25 '14 09:03 birkett

Yep! I've been playing through the HL2 campaign levels as a test, but gmod loves to crash because it keeps running out of memory. There's an old issue for it in the gmod repository: facepunch/garrysmod-issues#460 EDIT: Nevermind, out of memory issue was on my end, I had a debug feature enabled that bloated memory allocations.

The turnstile is part of a bigger issue with the bullet constraints: IVP constraints aren't as rigid and tolerate error, but bullet constraints have the tendency to freak the fuck out. I'll have to see what I can do about that.

And I have no idea what's wrong with picking up cans and other objects, it looks like you can move them around but they just don't rise vertically. Will look into it.

DrChat avatar Mar 25 '14 21:03 DrChat

+use pickup doesn't appear to be picking up some objects because a contact constraint is keeping them on the ground. The game does request a target position above the ground in ComputeShadowControl.

DrChat avatar Jun 07 '14 20:06 DrChat

Okay, yeah that's fixed. Now why does it damp angular rotations by a factor of 10 when the object is picked up?

DrChat avatar Jun 12 '14 02:06 DrChat

+use stuff was fixed in 49f99b61c6cd1241ef66a88f4424a4b2e72a6918. Need to address constraint strength.

DrChat avatar Jan 18 '15 05:01 DrChat