Skip to main content
JClarke64
New Participant
May 31, 2024

GameObject Faces wrong way when grabbing from distance?

Hey there!

I'm currently trying to fix an issue with my VR Project, where the GameObject I grab goes to a "default" rotation when grabbing from a distance. This issue does not occur when "actually" grabbing the object. this is for both hand and controller grabbingAfter Grabbing (it flips)

Before GrabbingIs there any way to easily fix this? Thank you in advance and sorry if it's just a button I missed! (below are scripts attached to the object)

 

This topic has been closed for replies.

2 replies

JClarke64
JClarke64Author
New Participant
June 3, 2024

I don't believe its an issue with the headset, but rather a programming issue with the project, the headset works perfectly well with other games and other projects, I've never tried grabbing from a distance, so I'm assuming I'm doing something wrong there.
other than that the headset is kept up to date and other than the batteries in the controllers dying there are no issues!

JClarke64
JClarke64Author
New Participant
June 3, 2024

I'm still having the issue, if you have a variable in a function that I've missed it would be nice to know about it, I'm thinking maybe a bool that decides whether or not the original rotation is not affected by the game object being translated over to the new position.