#I fixed it just still not sure why the
1 messages · Page 1 of 1 (latest)
so, the problem is that the arrow is appearing in a weird position?
i.e. not 14 units above the drop zone object
yeah I didn't mean no it's not
I meant no to the second part as in no it's not 14 units above
No the arrow is just a GO
Wait
that doesn't mean it can't have any components on it
lmfaooo
does it have a component on it
I knew I was just being an idiot
dont tell me the script is not on the gameobject
I forgot to place it in an empty object. It has an animator on it.
ah
that will fling it all over the place
I knew it was something stupid I was missing
I knew it had to be a component on the arrow because you didn't save a reference to the spawned arrow
Welp thanks
so unless you had another component going GameObject.Find("Arrow (clone))" or w/e it had to be something on the arrow itself
(which is part of why Find is bad!)
btw dont do such things, its a very bad practice
Yeah that's why I didn't want to use Find
but I think the loss of control is the worst part
u can use some find function to locate ur camera
only in awake/start
because cinemachine is very tricky
if u use camera.main, ur not referring to the virtual camera, but the camera that is being used by cinemachine
but the actual moving camera is that virtual camera
Yeah I typically only use find to get scripts onto a prefab if needed. I don't know a better way
anyway, i'll close this thread