Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terrain3DMeshAsset not recognizing collisions from "Scene File" #551

Closed
GustavoLR548 opened this issue Nov 14, 2024 · 1 comment
Closed
Labels
duplicate This issue or pull request already exists

Comments

@GustavoLR548
Copy link

GustavoLR548 commented Nov 14, 2024

Terrain3D version

v0.9.3

System information

Godot v4.3.stable (77dcf97d8) - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 32.0.15.6614) - AMD Ryzen 5 5600X 6-Core Processor (12 Threads)

Is the issue reproducable in the demo?

Yes

Issue description

I am developing a game where the player navigates through a forest filled with numerous trees. Currently, I'm attempting to place these trees using a "Terrain3DMeshAsset" and then distribute them across the level. However, I’m encountering an issue: when I specify the "Tree scene," it does not recognize the collision setup from the scene. As a result, when I instance the mesh, it lacks collision, allowing the player to pass through the trees.

Minimal Reproducible Example

You can find a minimal reproducible example of the issue here. This repository includes the following components:

  • A First Person character
  • A basic terrain
  • A cylinder mesh (intended to represent the trees)

I created these as an isolated scene and applied collision to them.

image

Created the Terrain3DMeshAsset, and specified the "Tree Scene" as the "Scene File":

terrain3dmeshasset

After that, I distributed the trees around the level:

image

However, when I play the game, the following occurs:

trees

As you can see, instead of colliding with the trees, my character moves right through them.

I hope this explanation clarifies the problem. If anything remains unclear, please feel free to ask. I might be misunderstanding some aspects of how collisions work within this plugin.

Thank you for your time and assistance, and have a wonderful day!

Logs

Here is the logs generated by the plugin when running the game with the described setup:

Terrain3D#6261:_notification: NOTIFICATION_EDITOR_PRE_SAVE
Terrain3DData#5129:save_directory: Saving data files to res://Terrain3D
Terrain3DRegion#1623:save: Region (-1, -1) not modified. Skipping res://Terrain3D/terrain3d-01-01.res
Terrain3DRegion#5168:save: Region (-1, 0) not modified. Skipping res://Terrain3D/terrain3d-01_00.res
Terrain3DRegion#8113:save: Region (0, -1) not modified. Skipping res://Terrain3D/terrain3d_00-01.res
Terrain3DRegion#3928:save: Region (0, 0) not modified. Skipping res://Terrain3D/terrain3d_00_00.res
Terrain3DMaterial#8356:save: Generating parameter list from shaders
Godot Engine v4.3.stable.steam.77dcf97d8 - https://godotengine.org
Vulkan 1.3.289 - Forward+ - Using Device #0: NVIDIA - NVIDIA GeForce RTX 3060

