Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a way to obtain the coordinates of each vertex after the deformation?
#1
Triste 
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?
Reply
#2
(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,
Reply