VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Public Member Functions | Public Attributes | List of all members
AVR.Motion.AVR_MovementRestrictor Class Reference

When using a MovementProvider, this scriptable object allows you to set rules for which surfaces qualify as valid teleport locations and which dont. More...

Inheritance diagram for AVR.Motion.AVR_MovementRestrictor:

Public Member Functions

bool isValidTpLocation (RaycastHit loc)
 

Public Attributes

bool limitTPLocation_byTag = false
 
string validTPTag
 
bool limitTPLocation_byLayer = false
 
LayerMask validTPLayers
 
bool limitTPLocation_bySlope = false
 
float validTPmaxSlope
 

Detailed Description

When using a MovementProvider, this scriptable object allows you to set rules for which surfaces qualify as valid teleport locations and which dont.

Definition at line 15 of file AVR_MovementRestrictor.cs.