MassFX and MAXScript

The following topics cover the various components of the MassFX Dynamics Simulation system based on NVIDIA PhysX technology which was introduced in 3ds Max 2012.

MassFX System and User Interface Access

The Interface : nvpx Core Interface exposes the MassFX system settings to MAXScript.

The PhysXPanel : ReferenceTarget exposes the settings of the MassFX control panel and its controls to MAXScript.

The Interface nvpxConsts Core Interface exposes the NVIDIA PhysX Constants to MAXScript. Available in 3ds Max 2013 and higher.

MassFX Modifiers

The MassFX_RBody : Modifier is used by the MassFX system to define the properties of a rigid body object.

MassFX Helpers

The UConstraint : Helper is used to define constraints in the MassFX system.

The pxJoint : Helper object is used to define joints in the MassFX system.

The Skeleton : Helper object is used to introduce animated characters as Kinematic Skeleton objects to drive MassFX simulations.

The nvRagdoll : Helper is used to define a ragdoll rig in the MassFX system.

MassFX Geometry Objects

The nvBox : GeometryClass is a dedicated geometry object used by the MassFX Rigid Body Modifier to define a custom box-shaped shell for physical simulation.

The nvCapsule : GeometryClass is a dedicated geometry object used by the MassFX Rigid Body Modifier to define a custom capsule-shaped shell for physical simulation.

The nvSphere : GeometryClass is a dedicated geometry object used by the MassFX Rigid Body Modifier to define a custom spherical shell for physical simulation.

MassFX Additional Functions

pxRunSimulation()

Runs the MassFX simulation.

PxBakeAll <boolean>

Controls baking of the MassFX simulation. Pass false to bake the simulation, true to unbake the simulation.

pxBakeSelection <boolean>

Controls the baking of the selected MassFX animation. Pass false to bake the selected animation, true to unbake the selected animation.