Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Longbow BowArrow transform issue when fired #1106

Open
SebastianAtW5 opened this issue Jan 22, 2024 · 0 comments
Open

Longbow BowArrow transform issue when fired #1106

SebastianAtW5 opened this issue Jan 22, 2024 · 0 comments

Comments

@SebastianAtW5
Copy link

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

with_Utils without_utils
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant