• 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
Question by AlmantusK · Mar 13, 2016 at 08:56 PM · animationmeshparticlesparticlesystem

Is there a way to add mesh, being modified during play mode, to particle component to emit particles from it?

Hello, I am trying to make something like a sandman- a human, that has sand for a body. For that purpose I would like to add particle system to drop sand particles around his body. But the problem is- my character has animations and I can only apply static default mesh for mesh shape. Is there a way to dynamically modify the mesh that I want particles to emit from?

Note: the only way of doing it that I can think of would be using a few particle systems and parenting them to the bones. But is that the only way?

Comment

People who like this

0 Show 0
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

2 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Graphics_Dev · Mar 13, 2016 at 08:58 PM

Get Unity 5.3 to use skinned meshes.

http://blogs.unity3d.com/2015/12/08/unity-5-3-all-new-features-and-more-platforms/

Let me know if this helps ;)

Comment
Cherno

People who like this

1 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 AlmantusK · Mar 20, 2016 at 12:36 PM 0
Share

Thank you, it helped;)

P.S. Sorry for a late responce:D

avatar image

Answer by newyellow · Mar 17, 2016 at 10:27 PM

Unity 5.3 has skinned meshes now (versions before 5.3.3 has bug)

If you really want to modify it through script, you can do this:

     public SkinnedMeshRenderer _skinedMesh;
     Mesh _mesh;
 
     void Start () {
         _mesh = new Mesh ();
     }
     
     void Update () {
         _skinedMesh.BakeMesh (_mesh);
 
         // here you can get vertex points
         Vector3[] vertices = _mesh.vertices;
     }


But accessing vertices of a mesh is very slow. If you just want to emit particles, use Unity 5.3's feature is much faster.

Comment

People who like this

0 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 AlmantusK · Mar 20, 2016 at 12:36 PM 0
Share

Thank you for a tip:)

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

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

How can I emit animated prefabs from a particle system? 0 Answers

[Help] Modular Particle System with different starting points. 0 Answers

3d mesh glitch in particle system (mesh reduction when sizing down to 0) 1 Answer

ARK of the COVENANT | How do I trigger Particles to come out once the top has been removed? 0 Answers

"Interrupted" Particle Emission? 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