get true or false, throughtime in defined intervals 0.1.0 (maya script)

get true or false, throughtime in defined intervals

Step Zoom

License Type:

Freeware

File ID:

15690

File Size:

1 KB

Created / Updated:

Dec 24, 2009 / Dec 24, 2009

Owner:

gokhanertem   More free downloads from this user See users marketplace items See this users portfolio Send a Private Message

Platforms:

linux, mac, windows

Downloaded:

106

Maya:

8.x, 2008, 2009, 9.x, 2010

Tags:

throug, time, interval, cycle, frame, Boolean


// get true or false, throughtime in defined intervals v0.1 Dec 24, 2009
//
// DESCRIPTION:
//          This is a simple Script returns a boolean value, 1 or -1 in this case, within each continuing 25 frames.
//          So that you can esily bind some stuff which need to alter continually within defined frames.
//         I wrote this script because I needed the gravity to change in each 25 frames, to create a waterlike effect for the cloth of a character.
//         when you define $oscilateframeinterval = 45 for example, the script will change its values in each 45 frames continually.
//
// INSTALLATION INSTRUCTIONS:
//        Simply go into the expression editor for the prameter that you want to bind.
//        for example you want to bind sphere translateX to 1 or -1, so
//        paste this code, and add the following line to the end :
//        sphere.translateX == $gravitydirection;
//        here i didnt change the name for the varible "$gravitydirection", in case it will be easier for you to understand the variable
//        keeping in mind the reason it was created for...

// ADDITIONAL INFORMATION:
//        This script may be freely distributed in its unmodified form!
//        This script may be nonse to some people as well as worthy to others, i am jsut trying to get better, and share the knowledge..
//
// AUTHOR:
//        Gokhan Ertem
//        LAMA Productions
//        gokhan@lamaproductions.com
//        http://www.lamaproductions.com
//
// COPYRIGHT: Gokhan Ertem

Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum to ask any questions.
Please rate my product in the Review section.