I would like to create an edit mode like in blender only on babylon.js but I didn’t find anything on the Internet or on this forum, so I decided to make my own version, and that’s what I got:
Dragging the vertex of an OBJ object as in edit mode in blender on Babylon.js | Babylon.js Playground
Now we can attach a vertex drag-and-drop structure to gizmos, and make them into one:
Gizmo and Dragging the vertex in one | Babylon.js Playground
You can convert the model to vertices and faces using this →
Converter of a list of vertices and faces to a OBJ model on babylon.js - Demos and projects - Babylon.js
Hello !
I think I had helped for similar project in this topic :
I would say the current code is ok for any topology.
Just replaced cube by flat shaded sphere :
[Screencast from 06-12-2024 09:17:12]
1 Like
Great! Your drag-and-drop version is better than mine, but it doesn’t have the faces and vertex arrays to create the OBJ structure.