- Home /
Change object vertices in javascript
This should be simple enough to explain, but I do not know how easy it is to actually do. Basically, I want to change the vertex data of a 3D object and make a smooth, yet quick, animation show the changes. I would also like to be able to add vertices, but that will be simple enough once I figure out how to modify the vertex data. How can I do this with Javascript?
Also, I am sorry if this is a duplicate question. I have just signed up, and am not yet sure where things are, and how best to search on the website.
Answer by Graham-Dunnett · Nov 29, 2012 at 11:04 AM
It's fully described in the documentation:
http://docs.unity3d.com/Documentation/ScriptReference/Mesh.html
Regarding searching, the best way we have found is to visit a web site called google.com. It has a text box where you can enter your queries. Then press the button called "Google search". This great website will then display links to pages it has found around the inter webs. It's pretty amazing, actually. Once you try it I am sure you'll use it a hundred times every day. ;-)
Your answer
Follow this Question
Related Questions
Platform Input Controller Animations 1 Answer
How to create a 3D slider 1 Answer
help unity3d javascript 1 Answer
Using mesh.recalculateNormals 0 Answers
How can I set a following camera which doesn't rotate with the object 1 Answer