Author Topic: setting a mesh vertex data  (Read 798 times)

Offline yrahmo

  • byte
  • *
  • Posts: 6
    • View Profile
setting a mesh vertex data
« on: December 01, 2012, 02:10:38 am »
hello

is there any possibility to set supply a mesh with vertex data?

lest say for example, I wanna get the vertex positions, and replace them with other vertex position.

thanks.

Offline KittenKoder

  • int
  • **
  • Posts: 66
  • I Am No One Else
    • View Profile
    • Kitt Games Wiki
Re: setting a mesh vertex data
« Reply #1 on: December 01, 2012, 04:42:26 am »
If it's already constructed, and not compiled look into object.getPolygonManager() to access each polygon, or object.getMesh() to gain access to each vertex with an IVertexController.
When life throws you lemons, make lemon juice, then drop life into a pile of razors and pour the lemon juice over it.