Repel_Behavior - superclass: ReferenceTarget; super-superclass:MAXWrapper - 11:0 - classID: #(2016560612, 1924862305)
Get/set the name of the behavior.
0-Closest Source : Each delegate is repelled by the closest of the assigned sources. Use this to have delegates assigned a single Repel behavior move away from sources in different directions.
1-Average of Sources : All delegates head to a common point determined by averaging all sources' locations.
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 away from the source. If the behavior's Weight is set to 1, the delegate will be given a force that points directly away from the source. If Weight is set to .5, the force will bisect the angle between its current direction and the direction opposite that of the source.
1-Force: Always applies a force directly away from the source, but at different magnitudes. 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.
When true, the behavior applies only to delegates closer to the target than the Outer Distance value.
The distance from the target at which the force is applied at full strength.
The distance from the target at which the force begins to be applied.
The color used to draw the Repel force vector.
When true, the radii are displayed when the force is active.
When true, force exerted on the delegate(s) by the Repel behavior is drawn in the viewports as a vector during the simulation solution. If Use Radii is turned on, the radii are also displayed when the force is active.
The following MAXScript operations will cause Crowd to fail, either right away or later: |
NEVER set a Crowd/Behavior ArrayParameter element to undefined. |