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
1
Question by Pe-ads · Dec 28, 2010 at 11:50 AM · meshproceduralcurvebezierbend

Curving a cuboid mesh

Hey guys, I'm pretty new to Unity, though have been fiddling around with it on-and-off for about a year.

So basically I'm doing a Breakout-style game, but with a twist. Due to the twist, I want the paddle to be curved, i.e. a cuboid, but with two opposite sides curved rather than flat.

If you're finding it hard to visualize, try watching this video. The first warp he applies to the mesh is the look that I want.

As I said before, I'm a big newbie to Unity and 3D editing programs in general. I'm guessing it has something to do with Bezier curves and mesh warping using the mesh class. But how I would go about achieving that effect: I have no idea.

Thanks a lot,

Pe-ads

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

Answer by Jesse Anders · Dec 28, 2010 at 08:11 PM

That sort of effect is totally doable in Unity, but it's not exactly trivial.

Since you have access to the raw mesh data via the Mesh class, you can basically use any procedural mesh or mesh modification technique you want (subdivision surfaces, generalized cylinders using splines and the parallel transport frame, 'rounding' of shapes, etc., etc.). In general these techniques are non-trivial, but there's nothing stopping you from applying them in Unity.

It's not quite clear to me from your post what it is exactly you're wanting to do, so I can't be much more specific than that. If you need more specific advice, it might help if you were to describe the behavior you want in more detail and/or post an image or two showing what you have in mind. (Since this is more a 'how-to' question than a specific technical question, you might have better luck posting a new thread to the forums.)

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 Pe-ads · Dec 29, 2010 at 11:06 AM 0
Share

Thanks a lot!

As this is quite a complex effect, I might just try doing it in Blender, though my experience with that is even more basic than Unity. It's easier to do Bezier curves and alter meshes in a program designed for creating meshes :D

Again, many thanks.

Pe-ads

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

Filling the space between bezier curves with a texture, 1 Answer

Curve vertex array 1 Answer

Bezier curve confusion on 2 points 1 Answer

How to split a mesh? 1 Answer

How do you use the Plane struct 1 Answer


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