Kapier
Kapier
CC#
Created by Kapier on 7/3/2023 in #help
New to unity and c# how do I make a camera follow an object and rotate around a certain point on the
I finally got it!!!! using: transform.position = player.transform.position - transform.forward * -0.7f + offset;
7 replies
CC#
Created by Kapier on 7/3/2023 in #help
New to unity and c# how do I make a camera follow an object and rotate around a certain point on the
the transformation is forcing it to stay in place and I am not sure how to fix it
7 replies
CC#
Created by Kapier on 7/3/2023 in #help
New to unity and c# how do I make a camera follow an object and rotate around a certain point on the
I can get it to follow the object with: transform.position = player.transform.position + offset; but then when it goes to rotate the camera stays inplace. with out that transform the camera will rotate correctly but not follow the object with: transform.RotateAround(point, Vector3.up, Time.deltaTime * script.turnSpeed * horizontalInput);
7 replies