Download [SOLVED] Rotate around an object based on mouse position book pdf free download link or read online here in PDF. Read online [SOLVED] Rotate around an object based on mouse position book pdf free download link book now. All books are in clear copy here, and all files are secure so don't worry about it. This site is like a library, you could find million book here by using search box in the header.
All you have to do is take the vector from between the mouse and the pivot and normalize it. That will give you the direction the object needs to be; then take that and multiply it by the radius of the circle. Then set the position of the rotating object to that vector + the position of the pivot.
Read : [SOLVED] Rotate around an object based on mouse position pdf book online Select one of servers for direct link: |
---|