Class AttachableClosedBolt
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class AttachableClosedBolt : FVRInteractiveObject
- Inheritance
-
AttachableClosedBolt
- Inherited Members
-
Constructors
AttachableClosedBolt()
public AttachableClosedBolt()
Fields
Barrel
Field Value
- Transform
BarrelForward
public Vector3 BarrelForward
Field Value
- Vector3
BarrelRearward
public Vector3 BarrelRearward
Field Value
- Vector3
CurPos
public AttachableClosedBolt.BoltPos CurPos
Field Value
- AttachableClosedBolt.BoltPos
DipMagnitude
public float DipMagnitude
Field Value
- float
DoesClipHoldBoltOpen
public bool DoesClipHoldBoltOpen
Field Value
- bool
Hammer
Field Value
- Transform
HammerForward
public Vector3 HammerForward
Field Value
- Vector3
HammerRearward
public Vector3 HammerRearward
Field Value
- Vector3
public bool HasBoltCatchReleaseButton
Field Value
- bool
HasHammer
Field Value
- bool
HasLastRoundBoltHoldOpen
public bool HasLastRoundBoltHoldOpen
Field Value
- bool
HasReciprocatingBarrel
public bool HasReciprocatingBarrel
Field Value
- bool
HasRotatingPart
public bool HasRotatingPart
Field Value
- bool
HasZRotPart
Field Value
- bool
HasZScalePart
public bool HasZScalePart
Field Value
- bool
LagMagnitude
public float LagMagnitude
Field Value
- float
LastPos
public AttachableClosedBolt.BoltPos LastPos
Field Value
- AttachableClosedBolt.BoltPos
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_SafetyLock
public Transform Point_Bolt_SafetyLock
Field Value
- Transform
RotatingPart
public Transform RotatingPart
Field Value
- Transform
RotatingPartLeftEulers
public Vector3 RotatingPartLeftEulers
Field Value
- Vector3
RotatingPartNeutralEulers
public Vector3 RotatingPartNeutralEulers
Field Value
- Vector3
RotatingPartRightEulers
public Vector3 RotatingPartRightEulers
Field Value
- Vector3
Speed_Forward
public float Speed_Forward
Field Value
- float
Speed_Held
Field Value
- float
Speed_Rearward
public float Speed_Rearward
Field Value
- float
SpringStiffness
public float SpringStiffness
Field Value
- float
UsesAKSafetyLock
public bool UsesAKSafetyLock
Field Value
- bool
Weapon
public AttachableClosedBoltWeapon Weapon
Field Value
- AttachableClosedBoltWeapon
ZAngles
Field Value
- Vector2
ZRotCurve
public AnimationCurve ZRotCurve
Field Value
- AnimationCurve
ZRotPiece
public Transform ZRotPiece
Field Value
- Transform
ZRotPieceDips
public bool ZRotPieceDips
Field Value
- bool
ZRotPieceLags
public bool ZRotPieceLags
Field Value
- bool
ZScaleCurve
public AnimationCurve ZScaleCurve
Field Value
- AnimationCurve
ZScalePiece
public Transform ZScalePiece
Field Value
- Transform
Methods
Awake()
protected override void Awake()
EndInteraction(FVRViveHand)
public override void EndInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand
GetBoltLerpBetweenLockAndFore()
public float GetBoltLerpBetweenLockAndFore()
Returns
- float
GetBoltLerpBetweenRearAndFore()
public float GetBoltLerpBetweenRearAndFore()
Returns
- float
ImpartFiringImpulse()
public void ImpartFiringImpulse()
IsBoltForwardOfSafetyLock()
public bool IsBoltForwardOfSafetyLock()
Returns
- bool
IsBoltLocked()
public bool IsBoltLocked()
Returns
- bool
LockBolt()
ReleaseBolt()
public void ReleaseBolt()
UpdateBolt()
UpdateHandleHeldState(bool, float)
public void UpdateHandleHeldState(bool state, float lerp)
Parameters
state
bool
lerp
float
UpdateInteraction(FVRViveHand)
public override void UpdateInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand