How do I get a list of vertices of a mesh?

@eproasim is doing a nice trick here, using dummy entities and set local position. From there you could later call getPosition on each entity and you can get the world position.

There are more code friendly ways to do this using math, not sure if there is a forum post on the topic though.