Terrain3D#6236:set_data_directory: Setting data directory to res://Terrain3D
Terrain3D#6236:_clear_meshes: Clearing the terrain meshes
Terrain3D#6236:_destroy_labels: Destroying 0 region labels
Terrain3D#6236:_initialize: Checking initialization of main subsystems
Terrain3D#6236:_initialize: Creating blank material
Terrain3D#6236:_initialize: Creating blank data object
Terrain3D#6236:_initialize: Creating blank texture list
Terrain3D#6236:_initialize: Creating blank instancer
Terrain3D#6236:_initialize: Connecting _data::region_map_changed signal to set_show_region_locations()
Terrain3D#6236:_initialize: Connecting _data::region_map_changed signal to _build_collision()
Terrain3D#6236:_initialize: Connecting _data::maps_changed signal to _material->_update_maps()
Terrain3D#6236:_initialize: Connecting _data::height_maps_changed signal to update_aabbs()
Terrain3D#6236:_initialize: Connecting maps_edited signal to update_transforms()
Terrain3D#6236:_initialize: Connecting _assets.textures_changed to _material->_update_texture_arrays()
Terrain3D#6236:_initialize: Connecting _assets.meshes_changed to _instancer->_update_mmis()
Terrain3D#6236:_clear_meshes: Clearing the terrain meshes
Terrain3D#6236:set_material: Setting material
Terrain3D#6236:_initialize: Checking initialization of main subsystems
Terrain3D#6236:_initialize: Connecting _data::maps_changed signal to _material->_update_maps()
Terrain3D#6236:_initialize: Connecting _assets.textures_changed to _material->_update_texture_arrays()
Terrain3D#6236:_clear_meshes: Clearing the terrain meshes
Terrain3D#6236:set_assets: Setting asset list
Terrain3D#6236:_initialize: Checking initialization of main subsystems
Terrain3D#6236:_initialize: Connecting _assets.textures_changed to _material->_update_texture_arrays()
Terrain3D#6236:_initialize: Connecting _assets.meshes_changed to _instancer->_update_mmis()
Terrain3D#6236:_notification: NOTIFICATION_ENTER_WORLD
Terrain3D#6236:_notification: NOTIFICATION_ENTER_TREE
Terrain3D#6236:_setup_mouse_picking: Setting up mouse picker and get_intersection viewport, camera & screen quad
Terrain3D#6236:set_mouse_layer: Setting mouse layer: 32 (2147483648) on terrain mesh, material, mouse camera, mouse quad
Terrain3D#6236:set_render_layers: Setting terrain render layers to: 2147483649
Terrain3DMaterial#6685:set_shader_param: Setting shader parameter: _mouse_layer
Terrain3D#6236:_initialize: Checking initialization of main subsystems
Terrain3DData#5104:initialize: Initializing data
Terrain3DData#5104:_clear: Clearing data
Terrain3DData#5104:load_directory: Loading region files from res://Terrain3D
Terrain3DData#5104:load_directory: Loading region from res://Terrain3D/terrain3d-01-01.res
Terrain3DRegion#6278:set_version: 0.930
Terrain3DRegion#6278:set_height_range: (-0.00, 21.23)
Terrain3DRegion#6278:set_height_map: Setting height map for region: (new)
Terrain3DRegion#6278:sanitize_map: Map type TYPE_HEIGHT correct format, size. Mipmaps: false
Terrain3DUtil:get_min_max: Calculating minimum and maximum values of the image: (-0.000882, 21.23449)
Terrain3DRegion#6278:set_control_map: Setting control map for region: (new)
Terrain3DRegion#6278:sanitize_map: Map type TYPE_CONTROL correct format, size. Mipmaps: false
Terrain3DRegion#6278:set_color_map: Setting color map for region: (new)
Terrain3DRegion#6278:sanitize_map: Map type TYPE_COLOR correct format, size. Mipmaps: true
Terrain3DData#5104:load_directory: Loaded region: (-1, -1) size: 256
Terrain3D#6236:set_region_size: Setting region size: 256
Terrain3DRegion#6278:set_location: Set location: (-1, -1)
Terrain3DRegion#6278:set_version: 0.930
Terrain3DData#5104:add_region: Adding region at location (-1, -1), update maps: no
Terrain3DRegion#6278:sanitize_map: Map type TYPE_HEIGHT correct format, size. Mipmaps: false
Terrain3DRegion#6278:sanitize_map: Map type TYPE_CONTROL correct format, size. Mipmaps: false
Terrain3DRegion#6278:sanitize_map: Map type TYPE_COLOR correct format, size. Mipmaps: true
Terrain3DData#5104:add_region: Storing region (-1, -1) version 0.930 id: 1
Terrain3DData#5104:load_directory: Loading region from res://Terrain3D/terrain3d-01_00.res
Terrain3DRegion#8442:set_version: 0.930
Terrain3DRegion#8442:set_height_range: (-0.00, 17.23)
Terrain3DRegion#8442:set_height_map: Setting height map for region: (new)
Terrain3DRegion#8442:sanitize_map: Map type TYPE_HEIGHT correct format, size. Mipmaps: false
Terrain3DUtil:get_min_max: Calculating minimum and maximum values of the image: (-0.000353, 17.22849)
Terrain3DRegion#8442:set_control_map: Setting control map for region: (new)
Terrain3DRegion#8442:sanitize_map: Map type TYPE_CONTROL correct format, size. Mipmaps: false
Terrain3DRegion#8442:set_color_map: Setting color map for region: (new)
Terrain3DRegion#8442:sanitize_map: Map type TYPE_COLOR correct format, size. Mipmaps: true
Terrain3DData#5104:load_directory: Loaded region: (-1, 0) size: 256
Terrain3DRegion#8442:set_location: Set location: (-1, 0)
Terrain3DRegion#8442:set_version: 0.930
Terrain3DData#5104:add_region: Adding region at location (-1, 0), update maps: no
Terrain3DRegion#8442:sanitize_map: Map type TYPE_HEIGHT correct format, size. Mipmaps: false
Terrain3DRegion#8442:sanitize_map: Map type TYPE_CONTROL correct format, size. Mipmaps: false
Terrain3DRegion#8442:sanitize_map: Map type TYPE_COLOR correct format, size. Mipmaps: true
Terrain3DData#5104:add_region: Storing region (-1, 0) version 0.930 id: 2
Terrain3DData#5104:load_directory: Loading region from res://Terrain3D/terrain3d_00-01.res
Terrain3DRegion#0606:set_version: 0.930
Terrain3DRegion#0606:set_height_range: (-0.00, 15.54)
Terrain3DRegion#0606:set_height_map: Setting height map for region: (new)
Terrain3DRegion#0606:sanitize_map: Map type TYPE_HEIGHT correct format, size. Mipmaps: false
Terrain3DUtil:get_min_max: Calculating minimum and maximum values of the image: (-0.000638, 15.54395)
Terrain3DRegion#0606:set_control_map: Setting control map for region: (new)
Terrain3DRegion#0606:sanitize_map: Map type TYPE_CONTROL correct format, size. Mipmaps: false
Terrain3DRegion#0606:set_color_map: Setting color map for region: (new)
Terrain3DRegion#0606:sanitize_map: Map type TYPE_COLOR correct format, size. Mipmaps: true
Terrain3DData#5104:load_directory: Loaded region: (0, -1) size: 256
Terrain3DRegion#0606:set_location: Set location: (0, -1)
Terrain3DRegion#0606:set_version: 0.930
Terrain3DData#5104:add_region: Adding region at location (0, -1), update maps: no
Terrain3DRegion#0606:sanitize_map: Map type TYPE_HEIGHT correct format, size. Mipmaps: false
Terrain3DRegion#0606:sanitize_map: Map type TYPE_CONTROL correct format, size. Mipmaps: false
Terrain3DRegion#0606:sanitize_map: Map type TYPE_COLOR correct format, size. Mipmaps: true
Terrain3DData#5104:add_region: Storing region (0, -1) version 0.930 id: 3
Terrain3DData#5104:load_directory: Loading region from res://Terrain3D/terrain3d_00_00.res
Terrain3DRegion#2770:set_version: 0.930
Terrain3DRegion#2770:set_height_range: (-0.00, 14.53)
Terrain3DRegion#2770:set_height_map: Setting height map for region: (new)
Terrain3DRegion#2770:sanitize_map: Map type TYPE_HEIGHT correct format, size. Mipmaps: false
Terrain3DUtil:get_min_max: Calculating minimum and maximum values of the image: (-0.000192, 14.52968)
Terrain3DRegion#2770:set_control_map: Setting control map for region: (new)
Terrain3DRegion#2770:sanitize_map: Map type TYPE_CONTROL correct format, size. Mipmaps: false
Terrain3DRegion#2770:set_color_map: Setting color map for region: (new)
Terrain3DRegion#2770:sanitize_map: Map type TYPE_COLOR correct format, size. Mipmaps: true
Terrain3DData#5104:load_directory: Loaded region: (0, 0) size: 256
Terrain3DRegion#2770:set_location: Set location: (0, 0)
Terrain3DRegion#2770:set_version: 0.930
Terrain3DData#5104:add_region: Adding region at location (0, 0), update maps: no
Terrain3DRegion#2770:sanitize_map: Map type TYPE_HEIGHT correct format, size. Mipmaps: false
Terrain3DRegion#2770:sanitize_map: Map type TYPE_CONTROL correct format, size. Mipmaps: false
Terrain3DRegion#2770:sanitize_map: Map type TYPE_COLOR correct format, size. Mipmaps: true
Terrain3DData#5104:add_region: Storing region (0, 0) version 0.930 id: 4
Terrain3DData#5104:force_update_maps: Regenerating maps of type: 3
Terrain3DData#5104:update_maps: Regenerating (32, 32) region map array from active regions
Terrain3D#6236:_destroy_labels: Destroying 0 region labels
Terrain3D#6236:_build_collision: Building collision with physics server
Terrain3D#6236:_update_collision: Collision creation time: 5 ms
Terrain3DData#5104:update_maps: Regenerating height texture array from regions
Terrain3DGenTex:create: RenderingServer creating Texture2DArray, layers size: 4
Terrain3DGenTex:create: 0: <Image#-9223372005984696989>, empty: false, size: (256, 256), format: 8
Terrain3DGenTex:create: 1: <Image#-9223372005816924825>, empty: false, size: (256, 256), format: 8
Terrain3DGenTex:create: 2: <Image#-9223372005649152661>, empty: false, size: (256, 256), format: 8
Terrain3DGenTex:create: 3: <Image#-9223372005481380497>, empty: false, size: (256, 256), format: 8
Terrain3DData#5104:calc_height_range: Accumulated height range for all regions: (-0.000882, 21.23449)
Terrain3D#6236:update_aabbs: Update AABB called before terrain meshes built. Returning.
Terrain3DData#5104:update_maps: Regenerating control texture array from regions
Terrain3DGenTex:create: RenderingServer creating Texture2DArray, layers size: 4
Terrain3DGenTex:create: 0: <Image#-9223372005967919772>, empty: false, size: (256, 256), format: 8
Terrain3DGenTex:create: 1: <Image#-9223372005800147608>, empty: false, size: (256, 256), format: 8
Terrain3DGenTex:create: 2: <Image#-9223372005632375444>, empty: false, size: (256, 256), format: 8
Terrain3DGenTex:create: 3: <Image#-9223372005464603280>, empty: false, size: (256, 256), format: 8
Terrain3DData#5104:update_maps: Regenerating color texture array from regions
Terrain3DGenTex:create: RenderingServer creating Texture2DArray, layers size: 4
Terrain3DGenTex:create: 0: <Image#-9223372005951142555>, empty: false, size: (256, 256), format: 5
Terrain3DGenTex:create: 1: <Image#-9223372005783370391>, empty: false, size: (256, 256), format: 5
Terrain3DGenTex:create: 2: <Image#-9223372005615598227>, empty: false, size: (256, 256), format: 5
Terrain3DGenTex:create: 3: <Image#-9223372005447826063>, empty: false, size: (256, 256), format: 5
Terrain3DMaterial#6685:initialize: Initializing material
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: uniforms
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: TEXTURE_SAMPLERS_LINEAR
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: TEXTURE_SAMPLERS_NEAREST
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: world_noise
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: WORLD_NOISE1
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: WORLD_NOISE2
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: auto_shader
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: AUTO_SHADER_UNIFORMS
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: AUTO_SHADER_TEXTURE_ID
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: TEXTURE_ID
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: dual_scaling
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DUAL_SCALING_UNIFORMS
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DUAL_SCALING_BASE
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: UNI_SCALING_BASE
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DUAL_SCALING_OVERLAY
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: debug_views
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DEBUG_CHECKERED
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DEBUG_GREY
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DEBUG_HEIGHTMAP
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DEBUG_COLORMAP
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DEBUG_ROUGHMAP
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DEBUG_CONTROL_TEXTURE
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DEBUG_CONTROL_ANGLE
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DEBUG_CONTROL_SCALE
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DEBUG_CONTROL_BLEND
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DEBUG_AUTOSHADER
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DEBUG_TEXTURE_HEIGHT
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DEBUG_TEXTURE_NORMAL
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DEBUG_TEXTURE_ROUGHNESS
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DEBUG_REGION_GRID
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DEBUG_VERTEX_GRID
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: DEBUG_INSTANCER_GRID
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: editor_functions
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: EDITOR_NAVIGATION
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: EDITOR_COMPATIBILITY_DEFINES
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: EDITOR_SETUP_DECAL
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: EDITOR_RENDER_DECAL
Terrain3DMaterial#6685:_preload_shaders: Loaded shader insert: main
Terrain3DMaterial#6685:_update_shader: Updating shader
Terrain3DMaterial#6685:_generate_shader_code: Generating default shader code
Terrain3DMaterial#6685:_update_shader: Material rid: RID(4879082848270), shader rid: RID(4883377815568)
Terrain3DMaterial#6685:_update_shader: _active_params: [&"vertex_normals_distance", &"height_blending", &"blend_sharpness", &"macro_variation1", &"macro_variation2", &"noise1_scale", &"noise1_angle", &"noise1_offset", &"noise2_scale", &"noise3_scale", &"noise_texture"]
Terrain3DUtil:print_dict: Dictionary: _shader_params
Terrain3DUtil:print_dict: "blend_sharpness": Value: 0.87
Terrain3DUtil:print_dict: "height_blending": Value: true
Terrain3DUtil:print_dict: "macro_variation1": Value: (1, 1, 1, 1)
Terrain3DUtil:print_dict: "macro_variation2": Value: (1, 1, 1, 1)
Terrain3DUtil:print_dict: "noise1_angle": Value: 0
Terrain3DUtil:print_dict: "noise1_offset": Value: (0.5, 0.5)
Terrain3DUtil:print_dict: "noise1_scale": Value: 0.04
Terrain3DUtil:print_dict: "noise2_scale": Value: 0.076
Terrain3DUtil:print_dict: "noise3_scale": Value: 0.225
Terrain3DUtil:print_dict: "noise_texture": Object#9223372066550449468
Terrain3DUtil:print_dict: "vertex_normals_distance": Value: 128
Terrain3DMaterial#6685:_update_maps: Updating maps in shader
Terrain3DMaterial#6685:_update_maps: region_map.size(): 1024
Terrain3DMaterial#6685:_update_maps: Region map
Terrain3DMaterial#6685:_update_maps: Region id: 1 array index: 495
Terrain3DMaterial#6685:_update_maps: Region id: 3 array index: 496
Terrain3DMaterial#6685:_update_maps: Region id: 2 array index: 527
Terrain3DMaterial#6685:_update_maps: Region id: 4 array index: 528
Terrain3DMaterial#6685:_update_maps: Region_locations size: 4 [(-1, -1), (-1, 0), (0, -1), (0, 0)]
Terrain3DMaterial#6685:_update_maps: Setting region size in material: 256
Terrain3DMaterial#6685:_update_maps: Height map RID: RID(4849018077267)
Terrain3DMaterial#6685:_update_maps: Control map RID: RID(4857608011860)
Terrain3DMaterial#6685:_update_maps: Color map RID: RID(4866197946453)
Terrain3DMaterial#6685:_update_maps: Setting vertex spacing in material: 1
Terrain3DAssets#7719:update_texture_list: Reconnecting texture signals
Terrain3DGenTex:clear: GeneratedTexture freeing RID(4359391805519)
Terrain3DGenTex:clear: GeneratedTexture freeing RID(4372276707408)
Terrain3DAssets#7719:_update_texture_files: Received texture_changed signal
Terrain3DAssets#7719:_update_texture_files: Validating texture sizes
Terrain3DAssets#7719:_update_texture_files: Regenerating albedo texture array
Terrain3DAssets#7719:_update_texture_files: ID 0 albedo texture is valid. Format: 19
Terrain3DGenTex:create: RenderingServer creating Texture2DArray, layers size: 1
Terrain3DGenTex:create: 0: <Image#-9223372004978064013>, empty: false, size: (1024, 1024), format: 19
Terrain3DAssets#7719:_update_texture_files: Regenerating normal texture arrays
Terrain3DAssets#7719:_update_texture_files: ID 0 Normal texture is valid. Format: 19
Terrain3DGenTex:create: RenderingServer creating Texture2DArray, layers size: 1
Terrain3DGenTex:create: 0: <Image#-9223372004944509581>, empty: false, size: (1024, 1024), format: 19
Terrain3DMaterial#6685:_update_texture_arrays: Updating texture arrays in shader
Terrain3DMaterial#6685:set_show_checkered: Enable set_show_checkered: false
Terrain3DMaterial#6685:_update_shader: Updating shader
Terrain3DMaterial#6685:_generate_shader_code: Generating default shader code
Terrain3DMaterial#6685:_update_shader: Material rid: RID(4879082848270), shader rid: RID(4883377815568)
Terrain3DMaterial#6685:_update_shader: _active_params: [&"vertex_normals_distance", &"height_blending", &"blend_sharpness", &"macro_variation1", &"macro_variation2", &"noise1_scale", &"noise1_angle", &"noise1_offset", &"noise2_scale", &"noise3_scale", &"noise_texture"]
Terrain3DUtil:print_dict: Dictionary: _shader_params
Terrain3DUtil:print_dict: "blend_sharpness": Value: 0.87
Terrain3DUtil:print_dict: "height_blending": Value: true
Terrain3DUtil:print_dict: "macro_variation1": Value: (1, 1, 1, 1)
Terrain3DUtil:print_dict: "macro_variation2": Value: (1, 1, 1, 1)
Terrain3DUtil:print_dict: "noise1_angle": Value: 0
Terrain3DUtil:print_dict: "noise1_offset": Value: (0.5, 0.5)
Terrain3DUtil:print_dict: "noise1_scale": Value: 0.04
Terrain3DUtil:print_dict: "noise2_scale": Value: 0.076
Terrain3DUtil:print_dict: "noise3_scale": Value: 0.225
Terrain3DUtil:print_dict: "noise_texture": Object#9223372066550449468
Terrain3DUtil:print_dict: "vertex_normals_distance": Value: 128
Terrain3DMaterial#6685:_update_texture_arrays: Texture count >0: 1, disabling checkered view
Terrain3DAssets#7719:_update_texture_settings: Received setting_changed signal
Terrain3DAssets#7719:_update_texture_settings: Updating terrain color and scale arrays
Terrain3DMaterial#6685:_update_texture_arrays: Updating texture arrays in shader
Terrain3DMaterial#6685:set_show_checkered: Enable set_show_checkered: false
Terrain3DMaterial#6685:_update_shader: Updating shader
Terrain3DMaterial#6685:_generate_shader_code: Generating default shader code
Terrain3DMaterial#6685:_update_shader: Material rid: RID(4879082848270), shader rid: RID(4883377815568)
Terrain3DMaterial#6685:_update_shader: _active_params: [&"vertex_normals_distance", &"height_blending", &"blend_sharpness", &"macro_variation1", &"macro_variation2", &"noise1_scale", &"noise1_angle", &"noise1_offset", &"noise2_scale", &"noise3_scale", &"noise_texture"]
Terrain3DUtil:print_dict: Dictionary: _shader_params
Terrain3DUtil:print_dict: "blend_sharpness": Value: 0.87
Terrain3DUtil:print_dict: "height_blending": Value: true
Terrain3DUtil:print_dict: "macro_variation1": Value: (1, 1, 1, 1)
Terrain3DUtil:print_dict: "macro_variation2": Value: (1, 1, 1, 1)
Terrain3DUtil:print_dict: "noise1_angle": Value: 0
Terrain3DUtil:print_dict: "noise1_offset": Value: (0.5, 0.5)
Terrain3DUtil:print_dict: "noise1_scale": Value: 0.04
Terrain3DUtil:print_dict: "noise2_scale": Value: 0.076
Terrain3DUtil:print_dict: "noise3_scale": Value: 0.225
Terrain3DUtil:print_dict: "noise_texture": Object#9223372066550449468
Terrain3DUtil:print_dict: "vertex_normals_distance": Value: 128
Terrain3DMaterial#6685:_update_texture_arrays: Texture count >0: 1, disabling checkered view
Terrain3DAssets#7719:update_mesh_list: Updating mesh list
Terrain3DAssets#7719:update_mesh_list: Reconnecting mesh instance signals
Terrain3DAssets#7719:update_mesh_list: Connecting file_changed signal to self
Terrain3DAssets#7719:update_mesh_list: Connecting setting_changed signal to self
Terrain3DAssets#7719:update_mesh_list: Connecting file_changed signal to _update_thumbnail
Terrain3DAssets#7719:update_mesh_list: Connecting setting_changed signal to _update_thumbnail
Terrain3DAssets#7719:update_mesh_list: Connecting instancer_setting_changed signal to _update_mmis
Terrain3DAssets#7719:update_mesh_list: Emitting meshes_changed
Terrain3DInstancer#9538:initialize: Initializing Instancer
Terrain3DInstancer#9538:_update_mmis: Updating MMIs for all regions, all meshes
Terrain3DInstancer#9538:_update_mmis: Creating new region MMI container Terrain3D/MMI/Region-01-01
Terrain3DInstancer#9538:_update_mmis: No MMI found, Created new MultiMeshInstance3D: 1511965005536
Terrain3DInstancer#9538:_update_mmis: No MMI found, Created new MultiMeshInstance3D: 1511965027568
Terrain3DInstancer#9538:_update_mmis: Creating new region MMI container Terrain3D/MMI/Region-01_00
Terrain3DInstancer#9538:_update_mmis: No MMI found, Created new MultiMeshInstance3D: 1511965027472
Terrain3DInstancer#9538:_update_mmis: Creating new region MMI container Terrain3D/MMI/Region_00-01
Terrain3DInstancer#9538:_update_mmis: No MMI found, Created new MultiMeshInstance3D: 1511965026416
Terrain3D#6236:_build_meshes: Building the terrain meshes
Terrain3DGeoClipMap:generate: Generating meshes of size: 48 levels: 7
Terrain3DGeoClipMap:_create_mesh: Creating mesh via the Rendering server
Terrain3DGeoClipMap:_create_mesh: Setting custom aabb: (0, 0, 0), (49, 0.1, 49)
Terrain3DGeoClipMap:_create_mesh: Creating mesh via the Rendering server
Terrain3DGeoClipMap:_create_mesh: Setting custom aabb: (0, 0, 0), (49, 0.1, 49)
Terrain3DGeoClipMap:_create_mesh: Creating mesh via the Rendering server
Terrain3DGeoClipMap:_create_mesh: Setting custom aabb: (-96, 0, -96), (193, 0.1, 193)
Terrain3DGeoClipMap:_create_mesh: Creating mesh via the Rendering server
Terrain3DGeoClipMap:_create_mesh: Setting custom aabb: (-96, 0, -96), (193, 0.1, 193)
Terrain3DGeoClipMap:_create_mesh: Creating mesh via the Rendering server
Terrain3DGeoClipMap:_create_mesh: Setting custom aabb: (-97.5, 0, -97.5), (194.5, 0.1, 194.5)
Terrain3DGeoClipMap:_create_mesh: Creating mesh via the Rendering server
Terrain3DGeoClipMap:_create_mesh: Setting custom aabb: (-97.5, 0, -97.5), (194.5, 0.1, 194.5)
Terrain3DGeoClipMap:_create_mesh: Creating mesh via the Rendering server
Terrain3DGeoClipMap:_create_mesh: Setting custom aabb: (-97.5, 0, -97.5), (194.5, 0.1, 194.5)
Terrain3DGeoClipMap:_create_mesh: Creating mesh via the Rendering server
Terrain3DGeoClipMap:_create_mesh: Setting custom aabb: (-97.5, 0, -97.5), (291.5, 0.1, 291.5)
Terrain3D#6236:_build_meshes: Creating mesh instances
Terrain3D#6236:update_aabbs: Updating AABBs. Total height range: (-0.000882, 21.23449), extra cull margin: 0
Terrain3D#6236:_destroy_collision: Freeing physics body
Terrain3D#6236:_build_collision: Building collision with physics server
Terrain3D#6236:_update_collision: Collision creation time: 6 ms
Terrain3D#6236:_notification: NOTIFICATION_READY
Terrain3D#6236:__process: Camera is null, getting the current one
Terrain3D#6236:_grab_camera: Grabbing the in-game viewport camera: Camera3D:<Camera3D#30198990120>
Terrain3D#6236:snap: Snapping terrain to: (0, 0, -4.96826)
Terrain3D#6236:snap: Snapping terrain to: (-0.221942, 0, -4.946382)
Terrain3D#6236:snap: Snapping terrain to: (-0.470915, 0, -4.926373)
Terrain3D#6236:snap: Snapping terrain to: (-0.758841, 0, -4.911587)
Terrain3D#6236:snap: Snapping terrain to: (-1.067797, 0, -4.904692)
Terrain3D#6236:snap: Snapping terrain to: (-1.387973, 0, -4.905934)
Terrain3D#6236:snap: Snapping terrain to: (-1.713956, 0, -4.91697)
Terrain3D#6236:snap: Snapping terrain to: (-2.042616, 0, -4.938003)
Terrain3D#6236:snap: Snapping terrain to: (-2.372352, 0, -4.968091)
Terrain3D#6236:snap: Snapping terrain to: (-2.702164, 0, -5.006445)
Terrain3D#6236:snap: Snapping terrain to: (-3.03163, 0, -5.051991)
Terrain3D#6236:snap: Snapping terrain to: (-3.36053, 0, -5.103685)
Terrain3D#6236:snap: Snapping terrain to: (-3.688662, 0, -5.160879)
Terrain3D#6236:snap: Snapping terrain to: (-4.016234, 0, -5.221943)
Terrain3D#6236:snap: Snapping terrain to: (-4.343435, 0, -5.285274)
Terrain3D#6236:snap: Snapping terrain to: (-4.670485, 0, -5.349834)
Terrain3D#6236:snap: Snapping terrain to: (-4.997419, 0, -5.415048)
Terrain3D#6236:snap: Snapping terrain to: (-5.324278, 0, -5.48061)
Terrain3D#6236:snap: Snapping terrain to: (-5.651348, 0, -5.545124)
Terrain3D#6236:snap: Snapping terrain to: (-5.979331, 0, -5.604376)
Terrain3D#6236:snap: Snapping terrain to: (-6.308942, 0, -5.652416)
Terrain3D#6236:snap: Snapping terrain to: (-6.64015, 0, -5.683286)
Terrain3D#6236:snap: Snapping terrain to: (-6.972116, 0, -5.692716)
Terrain3D#6236:snap: Snapping terrain to: (-7.30382, 0, -5.681277)
Terrain3D#6236:snap: Snapping terrain to: (-7.634431, 0, -5.651352)
Terrain3D#6236:snap: Snapping terrain to: (-7.963234, 0, -5.604861)
Terrain3D#6236:snap: Snapping terrain to: (-8.289765, 0, -5.543468)
@TokisanGames
Copy link
Owner

MultiMeshInstances don't have collision. Please read the documentation on all limitations.
https://terrain3d.readthedocs.io/en/stable/docs/instancer.html#limitations

Collision will be generated later. Follow issue #43, which tracks it. This is a duplicate.

@TokisanGames TokisanGames closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2024
@TokisanGames TokisanGames added the duplicate This issue or pull request already exists label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants