top of page

VR Lever Slide

This is a physic lever class which can slide. Player can interact with it.

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

Include:

Тип:

Строки кода:

AVR_LeverSlide

#include "VR/VR_Actors/VR_LeverSlide.h"

Interactable Actor

148

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

Description

VR Lever Slide class is a lever which player can rotate. The class uses Physics Constraint Component to achieve physics interactions.(See VR Lever Base for a base set up).


VR Lever Slide class is a lever which player can rotate. The class uses Physics Constraint Component to achieve physics interactions.(See VR Lever Base for base set up).
VR Lever Slide Demo Example

Settings

  • Slide Limit - This is a float variable which is the maximum distance lever can move.

  • Slide Direction - This is a vector variable which represents the direction in which lever will be able to move(To inverse the direction use -1 value).

Slide Limit - This is a float variable which is the maximum distance lever can move.  Slide Direction - This is a vector variable which represents the direction in which lever will be able to move(To inverse the direction use -1 value).
Settings

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

Protected Member Functions

Is Turned On
  Returns true if reached maximum of slide Limit.

Output
  bool bIsTurnedOn

Protected Attributes

float 	SlideLimit
 

FVector 	SlideDirection

bottom of page