Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
FORUMS: listlist (w/ descriptions)archivetagssearchhall of fame

Adapting Speed Particles Tutorial

Cow Forums : Video Copilot
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Adapting Speed Particles Tutorial
by Steven Shanahan on Jul 29, 2008 at 8:08:10 pm

I just watch the Video Copilot tutorial on Speed particles,
http://www.videocopilot.net/tutorial.html?id=114
and am wondering if the expression can be adapted for position values, and not the speed.

The example scene would be a meteor flying towards a laser wall and blowing up on impact; ie, particles are emitted when the meteor reaches the X position of the laser line and they continue at the meteor's velocity.

The expression Andrew used for parenting particular's emitter to the speed of the example text was:

S=thisComp.layer("text").transform.position.speed;

if(S>500){
500;
}else{
0;
}

I tried adapting it to:

S=thisComp.layer("Meteor").transform.position;

if (S=thisComp.layer("Laser").transform.position[0]){
500;
}else{
0;
}

But instead of 500 particles being emitted when the "Meteor" reaches the "Laser"'s X position, particles are being emitted all the time, but there's no warning that the expression is faulty.

At this point, I know I can just set a keyframe for the emitter to emit when it reaches the spot I want, but now I'm curious if it can be done through expressions in a more automated way.

Thanks
- S


Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:




Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:

Add Bold Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd Italic Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd Underline Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd Image Link Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd URL Link Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this button

Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINEDVDsBOOKSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]