Page 1 of 1

Why am I getting a Python Script error?

PostPosted: Wed Apr 20, 2011 1:43 pm
by bnewton81
Every time i try to export this blend file I get a python script error popup "python script error check console" It has been a while since I've exported any ages, so this is probably a simple thing I've overlooked. Check out the file and let me know. Please :D I don't have any textures on my meshes. Is that the problem?

Re: Why am I getting a Python Script error?

PostPosted: Wed Apr 20, 2011 2:26 pm
by tachzusamm
It's the object "OuterFloor". You are trying to use a collider type "box" for a completely flat plane, which won't work because the exporter (and me too) does not know how to create a (3D) box based on a (2D) surface.
Either give the plane some shape in the 3rd dimension, or use a different bounds type (like triangle mesh).

Re: Why am I getting a Python Script error?

PostPosted: Wed Apr 20, 2011 4:48 pm
by bnewton81
Thanks a lot. I knew it was something i was overlooking. Are certain types of colliders preferred over others for performance?

Re: Why am I getting a Python Script error?

PostPosted: Wed Apr 20, 2011 10:34 pm
by Luna
Custom colliders are preferred, Box and Convex colliders are a good second(for when you're feeling lazy) , triangle mesh should be used less(although it is still very useful ;) )

Also when it gives that error it can help to look at the console since there will be a more extensive error message there >.>

Re: Why am I getting a Python Script error?

PostPosted: Thu Apr 21, 2011 5:26 am
by bnewton81
Great help. Thanks. Now if i can figure out the lighting I'll be halfway there. :)