- Home /
How do you use the Plane struct
It looks like you can't apply the Plane struct to the GameObject plane's.
In that case, how do you use the Plane struct, and what are some common examples where you'd use it (feel free to provide snippets!)?
Answer by Mike 3 · Dec 19, 2010 at 11:27 PM
It's a geometric plane, not a visible one
For that, what you can do is:
GameObject.CreatePrimitive(PrimitiveType.Plane);
I'm still not sure what you can do with it... what can you do with a geometric plane? o.O
If you're not sure what you can do with it, then you probably don't need it right now. Conversely, once you do have a need for it, it'll quickly become apparent what you can do with it. ($$anonymous$$eanwhile though, just take a look at the docs - the Plane struct's member functions should give you some idea of what planes can be used for.)
Your answer
Follow this Question
Related Questions
Modifying just one mesh and not all instances? 2 Answers
what is GameObject Structure? 1 Answer
Memory problems with procedurally generated meshes 2 Answers
How to create a grid with four 4 triangle squares? 1 Answer
Converting a number of runtime-created prefab GameObject cube's for export 0 Answers