Reference Cinema 4D Cinema 4D Visualize, Broadcast, Studio MoGraph Effectors
Function available in CINEMA 4D Broadcast, Studio


Basic Coord. Effector Parameter Deformer Falloff


With the C.O.F.F.E.E. Effector (and of course solid C.O.F.F.E.E. skills) you can take full control of your Clones.

Example 1 "Parameter control"

This bit of code sets the current position values to a strength of 50% (0.5). First, the current particle index will be read and the Blend ID (Interface ID) determined (ID_MG_BAEEFFECTOR_POSITION can be dragged from the Attribute Manager directly into the code field).

Example 2 "Full control"

First, the number of Clones will be ascertained and then the Clones’ transformation matrix’ (i.e. their location, size and rotation). Next, the falloff strength will be ascertained for each Clone. The subsequent loop will run through the array and set each V0 (position) matrix to "position + falloff value * 100". If a flow comma value (e.g., falloff) is used instead of a vector, the equivalent of a vector will result (value, value, value). Finally, the array, after it has been modified, will be reset and we can check to see if the falloff and array took effect. This will result in a gentle falloff of the effect. The "return true" at the end ensures that the Effector knows that the code was successful and all data was updated correctly.