Jump to content

How can I spawn a game object near another game object?


Recommended Posts



Thanks for reading my post. I was wondering if someone could help me with a vexing problem. I am trying to spawn different game objects near each other. Specifically, I want to spawn some dead log prefabs and then spawn some mushroom prefabs near the dead logs. I have no issues spawning the dead logs, that's easy. But once spawned, there doesn't seem to be any combination of collision masks, layer tagging, tagging, anything could enable me to isolate them to spawn the mushrooms around them. I am certain that it can be done with Gaia, but for now it eludes me. So, I'd appreciate any help. Oh, I'm using Gaia Pro 2021 and Unity 2022.1 beta.



Link to comment
Share on other sites

7 hours ago, DMVguy80 said:

Oh, I'm using Gaia Pro 2021 and Unity 2022.1 beta.

Please note that we dont support Beta versions of Unity. 

Also you would want to add the collision mask should do it, could be acting funny as we dont support that version of unity and something might be broke in that version. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

  • Create New...