Download Download
Godot Feature Splash
Godot Addon API Docs
ShapeGuesser — API

Methods

  • PackedVector3Array _collect_samples(Mesh mesh)
  • float _approx_mesh_volume(Mesh mesh)
  • float _stdev(PackedFloat32Array values)
  • float _min3(float a, float b, float c)
  • Vector3 get_mesh_offset(MeshInstance3D mi)
  • Shape3D build_collision_for(Node target, bool allow_trimesh_when_thin = true, float min_axis_epsilon = 0.01, bool prefer_simple_box = false)

Constants / Enums

  • ROUND_STDDEV_THRESHOLD = 0.14
  • ELONGATION_RATIO = 1.5
  • AXIS_SIMILARITY = 1.15
  • BOX_VOLUME_RATIO_THRESHOLD = 0.7