Curve field

Curve field

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




Attributes

Attributes

Type

Overridable

Description

Attributes

Type

Overridable

Description

alignAtInitFrame

bool

no

The agents will be driven by this curve field only at the first frame of the simulation when this flag is turned off.

curves

curve array

no

Array of curves used for building the velocity field.

decay

int

no

Decay value of the field.

isAnimated

bool

no

If true, the underlying velocity field is built at each frame. You need to turn this on if your curves are animated.

maxDistance

double

yes

The max distance from the velocity field. Any agent farther than this value from the field will be ignored.

maxDistanceDropOff

double

yes

Drop off value for smoothly transitioning in and out of the velocity field.

maxTurnAngle

double

yes

The agent max turn angle.

samples

int

no

Number of curve samples.

weight

double

yes

Weight of the velocity field.

ignoreNextDirectionalModules

bool

yes

If enabled, all next directional modules in the stack will be ignored.

editLocomotionAngularVelocity

bool

yes

If on, this module will edit the targetAngularVelocity metadata used by the locomotion system.




Copyright © 2017, Toolchefs LTD.