Before updating to Windows 10 you may need to return your Pro license. More information here

Vectrosity object rotation

I'm using 5 script (see below) attached to 5 different objects (each script contains about 15000 lines) to draw a wireframe model. These 5 items are grouped under a single object. Should I turn on everything, but using a script by the book unity (script attached to the object) does not move anything. What is the best way to rotate/move objects vectrosity? It is possible use script mode like manual?

This is the script:

 var lineMaterial : Material;
 var lineThickness = 1.0;
 var lineVisibility = true;
 private var PointsList : float[];
 private var Lines : Array;
 private var LinesArray : Vector3[];
 private var i : int;
 PointsList = [0.0,0.0,0.0,1.5,1,1,2,3,4,3,4,5
 ]; //real point list is much longer
 function Start () {    
     Lines = new Array();
     for (i = 0; i < PointsList.length / 3; i++){ 
     LinesArray = Lines.ToBuiltin(Vector3);    
 var line = new VectorLine("Line", LinesArray, Color.white, lineMaterial, lineThickness);


more ▼

asked Mar 05, 2012 at 04:25 PM

avatar image

313 186 148 149

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Mar 05, 2012 at 04:25 PM

Seen: 952 times

Last Updated: Mar 05, 2012 at 04:25 PM