#can u sc it
1 messages · Page 1 of 1 (latest)
when you click on player where is pivot
{
public GameObject player;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
transform.position = new Vector3(player.transform.position.x, player.transform.position.y, transform.position.z);
}
}
in scene view / local space
also you might wanna just use cinemachine
I will give you a smoother camera
and it will will follow player without any scripting
yeah i can just redo the camera controller.
thanks for all of the help today.. I am not completely stupid.. but damn
click these too
switch to Pivot
from Center
and yeah cinemachine is Free package in unity
I'm working in unity 2d
its the same thing lol
click where i said
change it from center to pivot
then check arrows
hm maybe try to change cs void LateUpdate() { transform.position = new Vector3(player.transform.position.x, player.transform.position.y, transform.position.z); }
or just make ur life easier and use Cinemachine
watch the vid
do you ever actually ask anyone for help on here or do you just solve other peoples stuff lol
I just try to help when I can
I do too.. my skills are limited for now.. but stuff that I have learned I will help out people.
I think I've only posted some WIP
You solo dev a game? or are you working with others?
I usually solo projects, I don't have a game specifically . I just work on mechanics of a game I like
I prefer retro low-grade ps1 era games
breath of fire 3 and final fantasy tactics are my favorite rpgs from ps1 probably
Thanks again man
anytime
that cinemachine is very nice.