zolantris / ValheimMods

Collection of ValheimMods, ValheimRaft (originally created by Sarcen) and a few other upcoming mods including a vehicles mod.
GNU General Public License v3.0
13 stars 5 forks source link

VHVR no longer working with ValheimRAFT, any idea why? #107

Open Splintersm opened 4 months ago

Splintersm commented 4 months ago

What happened?

Unable to interact with objects on the boat after 1.6.6. Something changed in 1.6.7 and above which makes VHVR unable to interact with objects placed on the ship.

This was reported on our discord form, but tracking the problem here.

This was already reported back in January, but i have seen no response so I'm reposting hoping to be seen.

Link to Original Post: https://github.com/zolantris/ValheimMods/issues/52

Steps to reproduce

  1. Launch valheim with VR compatible device using VHVR mod
  2. Attempt to interact with ValheimRAFT

Log outputs

N/A logs provided in discord did not show any errors.

Environment

OS:
- **OS**: Windows 11 | Ubuntu 20.04
- **Graphics**: DX11 (or Vulkan)
Mods:
- **BepInEx**: 5.4.2202
- Jotunn 2.15.2
- **ValheimRAFT**: Major.Minor.Patch
- VHVR
bigbaldbob1 commented 2 months ago

I'm having the same problem where ValheimRAFT components are not allowing interaction when using VHVR. Today just to check, I tried it again and noticed something odd. If I make a ladder that is attached to ground instead of the raft, I get the expected prompt to interact with it. If I attach it to the raft base, I am no longer able to interact and the interact tips (press E) no longer show up.

zolantris commented 2 months ago

Ladders were recently optimized. In 2.2.3 had all of the changes #120.

Try version 2.2.4 I backed out of some of the physics modes which broke clients. ladders have a fast and slow speed now. Plus auto ascend descend.

Do other items have interactions on the raft? I think there was a patch for this in vhvr. But it might be better for vhvr to directly use raft libs if available to see if the item is interactable.

zolantris commented 2 months ago

Looks like it could be related .name.equals for the isRope check in piece controller 😩. This would encapsulate the piece even though it should be excluded.

The name equals likely would never return true as there is a clone value appending to instantiation of unity prefabs.