ReferenceBehaviorsInterface
BehaviorUpdateContext
Context passed to a behavior on every simulation step.
Passed to a behavior’s update function on every simulation step.
Properties
Section titled “Properties”dtnumberThe length of this step, in seconds.
rngRngThe effect’s random number generator. Use it in place of
Math.random()to keep seeded effects reproducible.