spinner control scale by axis
I'm beginning on maxscript and I currently have an issue.
I'd like to control an object's scale x, y and z independently with 3 spinners. I also need the feeback on the spinners if I scale the object
I already can control the position or the rotation like this:
x_Controller = Bezier_float(); y_Controller = Bezier_float(); z_Controller = Bezier_float()
--assign controller to spinners
dialogtest.spinnerA.controller = x_Controller; dialogtest.spinnerB.controller = y_Controller; dialogtest.spinnerC.controller = z_Controller
-- position control:
$.pos.X_Position.controller = x_Controller; $.pos.Y_Position.controller = y_Controller; $.pos.Z_Position.controller = z_Controller
$.rotation.X_Rotation.controller = x_Controller; $.rotation.Y_Rotation.controller = y_Controller; $.rotation.Z_Rotation.controller = z_Controller
But I didn't succeed to do the same for the scale. I can easily control the scale with spinners like this:
on SpinnerA changed arg_x do $.scale.x = (arg_x)
on SpinnerB changed arg_y do $.scale.x = (arg_y)
on SpinnerC changed arg_z do $.scale.x = (arg_z)
but this way I don't have the feedback on the spinners if I directly scale the object ...
So after hours of google search, I'm tired and I need help please