babylon.quarks - v0.19.0
    Preparing search index...

    Class InheritVelocity

    Make particles inherit the emitter's movement velocity (Unity's "Inherit Velocity"). 'initial' adds the emitter velocity to the particle velocity once at spawn; 'current' displaces particles by the current emitter velocity every frame.

    Implements

    Index

    Constructors

    Properties

    _temp: Vector3
    _tempPos: Vector3
    _tempQInv: Quaternion
    _tempScaleInv: Vector3

    Learned in initialize, so undefined until this behavior sees a particle.

    type: string

    Methods

    • Parameters

      • delta: number

      Returns void

    • Returns void

    • Returns any

    • Parameters

      Returns void

    • Parameters

      • json: any

      Returns Behavior