Writing System Plug-ins

System plug-ins are combinations of one or more objects, along with optional controllers, or modifiers, or space warps, all working together. These plug-ins can provide high-order parametric control over a complex collection of scene entities. An example system is Biped which uses objects and driver/driven controllers.

The Ring Array sample (\MAXSDK\SAMPLES\OBJECTS\RINGARRAY.CPP) demonstrates how a driver controller can direct the animation of several nodes in the scene that have driven controllers assigned to them. In the Ring Array plug-in, box objects form a ring that take the shape of an animatable cyclic wave centered about a driver parent dummy object. The nodes corresponding to the box objects are positioned and oriented by their driven transform controllers. The driven controllers simply reference the driver controller and get their parameters from it at a certain time. This arrangement ensures that the driver maintains control and directs the entire system.

This plug-in uses several parameters to define the behavior of the system, as follows:

These parameters can be altered at creation time in the Create panel, or can be later altered and animated using the Motion panel.

Note: This topic discusses the use of parameter block version 1 and thus is partially obsolete.

See Also