Jump to content

Convenient face of a mesh


oschakravarthi
 Share

Recommended Posts

Hi,

I would like to thank you all for your help.

Can you please help me in solving these problems?

1. A mesh can have multiple facets (faces). From the camera point of view, only one among these facets are most accessible. (I mean, the least angle that the camara has to rotate to hit this facet with its ray). How can I achieve it?

2. How to place a mesh (may be a cylinder with very less height which looks like a push button) just above (closer to camera) and parallel to a facet of another mesh?

3. I have a Disc mesh (created with MeshBuilder.CreateDisk). The ray is not picking it. Anu clue?

 

Thanks in advance.

 

Link to comment
Share on other sites

Hi!

1. Not sure to understand your need. Can you create a Playground to demonstrate what you are looking for?

2. If you get the facet from a ray picking info you can easily attach your mesh as child of the other mesh and use the pickingInfo.pickedPoint to determine where to put your mesh. Once again a PG would help a lot

3. Not without a repro :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...