View Single Post
# 2 24-09-2014 , 04:02 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
Create an expression and put in your variables like so:
Code:
$x = myCube.translateX; //or whatever, same for y, z, c.
if ($x >= $y && $z >= c){
    $B = 1;
}
else {
    $B = 0;
}

I'm sure you could do this with nodes, but the expression seems pretty straightforward.


-stwert

Website - Blog - YouTube - Vimeo - Facebook - Twitter

-->How to Effectively Ask Questions on Forums<--