Surface_Follow_Behavior : ReferenceTarget

Surface_Follow_Behavior - superclass: ReferenceTarget; super-superclass:MAXWrapper - 11:0 - classID: #(1709052632, 1358959157) 
 

   

Character Studio - Quick Navigation

Constructor

Surface_Follow_Behavior ... SurfaceFollowBehavior ... 

Properties

<Surface_Follow_Behavior>.name String Default: "Surface Follow" 

   

<Surface_Follow_Behavior>.surfaces ArrayParameter Default: #() -- node array 

See Notes below.

   

<Surface_Follow_Behavior>.useProjection Bolean Default: False 

When true, Surface Follow calculates delegate direction from the specified vector, rather than using the default.

   

<Surface_Follow_Behavior>.xVector Float Default: 0.0 -- animatable 

Specifies the x component of a vector using world coordinates. Range=-1.0 to 1.0.

   

<Surface_Follow_Behavior>.yVector Float Default: 0.0 -- animatable 

Specifies the y component of a vector using world coordinates. Range=-1.0 to 1.0.

   

<Surface_Follow_Behavior>.zVector Float Default: 1.0 -- animatable 

Specifies the z component of a vector using world coordinates. Range=-1.0 to 1.0.

   

<space_warp_behavior>.targetColor Color Default: (color 0 0 127.5) 

Sets the color used to draw the Surface Follow during the solution.

   

<space_warp_behavior>.displayTarget Boolean Default: True 

When true, the interim goal for each delegate influenced by the Surface Follow behavior is drawn in the viewports as a wireframe sphere during the simulation solution.

NOTE:

If the delegate starts out away from the surface to be followed then the target is most visible before the delegate reaches the surface where the target is positioned along the surface edge.

While the delegate is actually following the surface, the target is usually coincident with the delegate because Surface follow sets a new destination only a frame or two ahead.

   

<space_warp_behavior>.targetScale Float Default: 5.0 

Specifies the overall size of the target icon.

   

<Surface_Follow_Behavior>.offset Float Default: 0.0 -- animatable 

Specifies the delegate's distance above the surface, using the surface normal.

   

<Surface_Follow_Behavior>.displayOffset Boolean Default: False 

When true, shows the .offset distance as lines emanating from each vertex in the surface object, perpendicular to the surface.

NOTE:

You can perform the following MAXScript operations:

   

deleteitem <array> <itemnumber><array> = #(item,item...)<array> = append <array> <item>

on all of the properties containing an ArrayParamater of objects listed below. You can also undo/redo these operations.

   

<Surface_Follow_Behavior>.surfaces 

The following MAXScript operations will cause Crowd to fail, either right away or later:

NEVER set a Crowd/Behavior ArrayParameter element to undefined.

See Also