Get vertices in world space [SOLVED]


#1

How can I get the vertices data from a mesh in world space? I need the position of the vertices in absolute world coordinates. When I rotate a mesh, then the vertices in world space would change, right? And I need access to this data. I did not yet figure out how to use mesh.getAbsPos(). Maybe this would be the way?

Thank you.

UPDATE: Solved.

mesh.localToGlobal() or mesh.getAbsPos() is what I needed. Sorry for creating a topic for hat.


#2

Thank you for posting the answer here.

Can you edit your post title with [SOLVED]. If someone with the same problem see your post with 0 answer (well, one now :slight_smile: ), maybe he won’t bother to read if it’s seem a question without answer.