- Home /
creating an object using javascript
I want to create an object within given points on the plane. I want to know if this is possible using javascript....example i gave certain points that form a surface of a sphere, however, the object does not look like a sphere because the inside is hollow...to make it more visible, I want to create an object inside the sphere.....
Note: The object I created is not a sphere...I just site a more understandable example
thank you....
I have no idea what you're talking about. I'll give it a shot anyway
Thank you....Can I create a prefab or object that can change shape and size according to a given dimensions, such as length or width or radius? Sorry for my strange question....I'm new to this program..
Answer by Julien-Lynge · Mar 05, 2012 at 04:53 PM
@Berenger answered this as a comments, so I'm copying it here as an answer:
Also, you can take a look at the procedural example project on the Unity site, which contains several examples of procedurally generating a mesh:
http://unity3d.com/support/resources/example-projects/procedural-examples.html
Your answer
Follow this Question
Related Questions
Drag Script Not Working 1 Answer
Move object back automatically 1 Answer
Attaching a script to a second object ruins everything 1 Answer
Touch Detection on Object in javascript 0 Answers