MAXScript Extensions > MAXScript Extensions for character studio > Crowd MAXScript Extensions > Crowd Behaviors >

# Wall_Seek_Behavior : ReferenceTarget

    Wall_Seek_Behavior - superclass: ReferenceTarget; super-superclass:MAXWrapper - 13:0 - classID: #(1204300713, 972582825)

| Character Studio - Quick Navigation

Constructor

    Wall_Seek_Behavior ... WallSeekBehavior ...

Properties

    <Wall_Seek_Behavior>.name String Default: "Wall Seek"

Get/Set the name of the behavior.

    <Wall_Seek_Behavior>.seekGrids ArrayParameter Default: #() -- node array

Set the repelling grid.

    <Wall_Seek_Behavior>.seekMethod Integer Default: 0 -- animatable

Determines whether delegate direction as influenced by the behavior is calculated by an angular method or a force method.

0 - Angle: Applies a force to the delegate based on the angle between the delegate's current direction and the direction it would need to take in order to be moving directly toward the target. If the behavior's Weight is set to 1, the delegate will be given a force that points directly away from the target. If Weight is set to .5, the force will bisect the angle between its current direction and the direction opposite that of the target.

1 - Force: Always applies a force directly toward the target. If the behavior's Weight is 1, the magnitude of the force will be the average speed. If the Weight is .5, the magnitude of the force will be half the average speed.

    <Wall_Seek_Behavior>.seekDirection Integer Default: 0 -- animatable

Determines whether the grid attracts from its positive-axis side, its negative-axis side, or both.

0 - Positive Axis: The grid attracts only from the positive-axis side.

1 - Negative Axis: The grid attracts only from the negative-axis side.

2 - Both Axes: The grid attracts from both sides.

    <Wall_Seek_Behavior>.useDistance Boolean Default: True

When true, the behavior applies only to delegates closer to the target than the Outer Distance value.

    <Wall_Seek_Behavior>.innerDistance Float Default: 0.0 -- animatable

The distance from the target at which the force is applied at full strength.

    <Wall_Seek_Behavior>.outerDistance Float Default: 10.0 -- animatable

The distance from the target at which the force begins to be applied.

    <Wall_Seek_Behavior>.falloff Float Default: 2.0 -- animatable

    <Wall_Seek_Behavior>.showDistance Boolean Default: True

    <Wall_Seek_Behavior>.gridSpacing Integer Default: 500

    <Wall_Seek_Behavior>.gridEnd Boolean Default: True Alias: End_force_at_grid_edges

When true, the force emanates only from the grid object. When off, the force emanates from an imaginary infinite grid created by extending the grid plane in all directions.

    <Wall_Seek_Behavior>.forceColor Color Default: (color 255 0 255)

Sets the color used to draw the Seek force vector during the solution.

    <Wall_Seek_Behavior>.displayForce Boolean Default: True

When true, force exerted on the delegate(s) by the Seek behavior is drawn in the viewports as a vector during the simulation solution. If BuseRadii is turned on, the radii are also displayed when the force is active.

#### See Also

- Crowd : Helper

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods

- MAXScript Extensions in character studio