- Home /
Change mouse rotation point
I have a player control script set up and it all works fine - except for one thing, the mouse rotates around the wrong point. it doesn't rotate around the objects center. I have tried it with and withought mouselook to no avvail. Any help would be appreciated!
To be able to provide useful feedback, we'll need some more information. For example:
What is the view(?) supposed to be rotating around? If you're rotating around its origin point, is that point where you think it is?
Since it's not rotating around that, what should it be rotating around?
What code are you using to handle rotation? (If it's a short script or just in important piece of the script, ideally)
I originally wrote my own script for it, but because of this problem I started using the default mouse look script. Although it doesn't work either.
I want it to rotate at the objects center.
Answer by toddisarockstar · Aug 12, 2015 at 11:39 PM
not sure what you are saying. you mean you want the camera view to rotate around mouse point?
Your answer
Follow this Question
Related Questions
problem with object rotation 1 Answer
Can someone help me fix my Character-Set up? 1 Answer
Calculate center of rotation from quaternion and two points 1 Answer
Player not rotating with camera 1 Answer
Simulating Mouse Input for AI 0 Answers