docs.unity3d.com
    Show / Hide Table of Contents

    Class SpringBone

    Inheritance
    Object
    SpringBone
    Namespace: UnityEngine.Rendering.Toon.Samples
    Syntax
    public class SpringBone : MonoBehaviour

    Fields

    boneAxis

    Declaration
    public Vector3 boneAxis
    Field Value
    Type Description
    Vector3

    child

    Declaration
    public Transform child
    Field Value
    Type Description
    Transform

    colliders

    Declaration
    public SpringCollider[] colliders
    Field Value
    Type Description
    SpringCollider[]

    debug

    Declaration
    public bool debug
    Field Value
    Type Description
    Boolean

    dragForce

    Declaration
    public float dragForce
    Field Value
    Type Description
    Single

    isUseEachBoneForceSettings

    Declaration
    public bool isUseEachBoneForceSettings
    Field Value
    Type Description
    Boolean

    radius

    Declaration
    public float radius
    Field Value
    Type Description
    Single

    springForce

    Declaration
    public Vector3 springForce
    Field Value
    Type Description
    Vector3

    stiffnessForce

    Declaration
    public float stiffnessForce
    Field Value
    Type Description
    Single

    threshold

    Declaration
    public float threshold
    Field Value
    Type Description
    Single

    Methods

    UpdateSpring()

    Declaration
    public void UpdateSpring()
    In This Article
    • Fields
      • boneAxis
      • child
      • colliders
      • debug
      • dragForce
      • isUseEachBoneForceSettings
      • radius
      • springForce
      • stiffnessForce
      • threshold
    • Methods
      • UpdateSpring()
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023