Definition at line 35 of file AVR_MovementRestrictor.cs. 37 if (limitTPLocation_bySlope && Vector3.Angle(Vector3.up, loc.normal) > validTPmaxSlope) return false;
39 if (limitTPLocation_byLayer && (validTPLayers & 1 << loc.collider.gameObject.layer) < 1) return false;
float validTPmaxSlope Definition: AVR_MovementRestrictor.cs:33 bool limitTPLocation_byTag Definition: AVR_MovementRestrictor.cs:18 bool limitTPLocation_bySlope Definition: AVR_MovementRestrictor.cs:30 string validTPTag Definition: AVR_MovementRestrictor.cs:21 bool limitTPLocation_byLayer Definition: AVR_MovementRestrictor.cs:24 LayerMask validTPLayers Definition: AVR_MovementRestrictor.cs:27 |