Trying to target trees as collision objects
Quote from Jordan Feinstein on March 13, 2024, 5:08 pmHi everyone, I'm working with TerraWorld 2021 in Unity and trying to assign trees generated by the tool to a specific layer so my script can recognize them as targets. I need to detect these trees with raycasting in my game. Could anyone guide me on how to batch assign the generated trees to a 'Target' layer within TerraWorld? Any tips or advice would be greatly appreciated!
Hi everyone, I'm working with TerraWorld 2021 in Unity and trying to assign trees generated by the tool to a specific layer so my script can recognize them as targets. I need to detect these trees with raycasting in my game. Could anyone guide me on how to batch assign the generated trees to a 'Target' layer within TerraWorld? Any tips or advice would be greatly appreciated!
Quote from terraunity on March 16, 2024, 11:21 amHi Jordan,
Thanks for reaching out to us!
Regarding to your question, TerraWorld comes with PLAYER INTERACTIONS system via PLAYER tab in TerraWorld window as described below:
Player Interactions description: https://forum.unity.com/threads/60-off-terraworld-2021-automatic-level-designer-for-real-world-locations.784217/page-6#post-7529498
You need to drag & drop your camera/player character or any other static or dynamic objects into the Target field so that TerraWorld's Player Interactions system knows where to convert all layers around this target into ordinary prefabs for interactions.
Hi Jordan,
Thanks for reaching out to us!
Regarding to your question, TerraWorld comes with PLAYER INTERACTIONS system via PLAYER tab in TerraWorld window as described below:
Player Interactions description: https://forum.unity.com/threads/60-off-terraworld-2021-automatic-level-designer-for-real-world-locations.784217/page-6#post-7529498
You need to drag & drop your camera/player character or any other static or dynamic objects into the Target field so that TerraWorld's Player Interactions system knows where to convert all layers around this target into ordinary prefabs for interactions.