Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
JClarke64's avatar
JClarke64
Honored Guest
1 year ago

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)

ā€ƒ

2 Replies

Replies have been turned off for this discussion
  • JClarke64's avatar
    JClarke64
    Honored Guest

    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's avatar
    JClarke64
    Honored Guest

    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.