Set vertex position

Posted by user1806687 on Game Development See other posts from Game Development or by user1806687
Published on 2012-12-03T18:13:31Z Indexed on 2012/12/03 23:25 UTC
Read the original article Hit count: 249

Filed under:
|
|
|

Can anyone tell me how to set the positions of model vertices? I want to be able to change the position of some of the vertices of a Model. Is there any way to make that happen? And make the changed visible at that moment.


EDIT: Well, the thing is,I have a model, a cube, that is made up of four "thin" cubes(top,bottom,left side, right side), so I get this cube with "hole" in the middle. And I want to scale it on Y axis. If I do Scale(0,2,0) it will scale the whole object meaning, it will double the Y size of left and right side, but also double the size of the top and bottom cube, which I do not want. Same for X axis I want to double the size of top and bottom cubes but not the left and right one.

Hope you can help

© Game Development or respective owner

Related posts about XNA

Related posts about c#