top of page

VR Drawer

Drawer with which player can interact.

Название класса:

Include:

Тип:

Строки кода:

AVR_Drawer

#include "VR/VR_Actors/VR_Drawer.h"

Interactable Actor

479

Общая информация

Description

VR Drawer class is a drawer with which player can interact.This actor is using VR Grab Component(See VR Grab Component). The class uses Physics Constraint Component to achieve physics interactions.


Components



Settings

  • Slide Limit - This is a float variable which represents the maximum distance on which drawer can slide.

  • Start Auto Close - This is a bool variable which represents whether or not the drawer can auto close itself.

  • Start Auto Close - This is a bool variable which represents whether or not the drawer has handle.

  • FDirection - This is a vector variable which represents the side on which drawer should slide(from -1 means opposite direction).

  • Parent Actor - This is a actor variable which indicates the parent actor to connect.

  • Interaction Animation - This is a animation variable.

  • Actors To Ignore - This is a array of actor to ignore while moving.



Справочник API Blueprint

Public Member Functions

 

Set Auto Close
  Sets auto close door status

Input
  bool auto_close
 

Get Lenght Limit

Output
  float slide_Limit
 

Set Length Limit

Input
  float Length
 

Add Actor To Ignore
  Adds actors to ingnore to the list.

Input
  AStaticMeshActor* ActorToIgnore
 

Clear Actors To Ignore
 

Set Parent
  Sets drawer Parent.

Input
  AStaticMeshActor* ParentActor
 

Public Attributes

 

class USceneComponent * 	RootScene
 
 

class UStaticMeshComponent * 	Drawer_Body
 
 

class UPhysicsConstraintComponent * 	PhysicsConstraint
 
 

class UBoxComponent * 	Handle_Box
 

bottom of page