|
Head Mounted VR 3.0
|
This is a simple physic valve class which can interact with players hands. More...
#include <VR_Valve.h>
Inheritance diagram for AVR_Valve:Additional Inherited Members | |
Public Member Functions inherited from AVR_LeverRotatable | |
| AVR_LeverRotatable () | |
| virtual void | Tick (float DeltaTime) override |
Public Member Functions inherited from AVR_LeverBase | |
| AVR_LeverBase () | |
| virtual void | SetParent (AStaticMeshActor *ParentActor) |
| Sets door Parent(Door Frame or smth like that) | |
| FORCEINLINE class UStaticMeshComponent * | GetMesh () const |
| Get Pickup Mesh. | |
| void | UpdateReturnForce (float Force, float Velocity, float Max_Force) |
| This function allows us to change ReturnForce,VelocityStrength,MaxForce variables. You can play with parametrs if you want lever to get back to it's previos position. | |
Public Member Functions inherited from AVR_Actor | |
| AVR_Actor () | |
| virtual bool | IsColliding_Implementation () |
| void | OnHitCheckColliding (UPrimitiveComponent *HitComponent, AActor *OtherActor, UPrimitiveComponent *OtherComp, FVector normalImpulse, const FHitResult &Hit) |
Public Member Functions inherited from IVR_InteractionInterface | |
| bool | IsGrabbed () |
| bool | CanPullGrab () |
| void | Grab (class UVR_HandComponent *MotionController, bool &HandleStatus, bool bFroceAttachHandle) |
| Used for interaction with objects such as door. | |
| bool | IsColliding () |
| void | Drop (class UVR_HandComponent *MotionController) |
| Stop object interaction. | |
| void | Shoot () |
| bool | IsHeldBy (class UVR_HandComponent *MotionController) |
| Indetify if object is held by MotionController. | |
| bool | CanNonVRInteract () |
| bool | ForceCheckForGrabComponents () |
| void | NonVRInteraction (AVR_Player *Player) |
| bool | IsNonVRInteractTillStop () |
| void | Stop_NonVRInteraction (AVR_Player *Player) |
| Stop object interaction. | |
Protected Member Functions inherited from AVR_LeverRotatable | |
| virtual void | BeginPlay () override |
| FORCEINLINE bool | IsTurnedOn () const |
| Returnes true if reached maximum of RotationLimit. | |
| FORCEINLINE float | GetCurrentAngle () const |
| Returnes current rotation angle of lever. | |
Protected Member Functions inherited from AVR_LeverBase | |
Protected Member Functions inherited from AVR_Actor | |
Protected Attributes inherited from AVR_LeverRotatable | |
| float | RotationLimit |
| EAxies | RotationAxies |
| bool | bInverse |
| float | OnLimit |
| float | OffLimit |
Protected Attributes inherited from AVR_LeverBase | |
| class USceneComponent * | RootScene |
| class UStaticMeshComponent * | Body_Mesh |
| class UVR_GrabComponent * | GrabComponent |
| class UPhysicsConstraintComponent * | Body_PhysicsConstraint |
| class AStaticMeshActor * | Parent_Actor |
| float | ReturnForce |
| float | VelocityStrength |
| float | MaxForce |
Protected Attributes inherited from AVR_Actor | |
| bool | bIsColliding = false |
This is a simple physic valve class which can interact with players hands.