RafaelMancini
04-25-2007, 04:41 AM
Hey there...
Iīm trying to build an expressions that goes like this:
if (ctrl_FootLf.Tap > < 0) {
ikHandleToeLf.ikBlend = 0;
} else {
ikHandleToeLf.ikBlend = 1;
}
But there's a syntax error here: "(ctrl_FootLf.Tap > < 0)", cause you canīt use "<" and ">" at the same time, which I donīt get it, because you can use them with the "=" like this: "(ctrl_FootLf.Tap >= 0)"
So the question is, how do I write this expression in a way that the "ikHandleToeLf.ikBlend" will be only equal to 1 if "ctrl_FootLf.Tap" is equal to 0, otherwise, "ikHandleToeLf.ikBlend" will be equal to 0.
hopefully I was clear about this... can anyone help me please?
Iīm trying to build an expressions that goes like this:
if (ctrl_FootLf.Tap > < 0) {
ikHandleToeLf.ikBlend = 0;
} else {
ikHandleToeLf.ikBlend = 1;
}
But there's a syntax error here: "(ctrl_FootLf.Tap > < 0)", cause you canīt use "<" and ">" at the same time, which I donīt get it, because you can use them with the "=" like this: "(ctrl_FootLf.Tap >= 0)"
So the question is, how do I write this expression in a way that the "ikHandleToeLf.ikBlend" will be only equal to 1 if "ctrl_FootLf.Tap" is equal to 0, otherwise, "ikHandleToeLf.ikBlend" will be equal to 0.
hopefully I was clear about this... can anyone help me please?
