pfunkifized
03-11-2011, 09:11 PM
Helloooo,
I have a script that I want to turn into a tool, but when I put it inside of a proc I keep getting an error message saying :
// Error: Invalid call to "smoothstep". Check number and types of arguments expected by the procedure. //
The original code works fine, so I was wondering if anyone has run into this before. Here's the bit of code it's freezing up on.
$res = the resolution of the fluid container I'm emitting into
if ($y <= (($res[1]) / 2)) {
$normY = smoothstep ( 0 , (($res[1]) / 2), ($y) );
....
}
Thanks for checkin it out,
p
I have a script that I want to turn into a tool, but when I put it inside of a proc I keep getting an error message saying :
// Error: Invalid call to "smoothstep". Check number and types of arguments expected by the procedure. //
The original code works fine, so I was wondering if anyone has run into this before. Here's the bit of code it's freezing up on.
$res = the resolution of the fluid container I'm emitting into
if ($y <= (($res[1]) / 2)) {
$normY = smoothstep ( 0 , (($res[1]) / 2), ($y) );
....
}
Thanks for checkin it out,
p
