Bouncing balls, emitter

Bouncing balls, emitter

reniferziolo
Advocate Advocate
1,508 Views
3 Replies
Message 1 of 4

Bouncing balls, emitter

reniferziolo
Advocate
Advocate

Hello everyone,

 

How can one emit balls of different colors, colliding and bouncing from the floor/ other objects? I can't make balls collide with each other and it seems to be emitting one object only.:

 

Capture.PNG

Any help appreciated!

 

 

0 Likes
Accepted solutions (1)
1,509 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Accepted solution

Hi There,

 

To clarify, you have multiple emitters? emitting different particles?  Or one emitter with multiple particle systems?

 

What do you want to have happen with the color?

 

Each particle can be given a rgbPP - for your color.  Each particle object can be assigned 1 color.

make a creation expression rgbPP = rand(1);

 

To get particles to interact with each other you use a radial field.  

 

1 particle object - you create 1 radial field and make the particle object a "source"

Select the field, select the particle system -> FX menu > Fields/Solvers > Use Selected Field as Source (1/3 way downish menu)

 

2 or more particle objects, you need to turn each particle system into a source field - for 2 you need 2 radial fields, for 3 particle systems, you need 3 radial fields...

 

In the dynamic connection editor, you link the all radial field to all the particle systems.

 

The settings on the radial field - Use Radius - i.e. Max Distance - set to the radius of the particle. 

Attenuation = 0

apply per vertex = On

Adjust Magnitude to make them look like they are colliding.

 

Make floor/boxes/walls rigid bodies by nCloth > create passive collider...

 

Have fun.

 

C

 

0 Likes
Message 3 of 4

reniferziolo
Advocate
Advocate

Hello, What I wanted to do is have a bunch of balls slide down a  pipe into a container. The best results I got with active rigid bodies but it's very slow in a viewport, So I was looking for a solution with a particles. I didn't seem to get a realistic results using the radial field but more less I was trying to do it the way you have described 🙂 thanks

0 Likes
Message 4 of 4

reniferziolo
Advocate
Advocate

Oh and I tried to instance multiple object per 1 emitter, found a scrip for that.

0 Likes