⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    SphereShakeZone MonoBehaviour

    Overview

    The SphereShakeZone behaviour defines a spherical area with a constant shake value used by the CameraShake additive transform effect. The shake zone is not affected by the scale of the object it's attached to or its parent. To change its size, use the properties in the inspector.

    Inspector

    SphereShakeZone

    Properties

    Name Type Description
    Strength Float The strength of the shake.
    Inner Radius Float The inner radius of the sphere. Inside this, the strength is constant.
    Falloff Distance Float The distance outside of the box that the strength falls off to zero.

    See Also

    Additive Transforms

    CameraShake

    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX