Edit of asset "SurfaceAnalyzer" Accepted

Old/Current New/Edit
Title SurfaceAnalyzer
Description A Godot 4.2+ plugin for identifying surface materials on complex 3D meshes via raycast.

Designed to work alongside a detailed "ConcavePolygonShape3D" for precise material detection.

Features

- Returns the actually rendered material "get_active_material"
- Returns the overridden material from MeshInstance3D "get_surface_override_material"
- Works with multi-surface meshes

- Custom node hierarchies may require manual adjustments.

Requirements

- Godot 4.2 or newer
- The detailed collision shape must be generated from the visual mesh
- Jolt Physics: If using Jolt, enable "physics/jolt_physics_3d/queries/enable_ray_cast_face_index" (requires godot-jolt 0.14.0 or newer)
A Godot 4.2+ plugin for identifying surface materials on complex 3D meshes via raycast.

Designed to work alongside a detailed "ConcavePolygonShape3D" for precise material detection without affecting player physics.

Features

- Returns the actually rendered material "get_active_material"
- Returns the overridden material from MeshInstance3D "get_surface_override_material"
- Works with multi-surface meshes

Custom node hierarchies may require manual adjustments.

Caching behavior: Triangle counts are cached per Mesh resource. If you check another mesh during execution, the cache will remove the old data.

Memory: The cache stores only the last accessed mesh to minimize memory usage. Switching between many different meshes will repeatedly rebuild the cache.

Performance: First access to a new mesh triggers [method Mesh.surface_get_arrays], which copies geometry data from GPU to CPU. This may cause a spike. Subsequent raycasts on the same mesh are fast.
Requirements

Requirements

- Godot 4.2 or newer
- The detailed collision shape must be generated from the visual mesh
- Jolt Physics: If using Jolt, enable "physics/jolt_physics_3d/queries/enable_ray_cast_face_index" (requires godot-jolt 0.14.0 or newer)
Category 3D Tools
License MIT
Repository Provider GitHub
Repository Url https://github.com/BWolfG/SurfaceAnalyzer
Issues Url https://github.com/BWolfG/SurfaceAnalyzer/issues
Godot version Godot 4.2
Version String 2.2 2.0
Download Commit d2f7d99150044a4303769fbbf1941af44602d11b 0302b3db1e114cf31b31abf7cc58a6ba627354b4
Download Url (Computed) https://github.com/BWolfG/SurfaceAnalyzer/archive/d2f7d99150044a4303769fbbf1941af44602d11b.zip https://github.com/BWolfG/SurfaceAnalyzer/archive/0302b3db1e114cf31b31abf7cc58a6ba627354b4.zip
Icon Url https://raw.githubusercontent.com/BWolfG/SurfaceAnalyzer/refs/heads/main/icon64x64.png