Spawn Underneath A Layer

Discussion in 'How Can I...?' started by SofaKing, Jan 20, 2021.

  1. SofaKing

    SofaKing Boxer

    Joined:
    Oct 16, 2020
    Messages:
    11
    Likes Received:
    4
    Hi!
    I have a object spawning something and when it spawns it is spawning on top of the actor. I want it to spawn under it. I have the Actor layer on top of everything. How can I fix this?
    Thanks,
     
  2. Leighton

    Leighton Avid Boxer

    Joined:
    Jan 31, 2018
    Messages:
    373
    Likes Received:
    182
    Hello Sofaking, Please check my screenshot.
    In the Spawn node you adjust the Y axis to -1 for an object to be spawned below or lower than 0.
    Thanks
     

    Attached Files:

    Josh (Nology Games) and SofaKing like this.
  3. SofaKing

    SofaKing Boxer

    Joined:
    Oct 16, 2020
    Messages:
    11
    Likes Received:
    4
    Thanks for the reply. I did try that and for some reason it will still spawn on top of the actor(even with the actor having a +1 Z axis on 2D game) . However, I believe I found the answer to the problem. I changed the spawn item to "as child" and that fixed it.
     
    Josh (Nology Games) and Leighton like this.

Share This Page