#cloning prefab
1 messages · Page 1 of 1 (latest)
Change that position
but the player moves
So? Use that position then
ye but thats the point how do i get the pos of the player into the code of the bullet
You just want to spawn the bullet at the player's position right
Yes it's called Instantiate
but instantiate(bullet).at(x,y) or a kind of thing
sorry for being so dump but exactly do i get the coordinates in
instantiate(bullet, position??)
Pass in the position and rotation you want to spawn the object at
@latent violet Instantiate(bullet, x,y,0,0,0,0);
this didnt work... do i have to declare the pos/rotation somehow
of course that didn't work because that's not how you call Instantiate
please read the documentation