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-13       - By garyc

 Back
Reply:     <<     11     12  

Hi John, Fantastic, I was thinking last night that I might need a second
object to calculate a start point for the vector. The bit I was really not
sure about is the normalizing (to a unit vector by the look of it) ...  ;)
excellent, I can see how this works ...... just what I needed. A Merry
Christmas & Happy New Year to yourself and your family .....

many thanks for your time ...

gary.

> float $dir[] = {($posLoc[0] - $posGun[0]),($posLoc[1] -
$posGun[1]),($posLoc[2] - $posGun[2])} ;
> vector $normalized  = <<$dir[0], $dir[1], $dir[2]>>;
> $normalized  =  `unit $normalized`;
> //vector $velocityVector  =  $normalized; // this is your velocity vector
!!!!
> -john


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
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/>