Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Whitefame |
Hello
I have generated a procedural 3d terrain with the SurfaceTool and now I want to add collision to it. Before 3.1 I could use “create_trimesh_collision/create_convex_collision” to generate one but after 3.1 i get that “Method ‘create_trimesh_collision’ is not declared in the current class”.
Do any of you know how I can generate a collision mesh to my procedural terrain using GDScript?
These methods still exist for Meshinstance:
MeshInstance — Godot Engine (3.1) documentation in English
Does that help?
wombatstampede | 2019-06-26 15:02
Thats how I’m using it. But gets the above error.
Whitefame | 2019-06-26 17:06