Phenom Posted July 11, 2010 Share Posted July 11, 2010 Hello. I was wondering of rotating objects in the angle where i'm looking to. So, if i move my mouse, the object's angle will be the same as my camera angle. How can i do it? Link to comment
DiSaMe Posted July 11, 2010 Share Posted July 11, 2010 getCameraMatrix + setElementRotation + some little trigonometry. Link to comment
Phenom Posted July 12, 2010 Author Share Posted July 12, 2010 Thanks, it's very useful Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now