SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 09-10-2005, 05:04 PM   #1
gster123
Moderator
 
gster123's Avatar
 
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Thanks: 1
Thanked 51 Times in 45 Posts
Default Problem With Particles and Rigid Bodys

Hi Guys

Hope you can help me out, I'm trying to put an expolsion in a cube so that the particles "Blow up" the cube by interaction.

So far I've created the basic explosion and shattered a cube using the shatter tool, i've set all the shards up as rigid bodies that allow particle collisions and created particle collisions with the objects (this works fine If I want the particles to colide with a primitive shapes rarther than the shards as the particles make the object move) but when I run the simulation the particles just bounce off the shards.

I'm sure this is gouing to be something simple that i've over looked but I'm stuck at the moment so any help would be great.

cheers
gster123 is offline   Reply With Quote
Old 10-10-2005, 05:22 PM   #2
Xander-0
Registered User
 
Xander-0's Avatar
 
Join Date: Feb 2005
Location: This Place
Posts: 220
Thanks: 0
Thanked 2 Times in 1 Post
Default

Two things I can think of without experimenting or seeing your file;

Make sure the cube is 'active'. If you've figured out how to get particles to bounce off an object, then you probably remembered.

Second, check the mass of your shards. The momentum of the objects will change how particles affect the larger objects. Default weight is 1. What do particles weigh (do they even have weight?)? Try setting the weight of the shards as close to 0 as possible, and if they have it, weight of the particle up.

If that still doesn't work, try something like this; set it up so that each particle is surrounded by a tiny, invisible box (I don't know exactly how, but this should be a fairly simple expression job). With the invisible cubes set to passive, and their posistions determined by the particles, you should get nearly the same results (..... I think. I really ought to try this. I just have too many working theories).

So, umm, see if any of that works. I'd like to know if it does. Or if it doesn't, too. Anyone see holes in this?
Xander-0 is offline   Reply With Quote
Old 10-10-2005, 05:26 PM   #3
gster123
Moderator
 
gster123's Avatar
 
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Thanks: 1
Thanked 51 Times in 45 Posts
Default

Got it going now, cheers for the info it wasn't anything to do with the set up of the shards.

What I had to do in the end was to create the shards first before the particles. Dont know why but it worked and has been working with other scenes that i've tried it out with.

Might be a glitch with my system as I cant see whats the difference!! LOL
gster123 is offline   Reply With Quote
Old 10-10-2005, 06:01 PM   #4
Xander-0
Registered User
 
Xander-0's Avatar
 
Join Date: Feb 2005
Location: This Place
Posts: 220
Thanks: 0
Thanked 2 Times in 1 Post
Default

ummm....

Glad to hear it's working.

Just one thing.... you did say the particles were bouncing off the shards, right? Not possibly penetrating them?
Not extremly important, just curious.
Xander-0 is offline   Reply With Quote
Old 11-10-2005, 01:13 AM   #5
Razor Blade
Subscriber
 
Join Date: Feb 2005
Location: Winter Park, FL
Posts: 62
Thanks: 0
Thanked 3 Times in 3 Posts
Default

or....

put a field on the particles that cause the shards to move....such as a radius field..... maybe a per particle basis but may be too much...
Razor Blade is offline   Reply With Quote
Old 11-10-2005, 01:24 PM   #6
gster123
Moderator
 
gster123's Avatar
 
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Thanks: 1
Thanked 51 Times in 45 Posts
Default

Yeah the particles were colliding with the shards but not causing them to move which I wanted so therefore they were bouncing off them!

When I started a new scene, created the shards then created the particles it worked fine, when I do it the other way round the particles jsut bounce off the shards.

seems a bit strange but hey its going now and looking good to boot!!

Cheers for the advice Razer blade, but I dont want to add too many fields where possible so I was just goig for the particle to rigid body collision route
gster123 is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.