Jump to content

Runtime Gena Pro spawn on gaia biome


TakeruGrima
Go to solution Solved by Peter,

Recommended Posts

Hi,

I want to make a spawner in Gena Pro in runtime, that spawner should be able to spawn trees and others resources on gaia biomes. But this feature is a feature in Gaia and not in Gena but I need the spawning to be in runtime to be able to respawn a tree for example when it is destroyed by a player after a period of time ( but not in the same place). Is there a way to make Gena follow the biome to spawn objects ?

 

Maybe by using the mask that allows us to create the biome in gaia ? Using the mask of gaia in gena one ?

spacer.png

spacer.png

Link to comment
Share on other sites

  • Solution

Hi, as mentioned on Discord it is possible to call a GeNa spawner from within Gaia:
https://canopy.procedural-worlds.com/library/tools/gaia-pro-2021/written-articles/advanced/spawn-extensions-calling-gena-from-gaia-r136/

However during runtime this is not as easy: Gaia was not designed to be executed during runtime, it uses many (code) features of the unity editor that are not available in a standalone build. If you have some programming experience, you could in theory export the biome mask from the Mask Map Exporter, and sample it during runtime to figure out if a certain area of the map is within the biome or not.

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...