Quantcast
Channel: Questions in topic: "xcode"
Viewing all articles
Browse latest Browse all 1047

Why rotation is "reset" after each time grabbing object with XR grab interactable

$
0
0
I have a ball and i want to rotate around when I grab it and move my hand. I am using XR Grab Interactable without tracking the position to do it, only the rotation is tracked. Thanks to the property "Throw on detach" I'm able to make the ball rotate on itself, but once I select the ball while it's rotating, the rotation seems to be reset. I can see it if I apply a texture on my ball. I don't want that behavior, I just expect my ball stop rotate once I select it. I don't have specific code yet, I only use XR Grab interactable component on a textured sphere Thank for your help

Viewing all articles
Browse latest Browse all 1047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>