⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    LockPickPopup3D MonoBehaviour

    Overview

    The LockPickPopup3D behaviour is a specific lockpicking mini-game in the style of fallout or dying light. Your scene can contain multiple lock-picking minigames, all differentiated by their IDs, as long as their scripts inherit from the LockPickPopup base class.

    Inspector

    LockPickPopup3D

    Properties

    Name Type Description
    UI Prefab LockpickPopupUI The UI popup prefab to be drawn over the top of this minigame using the prefab popup container system.
    Lock Transform Transform The transform of the lock barrel.
    Rotation Speed Float The rotation speed of the lock barrel when tensioned (in degrees per second).
    Lock Pick Transform Transform The transform of the lock pick object. Its pivot should be lined up with the hole of the lock.
    Min Safe Range Float The smallest size the safe range for the pick can be (at highest difficulty).
    Max Safe Range Float The maximum size the safe range for the pick can be (at lowest difficulty).
    Min Falloff Float The smallest falloff outside the safe range, where the lock can rotate but will still snag (at highest difficulty).
    Max Falloff Float The largest falloff outside the safe range, where the lock can rotate but will still snag (at lowest difficulty).
    Pick Break Ticks Integer The number of fixed update ticks where the pick is catching before it will break.
    Jiggle Min Vector3 The minimum jiggle angle when the pick catches. It will bounce between this and max.
    Jiggle Max Vector3 The maximum jiggle angle when the pick catches. It will bounce between this and min.
    Jiggle Rate Float The number of shakes per second when catching.
    Jiggle Start Damping Float The amount of time it takes for the jiggle to fade in when the lock catches.
    Jiggle End Damping Float The amount of time it takes for the jiggle to fade out once tension is released.

    See Also

    Doors

    LockpickPopupUI Behaviour

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