oscillation problem

hi m very new to unity,i have a target model called “Pendulum Target”, i want the pendulum to oscillate 70 degrees to right side and -70 degrees to left side.please anybody help me…

What you can do is to parent it to a empty gameobject at the base of the string. Then, simply do this in the update function: transform.Rotate(Mathf.Cos(Time.time) * 70, 0, 0); Somewhat conveniently, this models a sine wave, and that is the actual shape that pendulums follow. (Cos is the derivative of Sin).