#ye sure so the character moving on its
1 messages · Page 1 of 1 (latest)
What is pCont? You want to rotate and move the same transform if you want your camera to rotate your player object.
You can give your camera script a target object, and drag the player object to that field
pCont is my variable for my character controller
When you don't have the Camera script attached, is the player stationary?
yep
Does the player's transform component in the inspector actually change when you move the mouse?
Or does it only look like it's moving
ye the player's transform also changing
it only happens when im moving the camera up and down tho, but its all good when it comes rotating to left or right
im trying different codes, its all working but has the same problem for rotating the camera up and down
Can you screenshot this part of your project Edit -> Project Settings -> Input Manager -> Axes -> Vertical
The only other things I can think of are:
- Your colliders and rigidbodies are pushing each other trying to be in the same position
- There is another script attached to the player object that is listening to the mouse movement
hmm i dont have rigidboy in my player so i try your advice with the second one
Maybe do a find-all for Mouse Y in your ide
ye sure will do, i will try to figure this out on my own, thank you for helping me ❤️