• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by ina · Dec 19, 2010 at 11:17 PM · gameobjectmeshproceduralplanestruct

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!)?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1

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);
Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ina · Dec 20, 2010 at 02:19 AM 1
Share

I'm still not sure what you can do with it... what can you do with a geometric plane? o.O

avatar image Jesse Anders · Dec 20, 2010 at 02:39 AM 0
Share

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

Hint: You can notify a user about this post by typing @username

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

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Converting a number of runtime-created prefab GameObject cube's for export 0 Answers

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

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges