Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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



Attributes

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.
projectForwardboolyesIf the goal is behind the agent, then it is projected in front of the current agent using its direction. Useful for just copying the motion direction from the target to the agent.
editLocomotionLinearVelocityboolyesIf on, this module will edit the targetLinearVelocity metadata used by the locomotion system.
linearVelocityMindoubleyesThe minimum value for the locomotion linear velocity
linearVelocityMaxdoubleyesThe maximum value for the locomotion linear velocity
locomotionFalloffRadiusdoubleyesDistance used for decreasing the linear velocity when getting closer to the target. Not used in delta mode
locomotionTargetDistancedoubleyesWhen the agent reaches this distance from the target the linear velocity is set to the minimum value provided
editLocomotionAngularVelocityboolyesIf on, this module will edit the targetAngularVelocity metadata used by the locomotion system.


  • No labels