Class OpenBoltReceiverBolt
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class OpenBoltReceiverBolt : FVRInteractiveObject
- Inheritance
-
OpenBoltReceiverBolt
- Inherited Members
-
Constructors
OpenBoltReceiverBolt()
public OpenBoltReceiverBolt()
Fields
BoltRot_Safe
public float BoltRot_Safe
Field Value
- float
BoltRot_SlipDistance
public float BoltRot_SlipDistance
Field Value
- float
BoltRot_Standard
public float BoltRot_Standard
Field Value
- float
BoltSpeed_Forward
public float BoltSpeed_Forward
Field Value
- float
BoltSpeed_Held
public float BoltSpeed_Held
Field Value
- float
BoltSpeed_Rearward
public float BoltSpeed_Rearward
Field Value
- float
BoltSpringStiffness
public float BoltSpringStiffness
Field Value
- float
public Transform BoltTransformOverride
Field Value
- Transform
CurPos
public OpenBoltReceiverBolt.BoltPos CurPos
Field Value
- OpenBoltReceiverBolt.BoltPos
HasLastRoundBoltHoldOpen
public bool HasLastRoundBoltHoldOpen
Field Value
- bool
HasLockLatch
Field Value
- bool
IsBoltLockbackRequiredForChamberAccessibility
public bool IsBoltLockbackRequiredForChamberAccessibility
Field Value
- bool
LastPos
public OpenBoltReceiverBolt.BoltPos LastPos
Field Value
- OpenBoltReceiverBolt.BoltPos
LockLatch
public Transform LockLatch
Field Value
- Transform
LockLatch_Interp
public FVRPhysicalObject.InterpStyle LockLatch_Interp
Field Value
- FVRPhysicalObject.InterpStyle
LockLatch_Range
public Vector2 LockLatch_Range
Field Value
- Vector2
LockLatch_SafetyAxis
public FVRPhysicalObject.Axis LockLatch_SafetyAxis
Field Value
- FVRPhysicalObject.Axis
Point_Bolt_Forward
public Transform Point_Bolt_Forward
Field Value
- Transform
Point_Bolt_LockPoint
public Transform Point_Bolt_LockPoint
Field Value
- Transform
Point_Bolt_Rear
public Transform Point_Bolt_Rear
Field Value
- Transform
Point_Bolt_SafetyCatch
public Transform Point_Bolt_SafetyCatch
Field Value
- Transform
Point_Bolt_SafetyRotLimit
public Transform Point_Bolt_SafetyRotLimit
Field Value
- Transform
Receiver
public OpenBoltReceiver Receiver
Field Value
- OpenBoltReceiver
SlidingPieces
public OpenBoltReceiverBolt.BoltSlidingPiece[] SlidingPieces
Field Value
- BoltSlidingPiece[]
Spring
Field Value
- Transform
SpringScales
public Vector2 SpringScales
Field Value
- Vector2
public bool UseBoltTransformRootOverride
Field Value
- bool
UsesRotatingSafety
public bool UsesRotatingSafety
Field Value
- bool
Methods
Awake()
protected override void Awake()
ChargingHandleHeld(float)
public void ChargingHandleHeld(float l)
Parameters
l
float
ChargingHandleReleased()
public void ChargingHandleReleased()
EndInteraction(FVRViveHand)
public override void EndInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand
GetBoltLerpBetweenLockAndFore()
public float GetBoltLerpBetweenLockAndFore()
Returns
- float
ImpartFiringImpulse()
public void ImpartFiringImpulse()
SetBoltToRear()
public void SetBoltToRear()
UpdateBolt()
UpdateInteraction(FVRViveHand)
public override void UpdateInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand