Table of Contents

Class ClosedBolt

Namespace
FistVR
Assembly
Assembly-CSharp.dll
public class ClosedBolt : FVRInteractiveObject
Inheritance
ClosedBolt
Inherited Members

Constructors

ClosedBolt()

public ClosedBolt()

Fields

Barrel

public Transform Barrel

Field Value

Transform

BarrelForward

public Vector3 BarrelForward

Field Value

Vector3

BarrelRearward

public Vector3 BarrelRearward

Field Value

Vector3

CurPos

public ClosedBolt.BoltPos CurPos

Field Value

ClosedBolt.BoltPos

DipMagnitude

public float DipMagnitude

Field Value

float

DoesClipHoldBoltOpen

public bool DoesClipHoldBoltOpen

Field Value

bool

Hammer

public Transform Hammer

Field Value

Transform

HammerForward

public Vector3 HammerForward

Field Value

Vector3

HammerRearward

public Vector3 HammerRearward

Field Value

Vector3

HasBoltCatchReleaseButton

public bool HasBoltCatchReleaseButton

Field Value

bool

HasHammer

public 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

public bool HasZRotPart

Field Value

bool

HasZScalePart

public bool HasZScalePart

Field Value

bool

LagMagnitude

public float LagMagnitude

Field Value

float

LastPos

public ClosedBolt.BoltPos LastPos

Field Value

ClosedBolt.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

public 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 ClosedBoltWeapon Weapon

Field Value

ClosedBoltWeapon

ZAngles

public Vector2 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()

public void LockBolt()

ReleaseBolt()

public void ReleaseBolt()

UpdateBolt()

public void 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