i am new on this forum so my appoligies if i am breaking any norms.
I am new to programming and so learning as i go along, i have a problem
I rigged a camera to follow a Sphere object through code.
This is the code
public GameObject folloW;
private Vector3 offSET;
void Start ()
offSET = transform.position;
void Latedate ()
transform.position = folloW.transform.position + offSET;
with the camera its working
Now i wrote the same code with small changes like renaming variables and attached it to a capsule and its not moving… ?
Thank you for your time friends