Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Subject: Cameras
Subject: scaleDown command
Subject: black out solved
Subject: Aircraft Tutorial
Subject: Mathematical XYZ ?
Subject: Re: Its done This vs That
Subject: Re: Its done first week
recommendations for screen video captures?
Subject: 3DExplorer "Oddity "
Subject: Re: New Director
Subject: ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
Subject: RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Subject: Re: Texturing
Big Break Contest Videos
Subject: New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Subject: Plasma?
Looking for Inspiration
Subject: Weird EMail Q
Subject: Re: It 's done first week ?
Subject: Cherry not cranberry
Subject: Re: New game
Camera Animation Problem
Subject: Particle plugins?
 
particle collision with object?

particle collision with object?

2003-12-12       - By Roto Monkey

 Back
Reply:     1     2     3     4  

garyc writes:
> Hi, I was wondering if there is a mechanism for identifying when objects
> have been hit by particles, basically if I can I would like to capture these
> hits and add a small impulse movement to the object. I`m thinking of
> something like firing (particles) at bottles on a wall, bottles that get hit
> fall off ....................... I have not seen anything like this in my
> travels so I thought I would ask here ....
>
> thanks again.
>
> gary.
>
>

You probably want to look at a collision event procedure. You must set
it up to take three arguments:

global proc collisionProc (
      string $partShape,   // the particle object
      int $id,       // the id of the particle in question
      string $geoShape     // the geometry in the collision
      )
{

  print ("particle object: " + $partShape + "\n");
  print ("with ID number: " + $id + "\n");
  print ("is colliding with: " + $geoShape + "\n");

}

After that, add collisionProc to the Event Procedure field in the
Collision Events editor (or use the 'event' mel command).

Lemme know if you need any help with it.

cb


__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______
Chris Burrows       http://www.blueskystudios.com
Se?or Technical Director              cb@(protected)
Blue Sky Studios

   "The fact that no one understands
        you doesn't mean you're an artist."


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
List-help: <mailto:listar@(protected)?Subject=help>
List-archive: <http://www.highend3d.com/maya/devarchive/>