Documentation - Maxscript
Float_Connection : FloatController
The Float_Connection is a controller that is connected to another controller or track. Similar to expression, wire and reaction controllers. But this controllers offers a simpler way of making a connection, by just making a direct connection, or a connection controlled by an Offset/Weight, by a Range, or by a Curve.
- The advantage over expression and wire controllers is that you don’t have to use functions or equations.
- The advantage over reaction controllers is that you can set up the controller individually and not all together in a
manager where the task can become very messy the more controllers are in the scene.
- Another advantage over expressions and reaction controllers is that the connection can work in both ways when the user
is manipulating the controllers.
- You can also use a time offset that is animatable (expression controllers have tick offset but it's not animatable).
Properties
Get/set the ability to control and animate the controller's value in both directions, either from the target controller, or from this controller itself.
Limits the value to the range set with the input min and max values in the case the transform type is set to "Range", or to the curve limits in case the transform type is set to "Curve"
Get/set the connection type of the controller:
0 - None.
1 - Offset/Weight.
2 - Range.
3 - Curve.
This number will be added to the value that comes from the target controller.
The value that comes from the target controller will be multiplied by this percentage value.
Get/set the input minimum value used in the range transform type.
Get/set the input maximum value used in the range transform type.
Get/set the output minimum value used in the range transform type.
Get/set the output maximum value used in the range transform type.
This is the curve control object that contains the points used in the curve transform type.
Enables or disables the time offset value.
Sets the offset of the given variable to the specified time value.
Methods
Sets the float target. The first argument is the target controller to be connected to the scalar, the second optional argument is the object that owns the target controller. Returns true on success, false otherwise.
Returns the target of the float variable. If the optional asController parameter is set to true, the result will be a controller value.
< Back to main maxscript documentation