Vector math for determining cylindrical distance?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  09 September 2006
Vector math for determining cylindrical distance?

I have some particles emitting from the world origin and travelling down the Z axis.
I want to modify a particle property depending on how far they are away, cylindrically, from the Z axis. I don't want to modify particles that remain close to the Z axis, even though they may have travelled along way along it.

I'll be pulling particle data fron the 'TP GetData' node, and comparing it to a node located at world origin. Can anyone tell me the right vector math set up to do this?

Thanks for reading...

Mike A.
  09 September 2006
ahm isnt that simple pitagora? u get the distance from x and y coordiunates, distance^2 = x*x + y*y
Twitter | Ratata
  09 September 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

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
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 03:36 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.