Longbow BowArrow transform issue when fired
SebastianAtW5 opened this issue · 0 comments
SebastianAtW5 commented
I've recently tested the updated version of the SteamVR_plugin 2.8.0 (sdk 2.0.10) in the Interactions_Example scene with Unity version 2022.2.15f.
When I shot the longbow, the first arrow behaved as expected. However, subsequent arrows disappeared and spawned at completely different locations.
To resolve this issue, I had to comment out all instances of Util.ResetTransform(arrow.transform) in the ArrowHand.cs script. This included both the InstantiateArrow function and the HandAttachedUpdate function. By doing this, the arrows maintained the correct transform when fired from the longbow.
Arrows fired at the same location. See pictures