Class TestLocoController
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class TestLocoController : MonoBehaviour
- Inheritance
-
TestLocoController
Constructors
TestLocoController()
public TestLocoController()
Fields
FauxForce
public Transform FauxForce
Field Value
- Transform
HLeft
public TestLocoHandleTest HLeft
Field Value
- TestLocoHandleTest
HRight
public TestLocoHandleTest HRight
Field Value
- TestLocoHandleTest
Field Value
- Transform
RB
Field Value
- Rigidbody
ReferenceFrame
public Transform ReferenceFrame
Field Value
- Transform
Root
Field Value
- Transform
Methods
ControlTick()
public void ControlTick()
ExitControl()
public void ExitControl()
GetCurrentWorldForward()
public Vector3 GetCurrentWorldForward()
Returns
- Vector3
GetCurrentWorldPosition()
public Vector3 GetCurrentWorldPosition()
Returns
- Vector3
InitiateControl()
public void InitiateControl()
SetBrake(float)
public void SetBrake(float b)
Parameters
b
float
SetThrottle(float)
public void SetThrottle(float t)
Parameters
t
float
TickForceApplicationAndRotation()
public void TickForceApplicationAndRotation()