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 Nelien · Jun 12, 2012 at 04:50 PM · animationcirclepulse

Create a "pulse"/ring that expands but doesn't scale

I'm very new to Unity but I'm slowly starting to get the hang of the basic functions. However, I'm trying to make a simple 2D game where pressing a key (actually taping the screen as it's a mobile game) creates a "pulse" or a ripple if you like, from the middle of the screen. Much like this game: http://www.youtube.com/watch?v=ZA6UlojV8NE .

Now, my question is, how would I best go to create this effect? The most important thing is that the ring keeps it's width constant while increasing the radius over time (exactly like the video above).

I've tried using a particle effect but that doesn't really have the "solid" feel I want and I can't seem to get a constant density so it looks thicker at the start and the gradually "disolves". I've also tried importing a "torus" (ring) model from Blender and animate it in the Unity animator but that fails horribly as all I can animate is the scale which makes the ring thicker the larger it becomes (obviously).

It's worth adding that I've got SpriteManager and iTween "ready" if need be but I haven't used either much and couldn't figure out a way to apply them to this problem.

Any advice is greatly apreciated.

Comment
Add comment · Show 5
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 syclamoth · Jun 12, 2012 at 04:56 PM 1
Share

Use a line-renderer.

avatar image Nelien · Jun 12, 2012 at 05:40 PM 0
Share

That looks interesting! I'll take a look. Thank you!

avatar image Eric5h5 · Jun 12, 2012 at 05:45 PM 0
Share

That would be trivial using Vectrosity...it has a $$anonymous$$akeCircle function and everything.

avatar image Nelien · Jun 13, 2012 at 04:30 PM 0
Share

Using the LineRenderer did the trick as well as some help from this thread: http://forum.unity3d.com/threads/26119-SOLVED-Help-with-LineRenderer-Script .

Thank you!

avatar image Eric5h5 · Jun 13, 2012 at 05:48 PM 2
Share

You should post an answer and accept it rather than writing "solved" in the title.

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer Wiki

Answer by Nelien · Jun 13, 2012 at 09:34 PM

Using the LineRenderer did the trick as syclamoth suggested as well as some help from this thread: http://forum.unity3d.com/threads/26119-SOLVED-Help-with-LineRenderer-Script.

Thank you for the help.

Comment
Add comment · 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

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

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can the animation editor create local rotational data? 3 Answers

Adding animation clips via script 2 Answers

Animating the Render Component Halo 0 Answers

Can I make animations snap to a frame? 1 Answer

What's the best way to animate a transparent image descending over a circular image? 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