Author Topic: Displaying multiple boxes  (Read 5959 times)

Offline gamerfan

  • int
  • **
  • Posts: 97
    • View Profile
Re: Displaying multiple boxes
« Reply #30 on: September 24, 2011, 11:51:35 am »
May be right. But what I had observed one more thing that the source mesh is having only 10 vertices.So I need to pull only those two right vertices of the box on the X axis.The current logic of the apply() method is updating all vertices and applying to all vertices of destination mesh.But from the vertices list of he source mesh, can I know which are those two right vertices of the box that are to be stretched? .Please correct me.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Displaying multiple boxes
« Reply #31 on: September 25, 2011, 11:37:47 pm »
You have to find these vertices by yourself. You could just do a little trail and error or code something to find the right most vertices or something.

Offline gamerfan

  • int
  • **
  • Posts: 97
    • View Profile
Re: Displaying multiple boxes
« Reply #32 on: September 26, 2011, 07:33:51 am »
ok.Let me try that.