Curve field

The curve field module creates a velocity field affecting the agent directions.



Attributes

AttributesTypeOverridableDescription
alignAtInitFrameboolnoThe agents will be driven by this curve field only at the first frame of the simulation when this flag is turned off.
curvescurve arraynoArray of curves used for building the velocity field.
decayintnoDecay value of the field.
isAnimatedboolnoIf true, the underlying velocity field is built at each frame. You need to turn this on if your curves are animated.
maxDistancedoubleyesThe max distance from the velocity field. Any agent farther than this value from the field will be ignored.
maxDistanceDropOffdoubleyesDrop off value for smoothly transitioning in and out of the velocity field.
maxTurnAngledoubleyesThe agent max turn angle.
samplesintnoNumber of curve samples.
weightdoubleyesWeight of the velocity field.
ignoreNextDirectionalModulesboolyesIf enabled, all next directional modules in the stack will be ignored.
editLocomotionAngularVelocityboolyesIf on, this module will edit the targetAngularVelocity metadata used by the locomotion system.


Copyright © 2017, Toolchefs LTD.