Obi Official Forum
Is there a way to obtain the coordinates of each vertex after the deformation? - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Softbody (https://obi.virtualmethodstudio.com/forum/forum-12.html)
+--- Thread: Is there a way to obtain the coordinates of each vertex after the deformation? (/thread-3996.html)



Is there a way to obtain the coordinates of each vertex after the deformation? - Daqud - 12-09-2023

Hi,there

Is there a way to obtain the coordinates of each vertex after the deformation of an object?

How can I extract vertex coordinates and mesh information in the work coordinate system after the original vertices have been deformed? (I want to know where the original vertices have moved to after the deformation.)

Is there method such as Get_Vertice or Export_obj?


RE: Is there a way to obtain the coordinates of each vertex after the deformation? - josemendez - 12-09-2023

(12-09-2023, 02:26 AM)Daqud Wrote: Hi,there

Is there a way to obtain the coordinates of each vertex after the deformation of an object?

How can I extract vertex coordinates and mesh information in the work coordinate system after the original vertices have been deformed? (I want to know where the original vertices have moved to after the deformation.)

Is there method such as Get_Vertice or Export_obj?


Hi!

This is standard Unity functionality, not a part of Obi: you can use SkinnedMeshRenderer.BakeMesh

Note this is considerably costly, as it involves performing the skinning in the CPU.

kind regards,