Please or Register to create posts and topics.

Dynamic Player Interactions - Support For Any Types of Interactions (collision, physics...) Between Placed Models (trees, rocks, grass, buildings...) and your character, vehicle or NPCs

Do you want placed models (trees, rocks, grass, buildings...) to have interactions (collision, physics...) with your character, vehicle or NPCs?

You only need to drag & drop your character or any other targets from scene hierarchy to the TARGET field in the Player tab:

optionplayercamera.png

And TerraWorld will take care of automatic collisions and interactions around the target(s). What it does is that it converts any GPU Instanced Models to normal prefabs around set targets in order to interact with them (e.g. chopping trees, climbing them up, destroy them or any other types of runtime modifications).

A good option in PLAYER tab is that you can add as many targets as you want; for example, add your main character plus close NPCs/vehicles around it.

See the following video tutorial which shows how this system works in TW:

Also download and import this demo in your project to get started with PLAYER tab which main character is set as a target and every model around him will become interactable and contribute to physics, also all NPCs use Runtime Navmesh to find their paths in combination to all interactable TerraWorld features:

https://terraunity.com/community/topic/savannah-mini-game-windows/

And don't forget to disable DX11 Tessellation on terrain as it won't contribute to physics and your character may fall through the surface.

 

Source: https://forum.unity.com/threads/terraworld-automatic-level-designer-for-real-world-locations.784217/page-6#post-7529498