Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
0
Question by rule62 · Mar 11, 2011 at 03:45 PM · spheresurfacecalculaterolling

Compute New Surface from Old Surface?

I've spent about a week face-rolling my keyboard over this one, so it's time to ask for some fresh ideas.

This is the problem to solve: Compute the surface indicated with the blue curve.

alt text

The overlapping blue circles (spheres) are an aggregate GameObject. I want to recompute a new surface for this gameobject as given by a real (or theoretical) rolling sphere of a fixed size sampling say new mesh vertices.

Thus far, I have this:

alt text

I'm getting something like what I want by spinning the big game object and orbiting the probe at a fixed distance. This works somewhat by letting Unity3D do some physics, but it depends on the fact I'm keeping the orbit at a fixed value similar to the radius of the big object. This doesn't really work as the probe will "bob" in and out of the original surface (green) of the game object.

Ideally, I'd like to be able to do this for an arbitrary shape.

If anyone has done something similar I'd love hearing about it. Or if anyone has any insights to improve what I'm doing or another avenue to look at entirely, I'd much appreciate. (It is kind of a fun problem)

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
Best Answer

Answer by Jesse Anders · Mar 14, 2011 at 10:41 AM

I don't know if this is at all helpful, but if you take all of the spheres that make up the original shape and expand them by the specified radius, the surface of the resulting shape should be the (exact) surface you're looking for.

Whether this is useful depends, I suppose, on what you're doing with this surface. (For what it's worth, moving a sphere over the original surface should be equivalent to moving a point over the expanded surface.)

If that's of no help (and if you still need help with this), perhaps you could provide some additional contextual information. (E.g. in a new post or as an edit to this one. If you edit this post, perhaps you could also add a comment to this answer indicating that the original post has been edited.)

Comment
Add comment · Show 1 · 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 rule62 · Mar 14, 2011 at 12:29 PM 0
Share

Yes, your solution is exactly correct. There is another "surface" I'm interested in computing but it's not spelled out above. If I pose that question too, I'll do it in another post and reference this one. Thanks!

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.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Problems with an object rotating a sphere surface (Quaternions and LookAt) 0 Answers

Transforming Spherical Surface to a Planar Surface 3 Answers

Sphere rotation based on object on the sphere 0 Answers

Create a "free" rolling ball controlled by player 1 Answer

Mesure visible surface of an object 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges