Fit vex is weird

   1281   3   0
User Avatar
Member
19 posts
Joined: 1月 2020
Offline
It's houdini 18

I know that Fit vex ‘comma’ goes in between min and max, but I have to type ‘.’ instead of ‘comma’ here, so no errors occur. What's wrong with this?
Edited by EDITH - 2020年3月31日 12:00:06
User Avatar
Member
104 posts
Joined: 12月 2014
Offline
fresiaa
It's houdini 18

I know that Fit vex ‘comma’ goes in between min and max, but I have to type ‘.’ instead of ‘comma’ here, so no errors occur. What's wrong with this?

What is the whole expression? I feel something is missing from your image. But it has to be dot in the float values, not comma, so make sure that the expression is not maybe interpreting this as if some element is missing.
User Avatar
Member
8539 posts
Joined: 7月 2007
Offline
your expression is: fit(rand(stamp("../copy1","id",0) + 0,47), 0,1,-95,95)
the problem is + 0,47
should be + 0.47

side note: it's not VEX but Hscript
Edited by tamte - 2020年3月31日 11:16:23
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
19 posts
Joined: 1月 2020
Offline
Drasko Ivezic
fresiaa
It's houdini 18

I know that Fit vex ‘comma’ goes in between min and max, but I have to type ‘.’ instead of ‘comma’ here, so no errors occur. What's wrong with this?

What is the whole expression? I feel something is missing from your image. But it has to be dot in the float values, not comma, so make sure that the expression is not maybe interpreting this as if some element is missing.

tamte
your expression is: fit(rand(stamp("../copy1","id",0) + 0,47), 0,1,-95,95)
the problem is + 0,47
should be + 0.47

side note: it's not VEX but Hscript


Thank you for your quick reply. I've solved it.
  • Quick Links