Maiq-The-Dude / BetterHands

Mod for H3VR to recolor controller geo, resize interaction spheres, and add mag palming.
MIT License
8 stars 2 forks source link

Collision Prevention No working. #5

Closed G894 closed 3 years ago

G894 commented 3 years ago

Hi Devs,

First thanks for making this mod.

I tried to config the cfg file.

Below is my setting.

Prevents physics clanking by disabling palmed item collision while moving above CollisionPreventionVelocity. Only for smooth locomotion Setting type: Boolean Default value: true CollisionPrevention = true

Threshold for CollisionPrevention to kick in for palmed items. Lower to 0 to never have collision on the palmed item Setting type: Single Default value: 1.5 CollisionPreventionVelocity = 0

I have tried to reload and restart the game but the palming mag still collide with holding mag & gun when moving. Better Hands version 1.1.1 latest H3vr(no alpha) Index set and locomotion is twin sticks(it is a smooth locomotion right?)

Maiq-The-Dude commented 3 years ago

Thank you for the details.

Yes, twin stick is smooth loco. What specific magazine/gun were you trying this on? I made an optimization change in 1.1.1 to collision prevention, but it is possible some magazines are set up differently than others and thus do not work with the change.

G894 commented 3 years ago

All kind of the mags I tried are collided, first I thought was the mod change no taking effect, but I can change the position of the palming item and the key mapping.

Anyway here is my mod list, do you think could be any of the other mods causing this issue?

image

Maiq-The-Dude commented 3 years ago

No, it doesn't look like anything in there would cause an issue.

Are you testing this by moving in the game or just rotating/spinning in place? Right now it uses positional velocity, so rotating/spinning won't actually activate the collision prevention (something I want to change).

Either way, I haven't been able to replicate this yet but I'm also in the process of rewriting much of BetterHands. I'll try to continue investigating and see if I can find the issue. Thanks!

G894 commented 3 years ago

I tested it with normal gameplay, moving around and shooting with left hand palming a mag and holding a fore grip at the same time. The palming mag keep knocking things off my gun.

No problem take your time. If you needed I would happy to provide a video. Just let me know.

Thanks again.

Maiq-The-Dude commented 3 years ago

If you are up for it, would you mind giving this new updated version a try whenever you jump in H3VR next? This is an early build of BetterHands 1.2.0 which is largely rewritten and has a different method for CollisionPrevention now.

This new update requires Deli's supplemental H3VR library, Deli.H3VR, if you don't already have it.

Maiq-The-Dude commented 3 years ago

Closed for inactivity and due to new releases. Feel free to reopen this if versions 1.2 or 1.3 still have the issue you described.