Phone: 905 409-1589
Email: info@penproductions.ca
RSS LinkedIn Twitter Twitter
Math Functions
Math Functions

This is a set of Max Script functions that are to be loaded and globally and then called from other scripts or script controllers. Read the notes in the file for further help on usage for the scripts and what they do.

List of included scripts and how to access them via max script:

Local Rotation:
--Returns the local eulerAngle value for any object passed to it based on any other objects in the scene.
penMath.localRot()

Hermite Function:
-Returns a value from 0 to 1 based on a bezier curve that defaults to an ease out ease in. The curve can be adjusted with two inputs.
penMath.hermite()

Clamp Range:
-Converts any range to any other range and returns a float value. Pass the function an input value and the ranges that you want to convert from and to and the corresponding value will be returned. This will also invert ranges and values. Many possible uses.
penMath.clampRange()

Installation:
Unzip file and copy it to "3dsMaxX\stdPlugs\stdScripts" and restart Max.

Down Load File: PEN_MathFns.zip