Class HVRRecoilSettings
Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
HVRRecoilSettings
Inherited Members
UnityEngine.ScriptableObject.SetDirty()
UnityEngine.ScriptableObject.CreateInstance(System.String)
UnityEngine.ScriptableObject.CreateInstance(System.Type)
UnityEngine.ScriptableObject.CreateInstance<T>()
UnityEngine.Object.GetInstanceID()
UnityEngine.Object.GetHashCode()
UnityEngine.Object.Equals(System.Object)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate(UnityEngine.Object)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.Instantiate<T>(T)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.Destroy(UnityEngine.Object, System.Single)
UnityEngine.Object.Destroy(UnityEngine.Object)
UnityEngine.Object.DestroyImmediate(UnityEngine.Object, System.Boolean)
UnityEngine.Object.DestroyImmediate(UnityEngine.Object)
UnityEngine.Object.FindObjectsOfType(System.Type)
UnityEngine.Object.DontDestroyOnLoad(UnityEngine.Object)
UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single)
UnityEngine.Object.DestroyObject(UnityEngine.Object)
UnityEngine.Object.FindSceneObjectsOfType(System.Type)
UnityEngine.Object.FindObjectsOfTypeIncludingAssets(System.Type)
UnityEngine.Object.FindObjectsOfType<T>()
UnityEngine.Object.FindObjectOfType<T>()
UnityEngine.Object.FindObjectsOfTypeAll(System.Type)
UnityEngine.Object.FindObjectOfType(System.Type)
UnityEngine.Object.ToString()
UnityEngine.Object.name
UnityEngine.Object.hideFlags
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: HurricaneVR.Framework.Core.ScriptableObjects
Assembly: HurricaneVR.Framework.dll
Syntax
[CreateAssetMenu(menuName = "HurricaneVR/Recoil Settings", fileName = "RecoilSettings")]
public class HVRRecoilSettings : ScriptableObject
Fields
| Improve this Doc View SourceBackwardsForce
Declaration
[Tooltip("Recoil applied at the BackRecoil transform position in the Z direction.")]
public float BackwardsForce
Field Value
Type | Description |
---|---|
System.Single |
ImpulseForce
Declaration
public bool ImpulseForce
Field Value
Type | Description |
---|---|
System.Boolean |
LimitRecoilForce
Declaration
[Header("Limits")]
public bool LimitRecoilForce
Field Value
Type | Description |
---|---|
System.Boolean |
MaxBackForce
Declaration
[Tooltip("Maximum constant force applied to the back recoil")]
public float MaxBackForce
Field Value
Type | Description |
---|---|
System.Single |
MaxSideForce
Declaration
[Tooltip("Maximum constant torque applied for side to side recoil")]
public float MaxSideForce
Field Value
Type | Description |
---|---|
System.Single |
MaxUpForce
Declaration
[Tooltip("Maximum constant force applied to the up recoil.")]
public float MaxUpForce
Field Value
Type | Description |
---|---|
System.Single |
RandomSideToSideRecoil
Declaration
[Header("Side To Side Recoil")]
public bool RandomSideToSideRecoil
Field Value
Type | Description |
---|---|
System.Boolean |
RecoveryDelay
Declaration
[Header("Recovery")]
public float RecoveryDelay
Field Value
Type | Description |
---|---|
System.Single |
RecoveryTime
Declaration
public float RecoveryTime
Field Value
Type | Description |
---|---|
System.Single |
SideToSideMax
Declaration
public float SideToSideMax
Field Value
Type | Description |
---|---|
System.Single |
SideToSideMin
Declaration
public float SideToSideMin
Field Value
Type | Description |
---|---|
System.Single |
TwoHandBackwardsForce
Declaration
public float TwoHandBackwardsForce
Field Value
Type | Description |
---|---|
System.Single |
TwoHandedRecoveryDelay
Declaration
public float TwoHandedRecoveryDelay
Field Value
Type | Description |
---|---|
System.Single |
TwoHandedRecoveryTime
Declaration
public float TwoHandedRecoveryTime
Field Value
Type | Description |
---|---|
System.Single |
TwoHandMaxSideForce
Declaration
[Tooltip("Maximum constant force applied to the side recoil")]
public float TwoHandMaxSideForce
Field Value
Type | Description |
---|---|
System.Single |
TwoHandMaxUpForce
Declaration
[Tooltip("Maximum constant force applied to the up recoil when two handed.")]
public float TwoHandMaxUpForce
Field Value
Type | Description |
---|---|
System.Single |
TwoHandSideToSideMax
Declaration
public float TwoHandSideToSideMax
Field Value
Type | Description |
---|---|
System.Single |
TwoHandSideToSideMin
Declaration
public float TwoHandSideToSideMin
Field Value
Type | Description |
---|---|
System.Single |
TwoHandUpForce
Declaration
[FormerlySerializedAs("TwoHandTorque")]
public float TwoHandUpForce
Field Value
Type | Description |
---|---|
System.Single |
UpForce
Declaration
[FormerlySerializedAs("Torque")]
[Header("Recoil Forces")]
[Tooltip("Recoil applied about the X axis.")]
public float UpForce
Field Value
Type | Description |
---|---|
System.Single |
UseTwoHandMaxSideForce
Declaration
public bool UseTwoHandMaxSideForce
Field Value
Type | Description |
---|---|
System.Boolean |
UseTwoHandMaxUpforce
Declaration
public bool UseTwoHandMaxUpforce
Field Value
Type | Description |
---|---|
System.Boolean |
UseTwoHandRecoilForce
Declaration
public bool UseTwoHandRecoilForce
Field Value
Type | Description |
---|---|
System.Boolean |