playMaker

Author Topic: Get Vertex Position  (Read 6463 times)

postjudice

  • Playmaker Newbie
  • *
  • Posts: 21
Re: Get Vertex Position
« Reply #15 on: October 21, 2014, 09:26:31 AM »
Update, it appears you can't access the gpu vertex calculations, so some other method is required to duplicate the calculation....

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Get Vertex Position
« Reply #16 on: October 22, 2014, 02:25:43 AM »
Hi,

If vertex is not modified by the shader, then you can use arrayListGetVertexPositions and then get the position of a given vertex and set the position of gameobject to be that.

 that would work ( outside your issue with gpu vertex calculation)

Bye,

 Jean

postjudice

  • Playmaker Newbie
  • *
  • Posts: 21
Re: Get Vertex Position
« Reply #17 on: October 25, 2014, 06:20:05 PM »
thanks, but if anyone has any experience with accessing mesh level vertices and duplicating the shader calculation, that would be marvelous.

Regards

postjudice

  • Playmaker Newbie
  • *
  • Posts: 21
Re: Get Vertex Position
« Reply #18 on: November 13, 2014, 09:01:03 AM »
BUMp! 8)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Get Vertex Position
« Reply #19 on: November 17, 2014, 08:03:25 AM »
Hi,

You will have more chance to get an answer on Unity's forum or UA, I personally have no experience with shaders.

 Bye,

 Jean