VR Interaction Framework v2.0
Loading...
Searching...
No Matches
BNG.PlayerClimbing Class Reference
Inheritance diagram for BNG.PlayerClimbing:

Public Member Functions

void Start ()
 
void LateUpdate ()
 
virtual void AddClimber (Climbable climbable, Grabber grab)
 
virtual void RemoveClimber (Grabber grab)
 
virtual bool GrippingAtLeastOneClimbable ()
 

Public Attributes

Transform LeftControllerTransform
 
Transform RightControllerTransform
 
float ClimbingCapsuleHeight = 0.5f
 
float ClimbingCapsuleCenter = -0.25f
 
bool ApplyHapticsOnGrab = true
 
float VibrateFrequency = 0.3f
 
float VibrateAmplitude = 0.1f
 
float VibrateDuration = 0.1f
 
bool GrippingClimbable = false
 Whether or not we are currently holding on to something climbable with 1 or more grabbers.
 

Protected Member Functions

virtual void checkClimbing ()
 

Properties

bool IsRigidbodyPlayer [get]
 

Member Function Documentation

◆ AddClimber()

virtual void BNG.PlayerClimbing.AddClimber ( Climbable  climbable,
Grabber  grab 
)
virtual

◆ checkClimbing()

virtual void BNG.PlayerClimbing.checkClimbing ( )
protectedvirtual

◆ GrippingAtLeastOneClimbable()

virtual bool BNG.PlayerClimbing.GrippingAtLeastOneClimbable ( )
virtual

◆ LateUpdate()

void BNG.PlayerClimbing.LateUpdate ( )

◆ RemoveClimber()

virtual void BNG.PlayerClimbing.RemoveClimber ( Grabber  grab)
virtual

◆ Start()

void BNG.PlayerClimbing.Start ( )

Member Data Documentation

◆ ApplyHapticsOnGrab

bool BNG.PlayerClimbing.ApplyHapticsOnGrab = true

◆ ClimbingCapsuleCenter

float BNG.PlayerClimbing.ClimbingCapsuleCenter = -0.25f

◆ ClimbingCapsuleHeight

float BNG.PlayerClimbing.ClimbingCapsuleHeight = 0.5f

◆ GrippingClimbable

bool BNG.PlayerClimbing.GrippingClimbable = false

Whether or not we are currently holding on to something climbable with 1 or more grabbers.

◆ LeftControllerTransform

Transform BNG.PlayerClimbing.LeftControllerTransform

◆ RightControllerTransform

Transform BNG.PlayerClimbing.RightControllerTransform

◆ VibrateAmplitude

float BNG.PlayerClimbing.VibrateAmplitude = 0.1f

◆ VibrateDuration

float BNG.PlayerClimbing.VibrateDuration = 0.1f

◆ VibrateFrequency

float BNG.PlayerClimbing.VibrateFrequency = 0.3f

Property Documentation

◆ IsRigidbodyPlayer

bool BNG.PlayerClimbing.IsRigidbodyPlayer
get

The documentation for this class was generated from the following file: