# Mel expression - PP procedural animation

 12 December 2011 blizzaga New Member portfolio Blizz Swansea, United Kingdom Mel expression - PP procedural animation Hi, First post on here - hope its in the right place. I'm looking (to begin with) to simply create a PP expression that can make a particle move in a straight line (with no end point) just continuous forward motion. I have no idea where to begin as i've never used a PP for specific motion (only rand motion using sin etc) This is the first step and a long as i can get this to work eventually i would like to make the expression to allow the particle to gradually curve etc. Any help or advice anyone could give would be greatly appreciated share quote
 12 December 2011 haggi Expert 3d freelancer Well, you can give the particles a velocity in a certain direction with something like: `````` velocity = <<1,0,0>>;`````` Or you place them manually in the predynamics script: `````` vector \$p=position; float \$speed = .1; position = <<\$p.x + \$speed , \$p.y, \$p.z>>; `````` __________________ www.renderwiki.com - www.openmaya.net share quote
 12 December 2011 blizzaga New Member portfolio Blizz Swansea, United Kingdom Yeah thats just what i was after - but what would i do if i wanted to make it slowly curve (without using an acutal curve) is it possible? share quote
 12 December 2011 WesHowe Lord of the posts   portfolio Wesley Howe Rockdale, USA Just add a smaller amount to the Y or Z components (smaller to make the curve gradual). That will give it a circular path, the smaller the increments, the larger the radius. If you want more complex curves, you need a more complex equation. <* Wes *> __________________ i7 2.8ghz w7pro 8gb quadro 4000 w/270.51 driver, 600 GB SSD C: Drive share quote
 12 December 2011 blizzaga New Member portfolio Blizz Swansea, United Kingdom but wont just reducing the amount in the velocity make it move slower in a linear direction? do i need a different pp or expression to make the particle curve? share quote
 12 December 2011 blizzaga New Member portfolio Blizz Swansea, United Kingdom bump...... share quote
 12 December 2011 CGTalk Moderation Expert 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. share quote

 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 vBulletinCopyright ©2000 - 2006, Jelsoft Enterprises Ltd.