Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The follow target module makes your agent travel towards the goal position.

...

AttributesTypeOverridableDescription
goalvector3yesThe goal position.
maxTurnAngledoubleyesThe max turn angle.
isAnimatedboolnoIf this is off, the agents will point towards the goal position only at the first frame of the simulation.
weightdoubleyesWeight
followDeltaboolnoFollows the delta movement of the target instead of actually pointing to the target. Useful for just copying the motion direction from the target to the agents.
deltaThresholddoublenoWhen followDelta is on, the agents will ignore the target movement if the position difference magnitude is lower than the threshold.
editMetadataboolyesIf on, the module will assign the value of the ratio between the movement vector and the current agent velocity to the given metadata.
metadataTypeintnoThe metadata type, can be int (3) or double (4)
metadataNamestringĀ noThe target metadata name
metadataMindoublenoMin clamping metadata value
metadataMaxdoublenoMax clamping metadata value
metadataDistanceDropOffdoubleĀ noDrop off value for smoothly transitioning the editing of the metadata
ignoreNextDirectionalModulesboolyesIf enabled, all next directional modules in the stack will be ignored.


...


Widget Connector
width900
urlhttps://www.youtube.com/watch?v=E8Z0g0X3o6k
height600