x


GL Class gives different results after building

I am using the WireframeLineRenderer used on this forum: http://forum.unity3d.com/threads/8814-Wireframe-3D/page3

It works well in Editor mode, but when I try it in my built application (pc standalone), all the lines have rotated. I would really like to use the wireframe mode, but I can't get it to work. It seems that the localToWorldMatrix is different in both situations?

Comparison picture: (yes, I know that all lines are drawn twice, but that is not the issue, that's a multi-camera thing that is easily fixed)

alt text

Update
I tried to use the LineRenderer class instead to see what happens if I would use that. But the same thing occured. There is obviously something wrong with the rotation of the model coming out of the FBX format or something. I find it so odd that there is a difference between the built and the editor version.

more ▼

asked May 30 '12 at 12:10 PM

Marnix gravatar image

Marnix
1.3k 21 31 45

(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

By RSS:

Answers

Answers and Comments

Topics:

x36
x26
x4

asked: May 30 '12 at 12:10 PM

Seen: 354 times

Last Updated: May 30 '12 at 12:57 PM