babylon.quarks - v1.0.0
    Preparing search index...

    Type Alias BehaviorSpace

    BehaviorSpace: "local" | "world"

    The space a behavior's vectors are authored in, as Unity's Space setting on Velocity over Lifetime and Force over Lifetime:

    • 'local': the emitter's own axes and units, so the vector turns and scales with the emitter;
    • 'world': the world's axes, however the emitter is placed.

    The behavior converts the vector into the space the system simulates in (IParticleSystem.worldSpace), so a setting means the same thing in a local and in a world-space system.