Hi !
I try to divide a cube in two other cubes when clicking on it. To do that, I tried an “instantiate” which called a Prefab, but it did’nt work. Then, I would like to call the same Prefab twice.
Thanks a lot.
Charlotte
Hi !
I try to divide a cube in two other cubes when clicking on it. To do that, I tried an “instantiate” which called a Prefab, but it did’nt work. Then, I would like to call the same Prefab twice.
Thanks a lot.
Charlotte
hi,
Can you show your code?
What error does it give?
I guess you could have 1 cube that is like 10 x 10 x 10 units, and another cube that is 5 x 10 x 10 units, and when the big one is clicked, destroy it, and instantiate the small ones in the big cubes position??
I finally fixed my problem, I made a mistake when placing my second Instantiate… My bad ! Thank you though !