- Home /
 
My ball movements are not syncronized with the camera .
Hello,
I'm doing a Roll A Ball game, I followed the tutorial of Unity on Youtube to have a ball that I can control. But I added a camera that I can move with my mouse around the ball, When I play the game, I can move with the ball by pressing W, but if I turn the camera and I redo W, my ball go in the same direction as before, I need the controls of the ball are syncronized with the camera.
Thx for help.
Answer by Sunleys777 · Jun 17, 2019 at 04:40 AM
maybe u say that u want the camera following the ball(player) movement? You can use "Cinemachine" for that. But first you must download the package, here's the tutorial : https://www.youtube.com/watch?v=2jTY11Am0Ig
Hope it'll helps
Answer by SmashFr · Jun 17, 2019 at 04:27 PM
I dont need the camera follow the movement , i need the movement is relative to camera.
Like in this video : https://www.youtube.com/watch?v=N34eNLzzfvQ
But the video is with joystick and i dont really know how to do it for pc and controller.
Your answer
 
             Follow this Question
Related Questions
How do I stop my camera rotating with my player? 0 Answers
need help with roll a ball like game 0 Answers
FPS Camera Control rotation limits 1 Answer
Camera gets stuck when cursor is locked 0 Answers
First Person Camera looking down 1 Answer