SimplyMaya Forums

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


SM Forums / Maya Questions / Dynamics & Special Effects / window shatter

Dynamics & Special Effects Maya Particles, nDynamics, Fluids, Rigid Bodies & General VFX

Join the conversation. Reply to post
 
Thread Tools
02-12-2002, 12:44 AM   #1
ereitz
Subscriber
 
ereitz's Avatar
 
Join Date: Dec 2002
Location: Germany/Canada
Posts: 545
window shatter
Trying to get the window of a storefront to shatter when kicked from the inside. I have a poly plane which I've shattered and a ground plane on which it can fall. A small poly plane which is going to represent the foot is an animated passive body which moves through the glass. The shatter is deactivated until just before the point of impact. The foot plane collides with the shatters and they move outward and downward. This is going more or less as I imagined for about 10 frames and then it stops. The gravity field is still active so I'm not sure why they stop falling. I put impulses on the shards to move them outward because the impact of the foot plane didn't appear to move them outward. Anyway, I've got this far really just faking it. If someone can fill me in on the correct way to accomplish this I'd really appreciate it.

I've attached a zip file containing the mb file and a playblast which should make it all clear.
  Reply with quote
03-12-2002, 12:04 AM   #2
Tolerate
Registered User
 
Join Date: Oct 2002
Location: Taunton, UK
Posts: 128
Well i did this for you hope it helps

Last edited by Tolerate; 03-12-2002 at 12:15 AM.
  Reply with quote
03-12-2002, 12:14 AM   #3
Tolerate
Registered User
 
Join Date: Oct 2002
Location: Taunton, UK
Posts: 128
oops sorry, i forgot to save the scene before zipping it so this is the real one
  Reply with quote
03-12-2002, 12:16 AM   #4
ereitz
Subscriber
 
ereitz's Avatar
 
Join Date: Dec 2002
Location: Germany/Canada
Posts: 545
oops! Maya 4
wow! thanks for the help Tolerate. I've seen the playblast and am looking forward to seeing what you did. Just one problem: I neglected to say I'm using Complete 4 and not 4.5. I can't open the file.

When I looked at your playblast I noticed a couple of floaty shards that didn't tumble. I guess I can work around those by keyframing them, right? The most important thing is that the shards are falling and colliding with the ground, which yours did very nicely.
__________________
Check out the subsurfacescattering on my tongue...

<a href="http://www.reitzmachine.com">www.reitzmachine.com</a>
  Reply with quote
03-12-2002, 10:23 AM   #5
Tolerate
Registered User
 
Join Date: Oct 2002
Location: Taunton, UK
Posts: 128
I did a hack on one of the scene files so this should HOPEFULLY work on Maya 4.0

the file you need to open is Glass.ma
  Reply with quote
03-12-2002, 11:00 AM   #6
ereitz
Subscriber
 
ereitz's Avatar
 
Join Date: Dec 2002
Location: Germany/Canada
Posts: 545
No go... :(
Again, thanks for your help. Seems it won't open in 4.0 however.
__________________
Check out the subsurfacescattering on my tongue...

<a href="http://www.reitzmachine.com">www.reitzmachine.com</a>
  Reply with quote
03-12-2002, 11:19 AM   #7
Tolerate
Registered User
 
Join Date: Oct 2002
Location: Taunton, UK
Posts: 128
I changes one last thing in the file, so if this doesn't work i'm not sure what i can do
  Reply with quote
03-12-2002, 11:52 AM   #8
ereitz
Subscriber
 
ereitz's Avatar
 
Join Date: Dec 2002
Location: Germany/Canada
Posts: 545
still error.
nope - error reading file. I have heard no backwards compatability. Too bad. Well I have your work and I'll be able to take it to a friend in a couple of days who has 4.5 and I'll give it a look see then. Maybe you could just quickly jot down the order in which you did things - especially the settings on the shards themselves. A gravity field. Are there impulses? How do you specify how long they last etc. How do you check that the dynamic forces don't stop until they have finally wrestled those shards to the passive body plane? Any tidbits of info might be enough to set me on the right track. Thanks again.
__________________
Check out the subsurfacescattering on my tongue...

<a href="http://www.reitzmachine.com">www.reitzmachine.com</a>
  Reply with quote
03-12-2002, 01:32 PM   #9
Tolerate
Registered User
 
Join Date: Oct 2002
Location: Taunton, UK
Posts: 128
i'll write something down later when i have time, got some things to do i town in a bit.

the only thing with an impules was the ball. All an impulse does is gives something a push at the first frame of the simulation, so after that first frame no force is applied to the object, the only thing moving it is the object momentum
  Reply with quote
03-12-2002, 06:24 PM   #10
iron_tick
Subscriber
 
iron_tick's Avatar
 
Join Date: Sep 2002
Location: Chicagoland USA
Posts: 719
what did you use to make the cube shatter?
__________________
<html><font size=2>
<font color="blue">
And after calming me down with some orange slices and some fetal spooning,
E.T. revealed to me his singular purpose.

--TOOL, 10,000 Days---

</font></pre>
</html>
  Reply with quote
03-12-2002, 08:14 PM   #11
ereitz
Subscriber
 
ereitz's Avatar
 
Join Date: Dec 2002
Location: Germany/Canada
Posts: 545
shatter effect
Actually it's a plane with a shatter effect applied under Dynamics/Effects/Shatter - the impulse comes - apparantly from the object which collides with it. I have yet to get it right - use Tolerates file
__________________
Check out the subsurfacescattering on my tongue...

<a href="http://www.reitzmachine.com">www.reitzmachine.com</a>
  Reply with quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Management of GUI window elements Grimt Programming 3 12-04-2014 09:10 PM
Shatter Effect Ozgalis Dynamics & Special Effects 6 12-06-2012 05:39 PM
Solid Shatter Limitation? PixalZA Maya Basics & Newbie Lounge 15 24-04-2012 04:44 PM
Window Shatter mattmatt Maya Basics & Newbie Lounge 1 26-01-2012 07:32 AM
asign sliderFunction to costum window Falott Programming 2 31-07-2008 12:07 AM