Quantcast
Viewing all articles
Browse latest Browse all 133

smooth rotate around x-axis using quaternion.slerp

hi all, i want to rotate sphere around x-axis by the amount of displacement made by via dragging mouse in vertical direction on screen. how to calculate the angle as per dragging distance by which sphere is supposed to rotate around x-axis. Please help

Viewing all articles
Browse latest Browse all 133

Trending Articles



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