VR Interaction Framework  1.0
A vr framework for the Oculus Quest
BNG.BNGPlayerController Class Reference

The BNGPlayerController handles basic player movement and climbing. More...

Inheritance diagram for BNG.BNGPlayerController:

Public Member Functions

void ChangeLocomotionType (LocomotionType loc)
 
void ToggleLocomotionType ()
 
void ToggleGravity (bool gravityOn)
 
void AddClimber (Climbable climbable, Grabber grab)
 
void RemoveClimber (Grabber grab)
 

Public Attributes

bool GrippingClimbable = false
 
float RelativeForce = 20
 
float MoveSpeed = 7
 
float Gravity = 7f
 
bool ApplyGravity = true
 

Properties

LocomotionType SelectedLocomotion [get]
 

Detailed Description

The BNGPlayerController handles basic player movement and climbing.

Member Function Documentation

◆ AddClimber()

void BNG.BNGPlayerController.AddClimber ( Climbable  climbable,
Grabber  grab 
)

◆ ChangeLocomotionType()

void BNG.BNGPlayerController.ChangeLocomotionType ( LocomotionType  loc)

◆ RemoveClimber()

void BNG.BNGPlayerController.RemoveClimber ( Grabber  grab)

◆ ToggleGravity()

void BNG.BNGPlayerController.ToggleGravity ( bool  gravityOn)

◆ ToggleLocomotionType()

void BNG.BNGPlayerController.ToggleLocomotionType ( )

Member Data Documentation

◆ ApplyGravity

bool BNG.BNGPlayerController.ApplyGravity = true

◆ Gravity

float BNG.BNGPlayerController.Gravity = 7f

◆ GrippingClimbable

bool BNG.BNGPlayerController.GrippingClimbable = false

◆ MoveSpeed

float BNG.BNGPlayerController.MoveSpeed = 7

◆ RelativeForce

float BNG.BNGPlayerController.RelativeForce = 20

Property Documentation

◆ SelectedLocomotion

LocomotionType BNG.BNGPlayerController.SelectedLocomotion
get

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