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?
 
Emitting particles one by one ...

Emitting particles one by one ...

2003-12-12       - By garyc

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Hi John, right, I setup the "emit" command in my expression and it works
just fine, I have taken the position data from a null that I have parented
to the gun barrel, so I have the particles starting off in the right place.
My only problem (well be it more a lack of knowledge) is how can I get a
vector (i.e. a direction) for the particle when the barrel is moving around.
Like I say I currently have a null parented to the barrel that gives me the
position but I have the particle vector set to <0,0,50> so my particles
always shoot off down "z" regardless of the guns orientation. Is there some
way I can generate a correct vector from the same null that gives me my
position, its "z" axis always (as its parented) points the right way, I just
need that as a vector to plug into the emit command.

PS: sorry if this is a no brainer questin for the maths guys out there, I am
just trying to get my head around the maths thats goes with Maya ;)

cheers gary.


> Best bet is the "emit" command.    set up an expression that gets the
direction of the gun and
> positon,  for the velocity vector of the particle and muzzle position.
>
> then plug those numbers into the expression with the emit command  to emit
a particle
> per frame.
>
> if you want more than one  "shot" per frame  (machine gun)
> you can  offset the position of the  "bullets"   up and down the velocity
vector  with some
> random value.  and loop on the emit command


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