Quantcast
Channel: AR/VR (XR) Discussion
Viewing all articles
Browse latest Browse all 12131

Picked Up Item Snapping to Certain Angle

$
0
0
In short I'm trying to make it so when I pick up an item, it snaps to a certain rotation as to 'fit' in the players hand without looking stupid.

I've got my setup where when you pickup an object, the object becomes a parent of the controller that picked it up.

I've tried a bunch of solutions and none of them will give me the angle I want

The degrees I'm trying to obtain specifically are x=-34, y=0, z=180 and are called angx, angy, and angz respectively....

Picked Up Item Snapping to Certain Angle

Viewing all articles
Browse latest Browse all 12131

Trending Articles



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