TP Pseudo Orbit

Become a member of the CGSociety

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

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 04 April 2013   #1
TP Pseudo Orbit

So I'm trying to have particles that orbit a target. I know there is the Orbit Op but I don't want the particles to stick to the orbit of the target. I want it to influence it, and maybe even orbit the target, but I want it to be able to break the orbit.

As an example, look at flocking behavior which is the perfect model.

I tried using a distance condition and attempted 2 ways to achieve it that didn't work. Particle was using the direction of a velocity node to head towards the target.

1. After the distance was satisfied, it turned on a force op set to spherical. This just nudged it to the side and the particle kept going.

2. After the distance was satisfied, it turned on a new velocity node set to position with the same force as the previous example and this caused the particle to basically bounce from the target's center to whatever the force caused it to go.

Sorry for saying the word "orbit" so many times. I hope I was clear enough. In essence, I'm trying to make a weak orbit so it can come and go.

Thanks again
 
Old 04 April 2013   #2
orbitvector is the cross product of an up vector and distance to center vector. You can use that as force direction.
 
Old 04 April 2013   #3
Yessss, that is what I've been trying to figure out. I'll give this a shot ASAP. Thanks, Hristo
 
Old 04 April 2013   #4
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.
 
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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 06:53 PM.


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