Hello Everyone We have just started programming for games.our goal is to move the camera to right and left automatically while the character is moving,like its head is moving to left and right.We have no idea how to do that. it would be highly appreciated if you answer us soon
Welcome, Majid and Masoud
- Create a new project and include the standard package called "Scripts". It contains some camera scripts that you can look through and get a grasp of.
- You should take a look at the scripting docs. Especially look up the "Transform" component. That would be the component you should manipulate.
Another way to get a head start in Unity programming is to get some of the projects from the resources section on our website and start reading all the code, look it all up, experiment with it etc.
Have fun!