DrChat / Gmod-vphysics

Replacement vphysics module for the Source engine (originally meant for Garry's Mod)
Other
92 stars 15 forks source link

Constraints are too strong in HL2 maps #29

Open birkett opened 10 years ago

birkett commented 10 years ago

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.

DrChat commented 10 years ago

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 commented 10 years ago

+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 commented 10 years ago

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

DrChat commented 9 years ago

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