Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question Having trouble instantiating prefabs at multiple areas at once (Bolt).

Discussion in 'Visual Scripting' started by KiritoSAO2, Feb 15, 2023.

  1. KiritoSAO2


    Mar 16, 2016
    I'm trying make prefabs instantiate on top of another prefab that's already been instantiated in multiple places. The first prefab (Prefab1) is instantiated when the player buys a plot of land (Prefab1 instantiates in the spot the player selected). Then, when the player hits a button, another prefab (Prefab2) is supposed to instantiate at each plot of land that is occupied by Prefab1. However, when I first tried it, each Prefab2 clone would instantiate at around x: 0, y: -30, z: 0.

    Any suggestions on how to fix this? I'm kinda lost. :confused:

    Keep in mind that I'm using Bolt and Unity 2D.